API referenceExport destinations
POST /export-destinations
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X POST "https://example.com/export-destinations" \ -H "Content-Type: application/json" \ -d '{ "endpointUrl": "http://example.com", "envSlug": "string", "name": "string", "signals": [ "string" ] }'{ "$schema": "https://example.com/schemas/DestinationDTO.json", "active": true, "createdAt": "string", "destinationId": "string", "endpointUrl": "string", "envSlug": "string", "eventTypeFilter": [ "string" ], "headerKeys": [ "string" ], "name": "string", "orgId": "string", "serviceName": "string", "signals": [ "string" ], "updatedAt": "string"}endpointUrl*string
Format
uriLength
1 <= lengthenvSlug*string
Length
1 <= lengtheventTypeFilter?array<string>|null
headers?
Header name -> value map. Stored server-side, never returned.
name*string
Length
1 <= lengthserviceName?string
signals*array<string>|
OTLP signals: logs and/or traces
Items
1 <= items