Get chat status

Returns the status of a chat without its transcript. Poll this endpoint after you create a chat or reply to it.

GET https://chat.betterstack.com/api/v2/chats/{id}/status

URL parameters

id
required string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "12345",
    "type": "chat_status",
    "attributes": {
      "status": "awaiting_confirmation",
      "pending_confirmations": [
        {
          "id": 501,
          "tool_name": "Bash",
          "tool_input": {
            "command": "kubectl rollout restart deployment/checkout-api -n production"
          },
          "status": "pending",
          "resolution_note": null,
          "expires_at": "2026-09-07T11:31:05.000Z",
          "confirmed_at": null,
          "created_at": "2026-09-07T10:31:05.000Z"
        }
      ]
    }
  }
}
401

Response body

{
  "errors": "Invalid authentication"
}
404

Response body

{
  "errors": "Resource with the provided ID was not found"
}

Example cURL

Example
curl --request GET \
  --url https://chat.betterstack.com/api/v2/chats/12345/status \
  --header "Authorization: Bearer $TOKEN"


Chat statuses

Status What it means
processing The agent is working on the latest message. Poll again in a few seconds.
awaiting_confirmation The agent wants to run a tool that needs your approval and waits for you. Approve or deny each confirmation listed in pending_confirmations. The agent then continues and the status returns to processing.
idle The turn is over. Get the chat to read the answer, or reply to continue.