Observability

Update an observability destination

Update an existing observability destination. Only the fields provided in the request body are updated. Management key required.

patch/observability/destinations/{id}

Path parameters

idstring uuid required

The destination ID (UUID).

Example:99999999-aaaa-bbbb-cccc-dddddddddddd

The destination ID (UUID).

Request body

api_key_hashesstring[] nullable

Optional allowlist of OpenRouter API key hashes. null clears the filter (all keys). Omitting leaves the current value. Must contain at least one hash if provided.

configobject

Provider-specific configuration fields to update. Masked values are ignored; unset fields keep their current value.

enabledboolean

Whether the destination is enabled.

namestring

Human-readable name for the destination.

privacy_modeboolean

When true, request/response bodies are not forwarded — only metadata.

sampling_ratenumber double

Sampling rate between 0.0001 and 1 (1 = 100%).

Example request

{
  "enabled": false,
  "name": "Updated Langfuse"
}

Response

Destination updated successfully

Example response

{
  "data": {
    "api_key_hashes": null,
    "config": {
      "baseUrl": "https://us.cloud.langfuse.com",
      "publicKey": "pk-l...EfGh",
      "secretKey": "sk-l...AbCd"
    },
    "created_at": "2025-08-24T10:30:00Z",
    "enabled": true,
    "filter_rules": null,
    "id": "99999999-aaaa-bbbb-cccc-dddddddddddd",
    "name": "Production Langfuse",
    "privacy_mode": false,
    "sampling_rate": 1,
    "type": "langfuse",
    "updated_at": "2025-08-24T15:45:00Z",
    "workspace_id": "550e8400-e29b-41d4-a716-446655440000"
  }
}

Changes