Skip to content
API explorerProductOpen console

Append run events

POST
/runtime/v1/runs/{runId}/events
curl --request POST \
--url https://mw.omazy.ai/api/v1/runtime/v1/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "events": [ { "seq": 1, "type": "example", "payload": {} } ] }'

Appends a batch of translated events. Event seq is runner-local; anything at or below the highest applied seq is skipped, so retries are safe.

runId
required
string
Example
3fa85f64-5717-4562-b3fc-2c963f66afa6
Media typeapplication/json
object
events
required
Array<object>
<= 500 items
object
seq
required

Runner-local, increasing per claimed segment from 1. The server assigns the run’s seq and skips anything at or below the highest seq it applied.

integer
>= 1
type
required

Omazy RunEvent type: thinking, agent_message, tool_call, tool_result, usage, compacted, subagent_started, subagent_finished, error.

string
<= 64 characters
payload
object
Examplegenerated
{
"events": [
{
"seq": 1,
"type": "example",
"payload": {}
}
]
}

No content

Bad request

Unauthorized

Forbidden

Not found

Runtime_lease_expired

Omazy CX documentation. One voice. Every channel. Always on.

Founded by Mosthofa Imran · imran@omazy.ai