Append run events
POST
/runtime/v1/runs/{runId}/events
const url = 'https://mw.omazy.ai/api/v1/runtime/v1/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/events';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"events":[{"seq":1,"type":"example","payload":{}}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”runId
required
string
Example
3fa85f64-5717-4562-b3fc-2c963f66afa6Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
events
required
Array<object>
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
type
required
Omazy RunEvent type: thinking, agent_message, tool_call, tool_result, usage, compacted, subagent_started, subagent_finished, error.
string
payload
object
Examplegenerated
{ "events": [ { "seq": 1, "type": "example", "payload": {} } ]}Responses
Section titled “Responses”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
© 2026 Omazy CX