Skip to main content
POST
/
destinations
/
{destination_id}
/
explain-error
Explain Destination Error
curl --request POST \
  --url https://api.streamkap.com/destinations/{destination_id}/explain-error \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "include_logs": false
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

destination_id
string
required

Body

application/json

Request body for the connector-error 'Explain with AI' endpoints (sources + destinations).

include_logs
boolean
default:false

Also attach recent connector logs to the context for extra signal.

Response

Successful Response