API reference · Account
Set the collector
PUT/api/account/otlpSigned in session
A Honeycomb, Grafana Cloud, Datadog or any OTLP/HTTP URL (https, a public address). Header values are encrypted and never read back; keepHeaders keeps the stored ones when the URL and names are unchanged. Same origin only. A 404 unless the operator set ANTIMATTER_OTLP_ACCOUNTS=1 (switch otlp-accounts on /admin/switches).
Request body
application/json, required
| Field | Type | What it is |
|---|---|---|
| collectorrequired | string | One of "honeycomb", "grafana", "datadog", "custom". |
| urlrequired | string | |
| headers | array of object | |
| headers[] | string | |
| headers[] | string | |
| keepHeaders | boolean |
Example
{
"collector": "honeycomb",
"url": "string",
"headers": [
{
"name": "string",
"value": "string"
}
],
"keepHeaders": false
}Answer 200
As stored.
| Field | Type | What it is |
|---|---|---|
| destination | object | |
| destination. | string | One of "honeycomb", "grafana", "datadog", "custom". |
| destination. | string | The collector's OTLP/HTTP traces URL. |
| destination. | array of string | |
| destination. | integer or null | The collector's answer to the newest push. |
| destination. | string or null | |
| destination. | integer or null | |
| destination. | integer or null | |
| destination. | boolean or null | |
| destination. | integer |
Errors
- 400OpenAI shaped error.
- 401OpenAI shaped error.
- 404OpenAI shaped error.
- 429OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.