# Get defaults

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

[Docs](https://everruns.com/docs/)/[API reference](https://everruns.com/docs/api/)/[Operations & billing](https://everruns.com/docs/api/groups/operations-billing/)/Get defaults

# Get defaults

Preview

Operate durable execution, schedules, sandbox infrastructure, budgets, payments and audit logs.

Public APIEverruns Cloud and self-hosted Platform

GET`/v1/tracing/defaults`

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

## Responses

200

### 200

Media typeapplication/json

Current routing policy and the revision required for a guarded save.

object

**policy**

required

Routing mode and the organization-owned destination selections to save.

object

**destination_ids**

Distinct destination identifiers from this organization; at most eight selections.

Array\<string>

**mode**

Use organization defaults, add selections, replace defaults, or disable customer exports.

string

Allowed values: inherit add replace off

**revision**

required

Current revision used to reject stale saves and deletes.

integer format: int64

### Example

```json
{
  "policy": {
    "mode": "inherit"
  },
  "revision": 1
}
```

FetchcURL

Request

```js
const url = 'https://app.everruns.com/api/v1/tracing/defaults';
const options = {method: 'GET'};


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

Request

```sh
curl --request GET \
  --url https://app.everruns.com/api/v1/tracing/defaults
```

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

200

200 ·

```json
{
  "policy": {
    "destination_ids": [
      "string"
    ],
    "mode": "inherit"
  },
  "revision": 1
}
```

## Matching endpoints