Audit logRecord a downstream action

Record a downstream action

Record a downstream action linked to an audit event (lineage).

curl -X POST "https://api.autopil.ai/v1/audit/lineage" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
  "event_id": "evt_abc123",
  "action_type": "loan_decision",
  "detail": {
    "outcome": "approved",
    "amount": 250000
  },
  "outcome": "approved"
}'
{}
POST
/v1/audit/lineage
POST
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-API-Key)
X-API-Keystring
Required

API key with admin, read, or evaluate scope. Missing key → 401; invalid or revoked key → 403.

API key with admin, read, or evaluate scope. Missing key → 401; invalid or revoked key → 403.
Content-Typestring
Required

The media type of the request body

Options: application/json
Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-API-Keystring
Required

API Key for authentication. API key with admin, read, or evaluate scope. Missing key → 401; invalid or revoked key → 403.

Responses