Skip to main content
PATCH
Update OpenTelemetry exporter settings

Authorizations

Authorization
string
header
required

An opaque Omnara personal or organization bearer token.

Path Parameters

orgID
string
required
Pattern: ^org_[a-z2-7]{26}$
projectID
string
required

Project ID (proj_...).

Pattern: ^proj_[a-z2-7]{26}$
exporterID
string
required
Pattern: ^otx_[a-z2-7]{26}$

Body

application/json
endpoint
string

Full OTLP/HTTP traces URL, used exactly as given.

Required string length: 1 - 2048
variant
enum<string>

Which backend-specific attributes are added on top of the GenAI semantic conventions. otel adds none.

Available options:
otel,
langfuse,
braintrust,
langsmith
encoding
enum<string>

OTLP/HTTP request body encoding. protobuf sends application/x-protobuf and is accepted by every OTLP/HTTP endpoint; json sends application/json and is available for the otel and langfuse variants only.

Available options:
protobuf,
json
auth_kind
enum<string>

How the exporter authenticates to the endpoint: none, Authorization Bearer token, a custom API key header named by auth_options.header_name, or HTTP Basic auth with auth_options.username and the secret password.

Available options:
none,
bearer_token,
api_key_header,
basic
auth_options
object

Non-secret authentication settings. Must be empty for none and bearer_token. With api_key_header, set {"header_name":"..."}. With basic, set {"username":"..."} (for Langfuse, use the public key).

credential_secret_id
string | null

Generic secret available to the project for the selected auth_kind. Omit to preserve, or set to null when switching auth_kind to none.

Pattern: ^sec_[a-z2-7]{26}$
headers
object

Plain request headers sent with every export, by header name. Values are stored and returned as plain text, so Authorization is not accepted here; use auth_kind or secret_headers for credentials.

secret_headers
object

Extra request headers whose values come from generic secrets available to the project, by header name. Prefer auth_kind and credential_secret_id for primary endpoint credentials.

sample_percent
number<double>

Percentage of turns exported. The decision is made once per turn, so a trace is exported whole or not at all.

Required range: 0 <= x <= 100

Response

Exporter updated.

id
string
required
Pattern: ^otx_[a-z2-7]{26}$
org_id
string
required
Pattern: ^org_[a-z2-7]{26}$
project_id
string
required

Project ID (proj_...).

Pattern: ^proj_[a-z2-7]{26}$
endpoint
string
required

Full OTLP/HTTP traces URL.

Required string length: 1 - 2048
variant
enum<string>
required

Which backend-specific attributes are added on top of the GenAI semantic conventions. otel adds none.

Available options:
otel,
langfuse,
braintrust,
langsmith
encoding
enum<string>
required

OTLP/HTTP request body encoding. protobuf sends application/x-protobuf and is accepted by every OTLP/HTTP endpoint; json sends application/json and is available for the otel and langfuse variants only.

Available options:
protobuf,
json
auth_kind
enum<string>
required

How the exporter authenticates to the endpoint: none, Authorization Bearer token, a custom API key header named by auth_options.header_name, or HTTP Basic auth with auth_options.username and the secret password.

Available options:
none,
bearer_token,
api_key_header,
basic
auth_options
object
required

Non-secret authentication settings. Must be empty for none and bearer_token. With api_key_header, set {"header_name":"..."}. With basic, set {"username":"..."} (for Langfuse, use the public key).

headers
object
required

Plain request headers sent with every export, by header name. Values are stored and returned as plain text, so Authorization is not accepted here; use auth_kind or secret_headers for credentials.

secret_headers
object
required

Extra request headers whose values come from generic secrets available to the project, by header name. Prefer auth_kind and credential_secret_id for primary endpoint credentials.

sample_percent
number<double>
required

Percentage of turns exported. The decision is made once per turn, so a trace is exported whole or not at all.

Required range: 0 <= x <= 100
created_at
string<date-time>
required
updated_at
string<date-time>
required
credential_secret_id
string

Generic secret available to the project, used for authentication. Omitted when auth_kind is none.

Pattern: ^sec_[a-z2-7]{26}$