Ingest AI audit events from Duo Workflow Service
POST
/api/v4/ai/duo_workflows/workflows/{id}/audit_events
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” id
required
integer
The ID of the workflow
Request Body required
Section titled “ Request Body required ” Media type application/json
object
events
required
Array of CloudEvents v1.0 envelopes
Array<object>
object
id
required
CloudEvent id (UUID)
string
type
required
Event type (e.g., ai_llm_input_sent)
string
source
required
CloudEvent source
string
time
required
Event timestamp (ISO 8601) from the gateway
string format: date-time
data
Event-specific payload
object
Example generated
{ "events": [ { "id": "example", "type": "example", "source": "example", "time": "2026-04-15T12:00:00Z", "data": {} } ]}Responses
Section titled “ Responses ”Created
Bad Request
Not Found