# Update tracing destination metadata

Source: <https://everruns.com/docs/api/operations/update_tracing_destination_metadata/>

[Docs](https://everruns.com/docs/)/[API reference](https://everruns.com/docs/api/)/[Operations & billing](https://everruns.com/docs/api/groups/operations-billing/)/Update tracing destination metadata

# Update tracing destination metadata

Preview

Update safe destination metadata while preserving its receiver and current authentication.

Public APIEverruns Cloud and self-hosted Platform

PATCH`/v1/tracing/destination-metadata/{id}`

See [authentication](https://everruns.com/docs/sre/runbooks/authentication/) for credentials and permissions.

## Parameters

### Path Parameters

**id**

required

string format: uuid

Tracing resource ID

## Responses

200Success

### 200

Success

Media typeapplication/json

Safe destination settings used by native reads and change history.

object

**capture_content**

Explicit consent to export message and tool content; defaults to metadata only.

boolean

**capture_reasoning**

Explicit consent to export reasoning; also requires content capture.

boolean

**enabled**

Whether customer exports may be sent to this receiver; false pauses delivery.

boolean

**endpoint**

required

HTTPS receiver endpoint without embedded credentials, query parameters, or fragments.

string

**langsmith_agent_environment**

LangSmith agent environment: local, development, staging, or production.

string | null

**langsmith_agent_id**

Registered LangSmith agent identifier, mutually exclusive with project_name.

string | null

**name**

required

Human-readable destination name, from 1 to 128 characters.

string

**project_id**

Braintrust project identifier; required for Braintrust receivers.

string | null format: uuid

**project_name**

LangSmith project name for project-based workspaces.

string | null

**provider**

required

Native Braintrust, Langfuse, LangSmith, or generic OTLP over HTTPS.

string

Allowed values: braintrust langfuse langsmith otlp

**id**

required

Destination identifier owned by the current organization.

string format: uuid

### Example

```json
{
  "capture_content": false,
  "capture_reasoning": false,
  "enabled": true,
  "endpoint": "https://collector.example.com/v1/traces",
  "name": "Production traces",
  "project_id": "00000000-0000-0000-0000-000000000002",
  "provider": "braintrust",
  "id": "00000000-0000-0000-0000-000000000001"
}
```

FetchcURL

Request

```js
const url = 'https://app.everruns.com/api/v1/tracing/destination-metadata/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';
const options = {method: 'PATCH'};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

Request

```sh
curl --request PATCH \
  --url https://app.everruns.com/api/v1/tracing/destination-metadata/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0
```

Additional language examples require JavaScript. The default request example is available above.

200

200 · Success

```json
{
  "capture_content": false,
  "capture_reasoning": false,
  "enabled": true,
  "endpoint": "https://collector.example.com/v1/traces",
  "name": "Production traces",
  "project_id": "00000000-0000-0000-0000-000000000002",
  "provider": "braintrust",
  "id": "00000000-0000-0000-0000-000000000001"
}
```

## Matching endpoints