Skip to main content
GET
curl

Authorizations

Authorization
string
header
required

An API key from Workspace settings → API keys, sent as Authorization: Bearer <key>.

Path Parameters

runId
string
required

Query Parameters

include
enum<string>
Available options:
answer

Response

OK

run_id
string<uuid>
required
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
string
required
Pattern: ^\d{4}-\d{2}-\d{2}$
prompt_id
string
required
engine
string
required
engine_version
string
required
locale
string
required
status
string
required

ok, refused, error or timeout.

scope
string
required
run_at
string
required
latency_ms
integer | null
required
Required range: -9007199254740991 <= x <= 9007199254740991
cost_usd
string | null
required

A decimal string, six places.

category_id
string
required

The id of the prompt set it was asked in.

project_id
string<uuid> | null
required
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)$
raw_ref
string
required
answer
string | null
required

Null unless include=answer, or when the engine gave none.

prompt_text
string
required