mosoodocs

List Thread events

Returns the latest public event log entries for this Thread in chronological order.

GET/threads/{threadId}/events

Returns the latest public event log entries for this Thread in chronological order. If older public entries are omitted because the limit was reached, truncated is true. Event IDs are stable, so callers can retry or poll without treating the same ID as a new event. This is the stable snapshot read surface for CLI and API consumers; it does not expose raw runtime payloads, transcript, or diagnostics.

Authorization

publicApiBearer
AuthorizationBearer <token>

Use Authorization: Bearer mst_... . API tokens identify an account and do not carry scopes.

In: header

Path Parameters

threadId*string

Thread ID returned by create thread. v1 IDs are bare ULIDs.

Match^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$
Formatulid

Query Parameters

limit?integer

Maximum number of latest Thread events to return.

Range1 <= value <= 1000
Default100

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/threads/01J00000000000000000000009/events?limit=100"
{  "events": [    {      "content": "string",      "durationMs": 0,      "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",      "occurredAt": "2019-08-24T14:15:22Z",      "runId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",      "status": "available",      "tokens": 0,      "type": "agent.message.delta"    }  ],  "truncated": true}
{  "error": {    "code": "agent_not_published",    "message": "string"  }}
{  "error": {    "code": "agent_not_published",    "message": "string"  }}
{  "error": {    "code": "agent_not_published",    "message": "string"  }}
{  "error": {    "code": "agent_not_published",    "message": "string"  }}
{  "error": {    "code": "agent_not_published",    "message": "string"  }}
{  "error": {    "code": "agent_not_published",    "message": "string"  }}
{  "error": {    "code": "agent_not_published",    "message": "string"  }}