Skip to Content
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
Formatuuid
id*string
Formatuuid

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
Example Request
curl -X GET 'https://api.saasflow.com/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/agent_runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/transcript'
Example Response
"string"