API referenceOutputs
List conversations
Outputs grouped into conversations: one entry per session ID, newest activity first, at most 200.
Each entry names who it was with (actorName, falling back to actorId), opens with the first message (preview), and counts its outputs by status. Read the whole conversation with GET /api/logs?sessionId=....
get
https://www.tracira.com/api/logs/sessionsGET
header
AuthorizationBearer <token>Workspace API token, from the Integrations page.
q?stringMatches the actor's name or ID, subject ID, project, task or session ID.
actorId?stringOnly conversations with this actor (matches the ID or the name).
subjectId?stringsessionId?stringproject?stringtask?stringstatus?stringOnly conversations containing an output with this status.
Value in
"pass""flagged""error""pending"from?stringFormat
date-timeto?stringFormat
date-timeConversations.
application/json- response
sessions?array<>curl -X GET 'https://www.tracira.com/api/logs/sessions'Example Response
{ "sessions": [ { "sessionId": "string", "actorId": "string", "actorName": "string", "subjectId": "string", "projectName": "string", "taskName": "string", "preview": "string", "turnCount": 0, "passCount": 0, "flagCount": 0, "failCount": 0, "firstAt": "2019-08-24T14:15:22Z", "lastAt": "2019-08-24T14:15:22Z" } ]}