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

# Get one case's results

> Every candidate's output, Judge verdicts (effective and the Judge's own), tool-call checks and STT word alignment for one case. Contains call content; the read is logged.



## OpenAPI

````yaml /docs-openapi.json get /v1/benchmarks/{id}/results/{runId}/cases/{caseId}
openapi: 3.1.0
info:
  title: Zelto REST API
  version: v1
  description: >-
    Programmatic access to your Zelto organization. Every endpoint is scoped to
    the organization the API key belongs to. Mint a key at Settings →
    Integrations → API integration.
servers:
  - url: https://api.zelto.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Monitors
    description: Filtered, asynchronous exports of stored monitor results.
  - name: Agents
    description: Voice and text agents normalised through Zelto's ingestion pipeline.
  - name: Conversations
    description: >-
      Phone calls, chats, and voicemails — plus their transcripts and
      recordings.
  - name: Customer Metrics
    description: >-
      Customer-provided evaluations attached to a conversation (requires metrics
      enabled).
  - name: Reviews
    description: Human review state for conversations.
  - name: Buckets
    description: Reviewer routing — group conversations for batched review.
  - name: Companies
    description: Clients or brands your agents work for, and their logos.
  - name: Findings
    description: >-
      Structured issues discovered during analysis, with optional conversation
      attachments and comments.
  - name: Experiments
    description: >-
      Prospective measurement of two externally routed prompt versions across
      independent monitor outcomes.
  - name: Organizations
    description: >-
      Headless org provisioning. Requires an admin/service API key (not a
      read-only org-scoped customer key).
  - name: AI providers
    description: >-
      Your organization's own (bring-your-own) AI provider keys. Monitors can
      run on them instead of Zelto's built-in models. Owner or admin keys only;
      the secret is write-only.
  - name: Benchmarks
    description: >-
      Repeatable evaluations of agent prompts, models and speech-to-text engines
      over a fixed set of cases, scored by Judges.
