Skip to content
GET /automation/{id}/run/{runId}/step/{seq}/transcript

Requires use access. Pages the recorded conversation of one agent step. 404 when the step has no transcript or the trace has expired.

Path Parameters

idstring
required·

Resource id

runIdstring
required·

Resource id

seqstring
required·

Step sequence number

Response Body

modelstring

The model ref the step ran on, <provider>:<id>; a bare model id in transcripts recorded before refs.

model_labelstring,null

The display name of that model. Null when the transcript predates it.

next_cursorstring,null
prev_cursorstring,null
resultobject[]
tstring
truncatedboolean
curl -X GET 'https://api.elaichi.ai/automation/<id>/run/<runId>/step/<seq>/transcript' \
  -H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.elaichi.ai/automation/<id>/run/<runId>/step/<seq>/transcript', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import os
import requests

url = "https://api.elaichi.ai/automation/<id>/run/<runId>/step/<seq>/transcript"
headers = {
    "Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
    "Content-Type": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())