Skip to main content
POST
Create a telemetry destination

Authorizations

Authorization
string
header
required

Bearer token for authentication. Use an API key from the API Keys page in team settings, or an OAuth access token.

Path Parameters

environmentId
string
required

The ID of the environment

Body

application/json
signal
enum<string>
required
Available options:
logs,
metrics,
traces
endpoint
string
required
Required string length: 1 - 2048
protocol
enum<string>
default:http/protobuf
Available options:
http/protobuf,
http/json
isScopedToIntentionalRequestsOnly
boolean
default:false
headers
object[]

Response

The telemetry destination has been created

id
string
required
signal
enum<string>
required
Available options:
logs,
metrics,
traces
endpoint
string
required
Required string length: 1 - 2048
protocol
enum<string>
required
Available options:
http/protobuf,
http/json
headers
object[]
required
status
enum<string>
required
Available options:
active,
suspended
lastFailureReason
enum<string> | null
required
Available options:
credentials,
wrong-path,
wrong-protocol,
invalid-payload,
partial-rejection,
blocked-target,
timeout,
unreachable,
receiver-error,
unexpected-status
isScopedToIntentionalRequestsOnly
boolean
required