observability

Change an export's endpoint, headers or signals, or turn it off and on.

post/v1/otel-exports/{id}:update

Request

  • Base URL: https://api.withruntime.com
  • URL: https://api.withruntime.com/v1/otel-exports/{id}:update
  • Auth: HTTP bearer

Path parameters

idstring required

Resource identifier (UUID).

Headers

Idempotency-Keystring

Replaying the same key with the same request within 24 hours returns the first result and never repeats the effect. A refusal is not kept: a request refused before it ran (no_capacity, busy, a limit) runs afresh when sent again with its key. The SDKs send one automatically; the server makes one when absent and returns it in the idempotency-key response header.

Request body

endpointstring

The OTLP/HTTP base URL, as OTEL_EXPORTER_OTLP_ENDPOINT: logs go to <endpoint>/v1/logs and metrics to <endpoint>/v1/metrics.

headersobject

Replaces every header.

signalsstring[]

What to send: "logs" (events as log records) and "metrics" (CPU and memory gauges). Both when omitted.

enabledboolean

false stops pushing. Turning it back on sends from that moment, not a backlog.

Response

Success

idstring required
endpointstring required
headerNamesstring[]

Header names only; values are never shown.

signalsstring[] required
enabledboolean required
createdAtstring
updatedAtstring
lastAttemptAtstring nullable
lastSuccessAtstring nullable
lastErrorstring nullable
failuresinteger
exportedEventsinteger
exportedPointsinteger

Changes

No recorded changes to this operation across all 1 revision of this API.