Skip to main content
PATCH
Update OTLP destination by ID or name

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id_or_name
string
required

OTLP destination ID or name

Body

application/json

Fields to update. Omitted fields are left unchanged.

description
string
Maximum string length: 1024
endpoint
string

Base endpoint of the OTLP/HTTP collector, without a signal path. Same rules as on create.

Required string length: 1 - 2048
headers
object

Edits stored headers key by key rather than replacing the map. A string value adds or replaces that header, null deletes it, and any key you omit is left as it is. Names are matched case-insensitively, so authorization replaces a stored Authorization rather than adding a second entry. This is the credential rotation path; sessions already exporting pick up the new values without restarting. Names and values must be valid HTTP header tokens, and the names and values together cannot exceed 8192 bytes.

name
string
Pattern: ^[a-zA-Z0-9._-]{1,255}$

Response

OTLP destination updated

An OTLP endpoint to export browser session telemetry to. Reference one from telemetry.export.otlp.destination when creating a browser to export that session's captured telemetry to it.

consecutive_failures
integer<int32>
required

Failed deliveries since the last success, as observed by the relay process that wrote the latest outcome. Zero means the most recently recorded outcome succeeded.

Required range: x >= 0
created_at
string<date-time>
required
endpoint
string
required

OTLP/HTTP endpoint telemetry is sent to.

Maximum string length: 2048
headers
object
required

Headers sent with each export request. Names are returned in canonical form (Authorization, not authorization). Non-dashboard reads return values redacted as empty strings, so the keys are visible but the credentials are not. Dashboard reads return the stored values.

id
string
required
Maximum string length: 128
name
string
required

Unique within the organization. Usable in place of the ID when selecting a destination, so it cannot be shaped like an ID.

Pattern: ^[a-zA-Z0-9._-]{1,255}$
updated_at
string<date-time>
required
description
string
Maximum string length: 1024
last_error
string

Sanitized class of the delivery failure recorded at last_error_at. It is retained after a later success, so its presence does not mean the destination is currently failing. Response bodies, endpoint URLs, credentials, and raw transport errors are never returned.

Maximum string length: 512
last_error_at
string<date-time>

Timestamp of the most recent failed delivery. It is retained after a later success, so it can predate last_export_at. Read consecutive_failures to tell whether the destination is currently failing.

last_export_at
string<date-time>

Timestamp of the most recent successful delivery. Moves only on success.