SaaSFlow
DevelopersAPIReferenceagent_runs

Transcript

Download the full session transcript as JSON Lines: every message and every tool call the agent made, which is the record to read when debugging what an…

Authentication

Checking whether you're signed in…
GET
/companies/{companyId}/agent_runs/{id}/transcript

Authorization

headerAuthorization<token>

A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.

Path Parameters

companyId*string
Length1 <= length
id*string
Length1 <= length

Query Parameters

tailBytes?integer

Return only the last N bytes (aligned to a line start). Use this from tools; full transcripts can be megabytes.

Range0 < value <= 10485760

Response Body

The full session transcript as JSON Lines: every message and tool call of the run.

response?stringapplication/x-ndjson
curl -X GET 'https://api.saasflow.com/companies/string/agent_runs/string/transcript'
"string"