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

# Get one run

> One collected answer and the question it answered. The answer text only with include=answer.



## OpenAPI

````yaml /api-reference/openapi.json get /runs/{runId}
openapi: 3.1.0
info:
  title: Citino API
  version: v1
  description: >-
    Read how AI engines answer your market's questions, and keep your prompts,
    competitors, segments and engines in step from code. Every number carries
    its band and sample size.
servers:
  - url: https://api.citino.ai/v1
security:
  - bearerAuth: []
tags:
  - name: Brand and competitors
  - name: Definitions
  - name: Engines
  - name: Projects
  - name: Alerts
  - name: Attribution
  - name: Claims
  - name: Crawlability
  - name: Crawler activity
  - name: Metrics
  - name: Experiments
  - name: Prompts
  - name: Objections
  - name: Monthly reports
  - name: Reports
  - name: Runs
  - name: Searches
  - name: Sources
  - name: Work items
  - name: Settings
paths:
  /runs/{runId}:
    get:
      tags:
        - Runs
      summary: Get one run
      description: >-
        One collected answer and the question it answered. The answer text only
        with include=answer.
      operationId: getRunsByRunId
      parameters:
        - name: runId
          in: path
          required: true
          schema:
            type: string
        - name: include
          in: query
          required: false
          schema:
            type: string
            enum:
              - answer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  run_id:
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  run_date:
                    type: string
                    pattern: ^\d{4}-\d{2}-\d{2}$
                  prompt_id:
                    type: string
                  engine:
                    type: string
                  engine_version:
                    type: string
                  locale:
                    type: string
                  web_search:
                    type: boolean
                  status:
                    type: string
                    description: ok, refused, error or timeout.
                  scope:
                    type: string
                  run_at:
                    type: string
                  latency_ms:
                    anyOf:
                      - type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      - type: 'null'
                  cost_usd:
                    description: A decimal string, six places.
                    type:
                      - string
                      - 'null'
                  category_id:
                    type: string
                    description: The id of the prompt set it was asked in.
                  project_id:
                    anyOf:
                      - type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                      - type: 'null'
                  raw_ref:
                    type: string
                  answer:
                    description: Null unless include=answer, or when the engine gave none.
                    type:
                      - string
                      - 'null'
                  prompt_text:
                    type: string
                required:
                  - run_id
                  - run_date
                  - prompt_id
                  - engine
                  - engine_version
                  - locale
                  - web_search
                  - status
                  - scope
                  - run_at
                  - latency_ms
                  - cost_usd
                  - category_id
                  - project_id
                  - raw_ref
                  - answer
                  - prompt_text
                additionalProperties: false
              example:
                run_id: 00000000-0000-4000-8000-000000000001
                run_date: '2026-11-06'
                prompt_id: p_acme_001
                category_id: 3pl-fulfillment-software/us
                project_id: null
                engine: chatgpt
                engine_version: v1
                locale: en-US
                web_search: true
                status: ok
                scope: category
                run_at: '2026-11-07T09:00:00.000Z'
                latency_ms: 900
                cost_usd: '0.010000'
                raw_ref: archive-reference
                answer: null
                prompt_text: best 3PL software for a growing ecommerce brand
        '400':
          description: The request is invalid; `error.field` names the parameter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: 'No live API key in an `Authorization: Bearer` header.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The key lacks the scope named in the message, or cannot write.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such resource in this key's projects.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Over the key's or the workspace's rate limit; see `Retry-After`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Busy or timed out; retry after `Retry-After`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-codeSamples:
        - lang: bash
          label: curl
          source: |-
            curl "https://api.citino.ai/v1/runs/{runId}" \
              -H "Authorization: Bearer $CITINO_API_KEY"
        - lang: python
          label: Python
          source: |-
            import os
            import requests

            res = requests.get(
                "https://api.citino.ai/v1/runs/{runId}",
                headers={"Authorization": f"Bearer {os.environ['CITINO_API_KEY']}"},
            )
            print(res.json())
        - lang: javascript
          label: JavaScript
          source: |-
            const res = await fetch("https://api.citino.ai/v1/runs/{runId}", {
              headers: {
                Authorization: `Bearer ${process.env.CITINO_API_KEY}`,
              },
            });
            console.log(await res.json());
components:
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: >-
                validation, unauthorized, forbidden, not_found, conflict,
                plan_limit, rate_limited, busy, query_timeout
            message:
              type: string
            field:
              type: string
            detail:
              type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An API key from Workspace settings → API keys, sent as `Authorization:
        Bearer <key>`.

````

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