API reference · schema
EventRequest
6 fields · used by 0 operations
Last reviewed 2026-10-19
Fields
| Field | Type | Meaning |
|---|---|---|
name required | string | |
attributes | object | default {} |
payload | any | |
parent_span_id | string or null | |
kind | string | default "INTERNAL" |
status | string | default "OK" |
Smallest valid example
{
"name": "name",
"attributes": {},
"kind": "INTERNAL",
"status": "OK"
}JSON Schema
Show the raw definition
{
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"attributes": {
"additionalProperties": true,
"type": "object",
"title": "Attributes",
"default": {}
},
"payload": {
"title": "Payload"
},
"parent_span_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Parent Span Id"
},
"kind": {
"type": "string",
"title": "Kind",
"default": "INTERNAL"
},
"status": {
"type": "string",
"title": "Status",
"default": "OK"
}
},
"type": "object",
"required": [
"name"
],
"title": "EventRequest"
}Try CAIN-42 on your own agents
Create a free account and every new account starts with a 30-day trial of the full platform. Or try the sandbox first, with no account at all.
Create a free account → · Try the sandbox · See the whole ecosystem