paths:
  /v1/benchmarks/{id}/results/{runId}/cases/{caseId}:
    get:
      tags:
        - Benchmarks
      summary: Get one case's results
      description: >-
        Every candidate's output, Judge verdicts (effective and the Judge's
        own), tool-call checks and STT word alignment for one case. Contains
        call content; the read is logged.
      operationId: getBenchmarkRunCaseResult
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: runId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: caseId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: layerId
          in: query
          required: false
          description: 'Score layer (a rescore). Default: the original layer.'
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BenchmarkRunCaseDetail'
        '400':
          $ref: '#/components/responses/ValidationFailed'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    BenchmarkRunCaseDetail:
      type: object
      properties:
        runId:
          type: string
        caseId:
          type: string
        caseTitle:
          type: string
        caseType:
          type: string
        caseRevision:
          type:
            - number
            - 'null'
        tags:
          type: array
          items:
            type: string
        checkGroupId:
          type:
            - string
            - 'null'
        judges:
          type: array
          items:
            type: object
            properties:
              judgeId:
                type: string
              label:
                type: string
              required:
                type: boolean
              kind:
                type: string
            required:
              - judgeId
              - label
              - required
              - kind
            additionalProperties: {}
        results:
          type: array
          items:
            $ref: '#/components/schemas/BenchmarkCaseResult'
        cells:
          type: array
          items:
            type: object
            properties:
              cellId:
                type: string
              candidateId:
                type: string
              repeatIndex:
                type: number
              status:
                type: string
              verdicts:
                type: array
                items:
                  type: object
                  properties:
                    judgeId:
                      type: string
                    passed:
                      description: >-
                        Effective verdict: the override if there is one, else
                        the Judge's.
                      type:
                        - boolean
                        - 'null'
                    judgePassed:
                      description: The Judge's own verdict.
                      type:
                        - boolean
                        - 'null'
                    value:
                      type: string
                    reasoning:
                      type:
                        - string
                        - 'null'
                    error:
                      type:
                        - string
                        - 'null'
                    override:
                      anyOf:
                        - type: object
                          properties:
                            passed:
                              type: boolean
                            kind:
                              type: string
                            reason:
                              type:
                                - string
                                - 'null'
                            actorUserId:
                              type:
                                - string
                                - 'null'
                          required:
                            - passed
                            - kind
                            - reason
                            - actorUserId
                          additionalProperties: {}
                        - type: 'null'
                  required:
                    - judgeId
                    - passed
                    - judgePassed
                    - value
                    - reasoning
                    - error
                    - override
                  additionalProperties: {}
              output:
                anyOf:
                  - {}
                  - type: 'null'
              conversation:
                anyOf:
                  - {}
                  - type: 'null'
            required:
              - cellId
              - candidateId
              - repeatIndex
              - status
              - verdicts
              - output
              - conversation
            additionalProperties: {}
      required:
        - runId
        - caseId
        - caseTitle
        - caseType
        - caseRevision
        - tags
        - checkGroupId
        - judges
        - results
        - cells
      additionalProperties: {}
      description: >-
        One case's outputs, verdicts, tool-call checks and STT alignment for
        every candidate. Contains call content.
    BenchmarkCaseResult:
      type: object
      properties:
        caseId:
          type: string
        caseRevision:
          type: number
        candidateId:
          type: string
        caseTitle:
          type: string
        tags:
          type: array
          items:
            type: string
        checkGroupId:
          type:
            - string
            - 'null'
        status:
          type: string
          enum:
            - passed
            - failed
            - errored
            - skipped
            - pending
            - running
        score:
          description: 0..100 (LLM) or WER 0..1 (STT).
          type:
            - number
            - 'null'
        change:
          anyOf:
            - type: string
              enum:
                - fixed
                - regressed
                - unchanged
                - new
            - type: 'null'
        repeats:
          type: number
        passedRepeats:
          type: number
        latencyMs:
          type:
            - number
            - 'null'
        costUsd:
          type:
            - number
            - 'null'
        verdicts:
          type: array
          items:
            type: object
            properties:
              judgeId:
                type: string
              passed:
                description: >-
                  Effective verdict: the override if there is one, else the
                  Judge's.
                type:
                  - boolean
                  - 'null'
              judgePassed:
                description: The Judge's own verdict.
                type:
                  - boolean
                  - 'null'
              value:
                type: string
              reasoning:
                type:
                  - string
                  - 'null'
              error:
                type:
                  - string
                  - 'null'
              override:
                anyOf:
                  - type: object
                    properties:
                      passed:
                        type: boolean
                      kind:
                        type: string
                      reason:
                        type:
                          - string
                          - 'null'
                      actorUserId:
                        type:
                          - string
                          - 'null'
                    required:
                      - passed
                      - kind
                      - reason
                      - actorUserId
                    additionalProperties: {}
                  - type: 'null'
            required:
              - judgeId
              - passed
              - judgePassed
              - value
              - reasoning
              - error
              - override
            additionalProperties: {}
        errorCode:
          description: >-
            Errored rows only: the cell's error code, such as `provider_error`
            or `missing_variable:<name>`.
          type:
            - string
            - 'null'
      required:
        - caseId
        - caseRevision
        - candidateId
        - caseTitle
        - tags
        - checkGroupId
        - status
        - score
        - change
        - repeats
        - passedRepeats
        - latencyMs
        - costUsd
        - verdicts
      additionalProperties: {}
      description: One case × candidate, repeats collapsed to the majority verdict.
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: >-
            Short error name: `Unauthorized`, `Validation failed`, `Not found`,
            or a stable snake_case code you can match on, such as
            `unknown_query_parameter`, `invalid_parameter`, `payload_too_large`
            or `not_found`.
        message:
          type: string
          description: A plain-English sentence saying what is wrong and how to fix it.
        code:
          type: string
          description: >-
            Stable, machine-readable cause; match on this rather than on `error`
            or `message`. On a 401: `missing_credentials`,
            `malformed_credentials`, `ingest_key_not_allowed` (a write-only
            observability ingest key was used on an endpoint that needs an API
            key), `key_expired` or `invalid_credentials`. Elsewhere, for
            example: `not_found`, `invalid_parameter`,
            `unknown_query_parameter`, `missing_parameter`, `validation_failed`,
            `invalid_json`, `payload_too_large`, `conversation_not_found`,
            `plan_required`.
        hint:
          type: string
          description: >-
            The next step to try: where to find the right id, which parameters
            the endpoint takes, how to upgrade the plan, how to authenticate.
        parameter:
          type: string
          description: 'With `invalid_parameter`: the query parameter that was rejected.'
        unknown:
          type: array
          items:
            type: string
          description: >-
            With `unknown_query_parameter`: the parameters that were sent but
            are not accepted here.
        valid:
          type: array
          items:
            type: string
          description: >-
            With `unknown_query_parameter`: the parameters this endpoint
            accepts.
        details:
          type: object
          additionalProperties: true
  responses:
    ValidationFailed:
      description: >-
        The request body or query string failed validation. `code` says which
        kind (`validation_failed`, `invalid_json`, `invalid_parameter`,
        `unknown_query_parameter`, `missing_parameter`), and an enum filter
        names the allowed values in `valid` (every repeated value is checked,
        e.g. `?status=open&status=zz` is a 400). A `validation_failed` body also
        carries `message` (the first failing fields), `hint` (how to fix it, for
        example that a finding `description` is a TipTap JSON document and not a
        string) and `details` (field name to messages).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: >-
        Missing or invalid API key. The body names the cause in `code` (for
        example `ingest_key_not_allowed` when a write-only ingest key is used
        here) with a `message` and `hint`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: >-
        Resource not found in your organization. Also returned when a path id is
        not a UUID, and `{ "error": "not_found" }` for a path this API does not
        have. The body keeps `error: "Not found"` and adds `code: "not_found"`
        and a `hint`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Send `Authorization: Bearer YOUR_API_KEY`. The key resolves to a single
        organization.

````

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