Skip to content

List destinations

GET
/api/destinations
curl --request GET \
--url https://api.langparse.dev/api/destinations \
--header 'X-Api-Key: <X-Api-Key>'

List your destinations — where parsed output is delivered (webhook / S3 / SQS / SNS). Secrets are never returned; a configured secret shows only as hasSecret: true.

Your destinations (secrets redacted to hasSecret).

Media typeapplication/json
object
data
required
Array<object>

A destination (secret redacted to hasSecret). Own key id.

object
key
additional properties
any
meta
required
object
pagination

List pagination. Bounded collections return real totals; large (cursor-backed) collections may leave totals null and set cursor.

object
page
integer
pageSize
integer
totalItems
integer
nullable
totalPages
integer
nullable
hasNext
boolean
hasPrevious
boolean
cursor
string
nullable
Example
[
{
"id": "dst_wh01",
"kind": "webhook",
"name": "Ops webhook",
"enabled": true,
"hasSecret": true
}
]

Missing or invalid API key.

Media typeapplication/json

Error response. statusCode mirrors the HTTP status; statusMessage is human-readable.

object
statusCode
integer
statusMessage
string
Example
{
"statusCode": 404,
"statusMessage": "Document not found"
}