Read an agent step transcript
/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
Resource id
Resource id
Step sequence number
Response Body
The model ref the step ran on, <provider>:<id>; a bare model id in transcripts recorded before refs.
The display name of that model. Null when the transcript predates it.
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())