Send runs to an OpenTelemetry collector (owners)
PUT
/org/telemetry
const url = 'https://api.global.stillbox.example/v1/org/telemetry';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"endpoint":"example","headers":{"additionalProperty":"example"},"enabled":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.global.stillbox.example/v1/org/telemetry \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "endpoint": "example", "headers": { "additionalProperty": "example" }, "enabled": true }'Runs (ADR 0029) from now on are sent to <endpoint>/v1/traces as OTLP/HTTP JSON, a span for each turn and
one for each tool call, within about a minute (ADR 0030). headers (for example an API key) are kept
sealed; leave them out to keep the current ones.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
endpoint
required
The collector’s OTLP/HTTP base address (https), e.g. https://otlp.example.com
string
headers
object
key
additional properties
string
enabled
boolean
Responses
Section titled “Responses”The new settings
Media typeapplication/json
object
configured
required
boolean
endpoint
string
header_names
required
Array<string>
enabled
required
boolean
updated_at
string format: date-time
last_export_at
string format: date-time
last_error
string
exported_runs
required
integer format: int64
secrets_ready
required
boolean
Example generated
{ "configured": true, "endpoint": "example", "header_names": [ "example" ], "enabled": true, "updated_at": "2026-04-15T12:00:00Z", "last_export_at": "2026-04-15T12:00:00Z", "last_error": "example", "exported_runs": 1, "secrets_ready": true}The request is invalid
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}The API key is missing or invalid
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}Only an owner can do this (owner_only), or the invitation is for another address (not_invited)
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}