runnerPostEvents
POST
/api/runner/v1/task-runs/{taskRunId}/events
const url = 'https://example.com/api/runner/v1/task-runs/example/events';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"events":[{"key":"example","name":"example","tags":{"additionalProperty":"example"},"ts":"2026-04-15T12:00:00Z","type":"output","unit":"example","value":"example"}],"seq":1}'};
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://example.com/api/runner/v1/task-runs/example/events \ --header 'Content-Type: application/json' \ --data '{ "events": [ { "key": "example", "name": "example", "tags": { "additionalProperty": "example" }, "ts": "2026-04-15T12:00:00Z", "type": "output", "unit": "example", "value": "example" } ], "seq": 1 }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”taskRunId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
events
required
Array<object>
object
key
string
name
string
tags
object
key
additional properties
string
ts
string format: date-time
type
required
string
unit
string
value
key
additional properties
any
seq
required
integer format: int64
key
additional properties
any
Responses
Section titled “ Responses ”No Content
default
Section titled “default”Error
Media typeapplication/json
object
error
required
object
code
required
string
details
message
required
string
key
additional properties
any
key
additional properties
any
Examplegenerated
{ "error": { "code": "example", "details": "example", "message": "example" }}