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

# Get an answer

> One answer with its text, its citations and the searches the platform ran.



## OpenAPI

````yaml /rest-api/openapi.json get /v1/projects/{project_id}/answers/{answer_id}
openapi: 3.1.0
info:
  title: FullReach AI API
  summary: Read what a FullReach AI project measures.
  description: >-
    Preview: the contract can still change, with a notice in the changelog. Send
    an API key as `Authorization: Bearer fr_...`. A client must ignore a field
    or a value that it does not know. Every endpoint takes `GET` alone, and
    refuses a parameter that it does not know. A domain is lower case, and a
    non-Latin name is in its IDNA form (`xn--`).
  version: 1.0.0-preview
servers:
  - url: https://api.fullreach.ai
security:
  - apiKey: []
paths:
  /v1/projects/{project_id}/answers/{answer_id}:
    get:
      tags:
        - Answers
      summary: Get an answer
      description: >-
        One answer with its text, its citations and the searches the platform
        ran.
      operationId: answer
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Project Id
        - name: answer_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Answer Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnswerDetail'
        '400':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Bad Request
        '401':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Unauthorized
        '403':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Forbidden
        '404':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Not Found
        '413':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Content Too Large
        '422':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Unprocessable Content
        '429':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Too Many Requests
        '503':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Service Unavailable
components:
  schemas:
    AnswerDetail:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        date:
          type: string
          format: date
          title: Date
          description: The UTC day the answer was collected.
        asked_at:
          type: string
          format: date-time
          title: Asked At
        platform:
          $ref: '#/components/schemas/Platform'
        market:
          type: string
          title: Market
        prompt_id:
          type: string
          format: uuid
          title: Prompt Id
        wording_id:
          type: string
          format: uuid
          title: Wording Id
          description: The wording that was asked. See the prompt's `wordings`.
        status:
          type: string
          enum:
            - answered
            - not_shown
          title: Status
          description: '`not_shown`: the platform showed no AI answer for the prompt.'
        mentions:
          items:
            $ref: '#/components/schemas/Mention'
          type: array
          title: Mentions
          description: The brands the answer names, first named first.
        text:
          type: string
          title: Text
          description: The answer as the platform gave it. Third-party text.
        model:
          anyOf:
            - type: string
            - type: 'null'
          title: Model
          description: The model the platform reported, if it reported one.
        web_search:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Web Search
          description: >-
            Whether the platform searched the web. Null: the platform does not
            say.
        searches:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Searches
          description: >-
            The searches the platform ran. Null: the platform does not report
            them.
        citations:
          items:
            $ref: '#/components/schemas/Citation'
          type: array
          title: Citations
          description: The pages the answer cites. Third-party text.
      type: object
      required:
        - id
        - date
        - asked_at
        - platform
        - market
        - prompt_id
        - wording_id
        - status
        - mentions
        - text
        - model
        - web_search
        - searches
        - citations
      title: AnswerDetail
    ProblemBody:
      properties:
        type:
          type: string
          title: Type
        title:
          type: string
          title: Title
        status:
          type: integer
          title: Status
        code:
          type: string
          title: Code
          description: Stable. Branch on this, never on `detail`.
        detail:
          type: string
          title: Detail
        request_id:
          type: string
          title: Request Id
        field:
          anyOf:
            - type: string
            - type: 'null'
          title: Field
          description: The parameter that the refusal is about.
      type: object
      required:
        - type
        - title
        - status
        - code
        - detail
        - request_id
      title: ProblemBody
    Platform:
      properties:
        id:
          type: string
          title: Id
          description: A stable id, such as `chatgpt`. Store this.
          examples:
            - chatgpt
        name:
          type: string
          title: Name
          description: The product name, which can change.
          examples:
            - ChatGPT
      type: object
      required:
        - id
        - name
      title: Platform
    Mention:
      properties:
        brand_id:
          type: string
          format: uuid
          title: Brand Id
        position:
          anyOf:
            - type: integer
            - type: 'null'
          title: Position
          description: >-
            1 for the brand the answer names first. Null where the answer names
            the brand at no known place.
        sentiment:
          anyOf:
            - type: string
              enum:
                - positive
                - neutral
                - negative
            - type: 'null'
          title: Sentiment
          description: Null when it was not classified.
      type: object
      required:
        - brand_id
        - position
        - sentiment
      title: Mention
    Citation:
      properties:
        url:
          type: string
          title: Url
        domain:
          type: string
          title: Domain
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        position:
          anyOf:
            - type: integer
            - type: 'null'
          title: Position
      type: object
      required:
        - url
        - domain
        - title
        - position
      title: Citation
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: fr_...

````

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