ThunderPhone Validation Examples API

The validation-examples API from ThunderPhone — 4 operation(s) for validation-examples.

GitHub OpenAPI

Operations 6

GET /v1/validation-examples Validation examples list #
GET /v1/validation-examples/{example_id} Validation examples retrieve #
PATCH /v1/validation-examples/{example_id} Validation examples partial update #
DELETE /v1/validation-examples/{example_id} Validation examples delete #
GET /v1/validation-examples/{example_id}/audio/{span_index} Validation examples audio retrieve #
POST /v1/validation-examples/{example_id}/replay Validation examples replay #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/thunderphone-com:thunderphone-com-validation-examples-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

thunderphone-com-validation-examples-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThunderPhone Validation Examples API
  version: 1.0.0
  description: Programmatic access to the ThunderPhone platform — agents, phone numbers, calls, billing, webhooks, and more. See https://thunderphone.com/docs and https://thunderphone.com/developers for the reference, tutorials and migration guides.
  contact:
    name: ThunderPhone support
    url: https://thunderphone.com/docs
servers:
- url: https://api.thunderphone.com
  description: Production
tags:
- name: validation-examples
paths:
  /v1/validation-examples:
    get:
      operationId: validation_examples_list
      description: Retrieve validation examples. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      tags:
      - validation-examples
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationValidationExamples'
          description: ''
      summary: Validation examples list
      x-summary-source: derived
  /v1/validation-examples/{example_id}:
    get:
      operationId: validation_examples_retrieve
      description: Retrieve validation examples. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: example_id
        schema:
          type: integer
        required: true
      tags:
      - validation-examples
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationExample'
          description: ''
      summary: Validation examples retrieve
      x-summary-source: derived
    patch:
      operationId: validation_examples_partial_update
      description: Update validation examples. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: example_id
        schema:
          type: integer
        required: true
      tags:
      - validation-examples
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedValidationExampleUpdateRequest'
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationExample'
          description: ''
      summary: Validation examples partial update
      x-summary-source: derived
    delete:
      operationId: validation_examples_delete
      description: Delete validation examples. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: example_id
        schema:
          type: integer
        required: true
      tags:
      - validation-examples
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '204':
          description: No response body
      summary: Validation examples delete
      x-summary-source: derived
  /v1/validation-examples/{example_id}/audio/{span_index}:
    get:
      operationId: validation_examples_audio_retrieve
      description: Retrieve validation examples / audio. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: example_id
        schema:
          type: integer
        required: true
      - in: path
        name: span_index
        schema:
          type: integer
        required: true
      tags:
      - validation-examples
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
          description: ''
      summary: Validation examples audio retrieve
      x-summary-source: derived
  /v1/validation-examples/{example_id}/replay:
    post:
      operationId: validation_examples_replay
      description: Create or run validation examples / replay. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: example_id
        schema:
          type: integer
        required: true
      tags:
      - validation-examples
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationReplayResult'
          description: ''
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
      summary: Validation examples replay
      x-summary-source: derived
components:
  schemas:
    OrganizationValidationExamples:
      type: object
      properties:
        examples:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExample'
      required:
      - examples
    PatchedValidationExampleUpdateRequest:
      type: object
      properties:
        expectation:
          type: string
        accepted_responses:
          type: array
          items:
            type: object
            additionalProperties: {}
        labels:
          type: array
          items:
            type: string
            minLength: 1
        kind:
          $ref: '#/components/schemas/KindC85Enum'
        status:
          $ref: '#/components/schemas/ValidationExampleUpdateStatusEnum'
    ValidationReplayResult:
      type: object
      properties:
        replayed_output:
          type: object
          additionalProperties: {}
        replay_metadata:
          type: object
          additionalProperties: {}
        raw_prompt_hash:
          type: string
        cached:
          type: boolean
        replay_cache_key:
          type: string
      required:
      - cached
      - raw_prompt_hash
      - replay_cache_key
      - replay_metadata
      - replayed_output
    ValidationExample:
      type: object
      properties:
        id:
          type: integer
        agent_id:
          type: integer
        kind:
          type: string
        status:
          type: string
        labels:
          type: array
          items:
            type: string
        expectation:
          type: string
        accepted_responses:
          type: array
          items:
            type: object
            additionalProperties: {}
        original_response:
          type: object
          additionalProperties: {}
        target_turn_index:
          type: integer
        source_call_id:
          type:
          - integer
          - 'null'
        source_issue_id:
          type:
          - integer
          - 'null'
        prompt_hash:
          type: string
        is_stale_prompt:
          type: boolean
        audio_span_indices:
          type: array
          items:
            type: integer
        expectation_proposal_error:
          type:
          - string
          - 'null'
        last_verdict:
          type:
          - string
          - 'null'
        last_run_id:
          type:
          - integer
          - 'null'
        last_reply:
          type:
          - string
          - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        context:
          type: array
          items:
            type: object
            additionalProperties: {}
      required:
      - accepted_responses
      - agent_id
      - audio_span_indices
      - created_at
      - expectation
      - expectation_proposal_error
      - id
      - is_stale_prompt
      - kind
      - labels
      - last_reply
      - last_run_id
      - last_verdict
      - original_response
      - prompt_hash
      - source_call_id
      - source_issue_id
      - status
      - target_turn_index
      - updated_at
    ValidationExampleUpdateStatusEnum:
      enum:
      - pending_review
      - active
      - archived
      type: string
      description: '* `pending_review` - pending_review

        * `active` - active

        * `archived` - archived'
    KindC85Enum:
      enum:
      - failure
      - golden
      - manual
      type: string
      description: '* `failure` - failure

        * `golden` - golden

        * `manual` - manual'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_live_…
      description: 'Organization API key. Send Authorization: Bearer sk_live_…; create a key in the dashboard.'
    humanToken:
      type: apiKey
      in: header
      name: Authorization
      description: 'Human session token: Authorization: Token <session-token>. Organization API keys are rejected by key-management and account-control operations.'
x-mcp-server: https://api.thunderphone.com/v1/mcp