> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usequotable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Change a fact

> Rewords a fact (the value checks use is read from the new wording) and/or switches it on or off. Switching on counts against the plan's active facts.



## OpenAPI

````yaml /openapi.json patch /projects/{project_id}/facts/{fact_id}
openapi: 3.1.0
info:
  title: Quotable API
  version: '2026-09-18'
  summary: Read your AI visibility, content and demand data; manage your facts.
  description: >-
    Read-only in v1, except the facts routes (scope write:facts). Authenticate
    with an API key from Settings > API keys as `Authorization: Bearer
    quotable_live_…`. Every list is cursor-paginated; every error is an RFC 9457
    problem. Guides, versioning and deprecation policy:
    https://docs.usequotable.com/api-reference/introduction
servers:
  - url: https://app.usequotable.com/api/v1
security: []
tags:
  - name: Keys
    description: The calling key
  - name: Projects
    description: Brands
  - name: Visibility
    description: Prompts, scores and citations
  - name: Content
    description: Articles
  - name: Demand
    description: Demand terms
  - name: Facts
    description: Facts and fact-check verdicts
  - name: Reporting
    description: Flat rows for Looker Studio and other BI tools
paths:
  /projects/{project_id}/facts/{fact_id}:
    patch:
      tags:
        - Facts
      summary: Change a fact
      description: >-
        Rewords a fact (the value checks use is read from the new wording)
        and/or switches it on or off. Switching on counts against the plan's
        active facts.
      operationId: updateFact
      parameters:
        - name: project_id
          in: path
          required: true
          description: The brand's id
          schema:
            type: string
            format: uuid
        - name: fact_id
          in: path
          required: true
          description: The fact's id
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                statement:
                  description: The new wording; the value checks use is read from it again
                  type: string
                  minLength: 3
                  maxLength: 500
                active:
                  description: Switch the fact on or off
                  type: boolean
              additionalProperties: false
              description: What to change on a fact
      responses:
        '200':
          description: OK
          headers:
            X-RateLimit-Limit:
              description: Requests allowed per window for this key
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests left in the current window
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Seconds until the window rolls
              schema:
                type: integer
            X-Request-Id:
              description: Correlation id to quote to support
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Fact'
        '400':
          description: >-
            Invalid parameter. A query or path parameter failed validation. The
            `errors` member lists each parameter and what was wrong with it.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: >-
            Unauthorized. No API key was presented, or the key is malformed,
            unknown, revoked or expired. Send `Authorization: Bearer
            quotable_live_…`.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '402':
          description: >-
            Plan limit reached. The change would pass a limit of the workspace's
            plan, such as its active facts per brand. Nothing was changed.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: >-
            Insufficient scope. The key is valid but was not granted the scope
            this endpoint requires. The `scope` member names it.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: >-
            Not found. No such resource in this workspace, or the key's project
            allowlist does not include it. Both read the same on purpose: ids
            are not enumerable.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: >-
            Conflict. The change conflicts with what is stored: a fact that is
            already in the list, or an idempotency key used for another request.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: >-
            Rate limited. The key exhausted its request allowance for the
            current window. Wait `Retry-After` seconds; the `X-RateLimit-*`
            headers describe the window.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: >-
            Internal error. Something failed on our side. The `instance` member
            is the request id to quote to support.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      security:
        - apiKey:
            - write:facts
components:
  schemas:
    Fact:
      type: object
      properties:
        id:
          type: string
          format: uuid
        statement:
          type: string
          description: One sentence that is either true or false
        attribute:
          type: string
          description: 'What it is about: price, plan, feature, integration, …'
        status:
          type: string
          enum:
            - approved
            - suggested
            - archived
            - rejected
          description: >-
            approved facts are the ones claims are checked against (when
            active); suggestions wait for review; archived ones were removed
        active:
          type: boolean
          description: >-
            Switched on: an approved, active fact is used to check claims; an
            inactive one stays listed but is not
        origin:
          type: string
          enum:
            - manual
            - suggested_ai
            - imported
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - id
        - statement
        - attribute
        - status
        - active
        - origin
        - created_at
        - updated_at
      additionalProperties: false
      description: A fact about the brand
    Problem:
      type: object
      properties:
        type:
          type: string
          description: A URI that resolves to the problem's description
        title:
          type: string
        status:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        detail:
          type: string
        instance:
          description: urn:request:<request id>; the X-Request-Id header
          type: string
      required:
        - type
        - title
        - status
      additionalProperties: {}
      description: RFC 9457 problem details
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: quotable_live_… or quotable_test_…
      description: >-
        An API key. Scopes are granted per key: read:projects, read:visibility,
        read:content, read:demand, read:agents, read:tables, read:facts, and the
        write scopes run:agents and write:facts.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.