Tracira
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=....

gethttps://www.tracira.com/api/logs/sessions
GET
/api/logs/sessions

Authorization

AuthorizationBearer <token>

Workspace API token, from the Integrations page.

In: header

Query Parameters

q?string

Matches the actor's name or ID, subject ID, project, task or session ID.

actorId?string

Only conversations with this actor (matches the ID or the name).

subjectId?string
sessionId?string
project?string
task?string
status?string

Only conversations containing an output with this status.

Value in

  • "pass"
  • "flagged"
  • "error"
  • "pending"
from?string
Formatdate-time
to?string
Formatdate-time

Response Body

application/json

application/json

curl -X GET "https://example.com/api/logs/sessions"
{  "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"    }  ]}