Audit logEvent and its downstream actions

Event and its downstream actions

Return the event and all linked downstream actions.

curl -X GET "https://api.autopil.ai/v1/audit/lineage/example_string" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "event": {
    "event_id": "example_string",
    "agent_role": "example_string",
    "agent_id": "example_string",
    "user_id": "example_string",
    "source_id": "example_string",
    "decision": "ALLOW",
    "policy_name": "John Doe",
    "reason": "example_string",
    "context_hash": "example_string",
    "source_type": "example_string",
    "pii_masked": true,
    "timestamp": "2024-12-25T10:00:00Z"
  },
  "actions": [
    {
      "event_id": "example_string",
      "action_type": "example_string",
      "detail": {},
      "outcome": "example_string"
    }
  ]
}
GET
/v1/audit/lineage/{event_id}
GET
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.
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.

Path Parameters

Responses

eventobject
actionsarray