ThunderPhone Replay Runs API
The replay-runs API from ThunderPhone — 1 operation(s) for replay-runs.
The replay-runs API from ThunderPhone — 1 operation(s) for replay-runs.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/thunderphone-com:thunderphone-com-replay-runs-api"
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.
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: 3.2.0
info:
title: ThunderPhone Replay Runs 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: replay-runs
paths:
/v1/replay-runs/{run_id}:
get:
operationId: replay_runs_retrieve
description: Retrieve replay runs. 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: query
name: include_trace
schema:
type: boolean
description: Include Core's full trace for each example, not only its summary.
- in: path
name: run_id
schema:
type: integer
required: true
tags:
- replay-runs
security:
- bearerAuth: []
- bearerAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ReplayRun'
description: ''
summary: Replay runs retrieve
x-summary-source: derived
components:
schemas:
ReplayRunGroupConfig:
type: object
properties:
summary:
$ref: '#/components/schemas/ReplayRunSummary'
run_id:
type: integer
label:
type: string
overrides:
type: object
additionalProperties: {}
variant_id:
type: integer
description: The saved variant this configuration ran (its variant_id); absent when it named none.
variant_label:
type: string
description: That variant's label when the run started.
baseline:
type: boolean
status:
type: string
prompt_revision_id:
type:
- integer
- 'null'
flips:
type: object
additionalProperties: {}
required:
- baseline
- label
- overrides
- prompt_revision_id
- run_id
- status
- summary
ReplayRunSummary:
type: object
properties:
total:
type: integer
replayed:
type: integer
phi_mode:
type:
- string
- 'null'
description: The PHI designation the configuration ran under.
verdicts:
type: object
additionalProperties:
type: integer
pass_rate:
type:
- number
- 'null'
format: double
description: Set when one engine replayed every example; null when exact and text both ran (see by_engine).
budget_exhausted:
type: integer
description: 'Exact replays that needed more than their budget (error_code replay_budget_exhausted): counted apart from the verdicts and outside the pass rate.'
by_engine:
type: object
additionalProperties: {}
description: 'Per engine (exact, text): verdicts, budget_exhausted and pass_rate. Exact and text verdicts are never mixed.'
degraded:
type: boolean
description: An exact replay fell back to text (dev runs only), or nothing could be judged.
failures:
type: object
additionalProperties: {}
engine_fallbacks:
type: integer
latency_to_first_audio_s:
type:
- object
- 'null'
additionalProperties: {}
latency_to_reply_audio_s:
type:
- object
- 'null'
additionalProperties: {}
wait_cover_share:
type: object
additionalProperties: {}
fork_rate:
type:
- number
- 'null'
format: double
cost_cents:
type: number
format: double
cost_per_turn_cents:
type:
- number
- 'null'
format: double
required:
- budget_exhausted
- by_engine
- cost_cents
- cost_per_turn_cents
- degraded
- engine_fallbacks
- failures
- fork_rate
- latency_to_first_audio_s
- latency_to_reply_audio_s
- pass_rate
- replayed
- total
- verdicts
- wait_cover_share
ReplayRun:
type: object
properties:
summary:
$ref: '#/components/schemas/ReplayRunSummary'
id:
type: integer
agent_id:
type: integer
label:
type: string
split:
type: string
description: dev or test.
engine:
type: string
description: auto, exact or text.
config_source:
type: string
config_overrides:
type: object
additionalProperties: {}
variant_id:
type: integer
description: The saved variant this configuration ran (its variant_id); absent when it named none.
variant_label:
type: string
description: That variant's label when the run started.
status:
type: string
description: pending, running, completed or failed.
stale:
type: boolean
description: True while the run's worker has stopped; it resumes within minutes.
degraded:
type: boolean
description: An exact replay fell back to text (dev runs only), or nothing was judged.
stop_reason:
type:
- string
- 'null'
description: 'Why the run stopped early: cost_cap, cost_over_bound, core_limits_unsupported or, for a failed test run, exact_replay_unavailable or core_busy (its cohort unused).'
error_message:
type:
- string
- 'null'
compare_group_id:
type:
- string
- 'null'
baseline_run_id:
type:
- integer
- 'null'
prompt_revision_id:
type:
- integer
- 'null'
prompt_hash:
type: string
sample_seed:
type:
- integer
- 'null'
sample_size:
type: integer
max_cost_cents:
type:
- integer
- 'null'
estimated_cost_cents:
type: number
format: double
cost_cents:
type: number
format: double
test_cohort:
type:
- object
- 'null'
additionalProperties: {}
description: 'A test run''s cohort: its number, and spent once a result disclosed anything. Null on dev.'
created_at:
type:
- string
- 'null'
format: date-time
started_at:
type:
- string
- 'null'
format: date-time
completed_at:
type:
- string
- 'null'
format: date-time
flips:
type: object
additionalProperties: {}
description: Examples fixed and broken against the baseline; dev runs only.
results:
type: array
items:
type: object
additionalProperties: {}
description: 'Per example: verdict, replayed reply, judge verdict, trace summary.'
group:
$ref: '#/components/schemas/ReplayRunGroup'
hidden:
type: boolean
description: 'True for a test-split run read with an API key: totals only.'
hidden_reason:
type: string
required:
- agent_id
- baseline_run_id
- compare_group_id
- completed_at
- config_overrides
- config_source
- cost_cents
- created_at
- engine
- error_message
- estimated_cost_cents
- id
- label
- max_cost_cents
- prompt_hash
- prompt_revision_id
- sample_seed
- sample_size
- split
- started_at
- status
- stop_reason
- summary
ReplayRunGroup:
type: object
properties:
id:
type: string
agent_id:
type: integer
split:
type: string
engine:
type: string
config_source:
type: string
status:
type: string
stop_reason:
type:
- string
- 'null'
sample_seed:
type:
- integer
- 'null'
sample_size:
type: integer
max_cost_cents:
type:
- integer
- 'null'
cost_cents:
type: number
format: double
test_cohort:
type:
- object
- 'null'
additionalProperties: {}
baseline_run_id:
type: integer
configs:
type: array
items:
$ref: '#/components/schemas/ReplayRunGroupConfig'
created_at:
type:
- string
- 'null'
format: date-time
hidden:
type: boolean
hidden_reason:
type: string
required:
- agent_id
- baseline_run_id
- config_source
- configs
- cost_cents
- created_at
- engine
- id
- max_cost_cents
- sample_seed
- sample_size
- split
- status
- stop_reason
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