Skip to content

Ingest Grid Event

POST
/v1/grid/events
curl --request POST \
--url https://example.com/v1/grid/events \
--header 'Content-Type: application/json' \
--data '{ "kind": "example", "source": "grid", "project_id": "", "tenant_id": "", "event_type": "", "payload": {} }'
x-api-key
Any of:
string
Media typeapplication/json
GridEventIn
object
kind
required
Kind
string
source
Source
string
default: grid
project_id
Project Id
string
""
tenant_id
Tenant Id
string
""
event_type
Event Type
string
""
payload
Payload
object
key
additional properties
any

Successful Response

Media typeapplication/json
GridEventIngestOut
object
status
required
Status
string
tenant_id
required
Tenant Id
string
event_type
required
Event Type
string
Examplegenerated
{
"status": "example",
"tenant_id": "example",
"event_type": "example"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}