Skip to content

Ingest AI audit events from Duo Workflow Service

POST
/api/v4/ai/duo_workflows/workflows/{id}/audit_events
id
required
integer

The ID of the workflow

Media type application/json
object
events
required

Array of CloudEvents v1.0 envelopes

Array<object>
nullable
object
id
required

CloudEvent id (UUID)

string
nullable
type
required

Event type (e.g., ai_llm_input_sent)

string
nullable
source
required

CloudEvent source

string
nullable
time
required

Event timestamp (ISO 8601) from the gateway

string format: date-time
nullable
data

Event-specific payload

object
Example generated
{
"events": [
{
"id": "example",
"type": "example",
"source": "example",
"time": "2026-04-15T12:00:00Z",
"data": {}
}
]
}

Created

Bad Request

Not Found