Skip to main content
POST
/
accounts
/
{accountId}
/
ai
/
agents
/
stream
cURL
curl --request POST \
  --url https://api.checklyhq.com/accounts/{accountId}/ai/agents/stream \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "messages": [
    {}
  ]
}'
"<string>"

Authorizations

Authorization
string
header
required

The Checkly Public API uses API keys to authenticate requests. You can get the API Key here. Your API key is like a password: keep it secure! Authentication to the API is performed using the Bearer auth method in the Authorization header and using the account ID. For example, set Authorization header while using cURL: curl -H "Authorization: Bearer [apiKey]" "X-Checkly-Account: [accountId]"

Path Parameters

accountId
string
required

Body

application/json
messages
object[]
required
Minimum length: 1

Response

default - application/json

Successful

The response is of type string.