trace_destinations

Update trace destination

Change a destination. Credentials are write-only: supply them to rotate, omit them to keep.

patch/v1/trace-destinations/{destination_id}

Path parameters

destination_idstring uuid required

The ID of the trace destination

The ID of the trace destination

Request body

namestring nullable

Human-readable name

hoststring nullable

Langfuse base URL

public_keystring nullable

Langfuse project public key

secret_keystring nullable

Langfuse project secret key

endpointstring nullable

OTLP/HTTP traces endpoint

headersobject nullable

Headers sent with every OTLP request

event_typesstring[] nullable

Which trace kinds to export

enabledboolean nullable

Whether traces are exported

Response

The updated trace destination

idstring uuid required

Unique identifier of the destination

namestring required

Human-readable name

provider'langfuse' | 'otlp' required

Destination type

endpointstring required

OTLP/HTTP traces endpoint spans are posted to

credential_hintstring nullable

Non-secret half of the credential: the Langfuse public key, or the auth header name

event_typesstring[] required

Which trace kinds are exported to this destination

enabledboolean required

Whether traces are currently being exported

last_exported_atstring date-time nullable

When a batch last reached the destination

last_errorstring nullable

Why the most recent delivery failed; cleared by the next success

last_error_atstring date-time nullable

When the most recent delivery failed

created_atstring date-time required

When the destination was created

updated_atstring date-time required

When the destination was last updated

object'trace_destination'

Type of the object

Changes

Changed in 2 of the 17 revisions of this API.12

  • d2ebbe3adcaa11See the full diff
    • added the new qa enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new qa enum value to the request property //

      request-property-enum-value-added

    • endpoint added

      endpoint-added