Skip to main content
POST
/
api
/
v1
/
webhooks
/
events
/
{conversation_id}
On Event
curl --request POST \
  --url https://app.all-hands.dev/api/v1/webhooks/events/{conversation_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Token: <api-key>' \
  --data '
[
  {
    "source": "agent",
    "code": "<string>",
    "detail": "<string>",
    "id": "<string>",
    "timestamp": "<string>",
    "kind": "<string>"
  }
]
'
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://allhandsai-add-v1-api-reference.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Access-Token
string
header
required

Path Parameters

conversation_id
string<uuid>
required

Body

application/json

Event emitted by the agent server when a server-level error occurs.

This event is used for errors that originate from the agent server itself, such as MCP connection failures, WebSocket errors, or other infrastructure issues. Unlike ConversationErrorEvent which is for conversation-level failures, this event indicates a problem with the server environment.

source
enum<string>
required

The source of this event

Available options:
agent,
user,
environment,
hook
code
string
required

Code for the error - typically an error type

detail
string
required

Details about the error

id
string

Unique event id (ULID/UUID)

timestamp
string

Event timestamp

kind
string
Allowed value: "ServerErrorEvent"

Response

Successful Response

success
boolean
default:true