Get a single audit entry by ID
Returns the full audit entry for the given id, tenant-scoped by the X-Tenant-ID header. A record that exists but belongs to another tenant returns 404 (not 403), so the endpoint cannot be used as a cross-tenant existence oracle. Literal /api/v1/audit/* routes (search, export, report, session-summary, tenant, tool-call) are matched before this parameterized path — including GET /api/v1/audit/search, which answers 405 rather than being swallowed here as an id of "search" (#3060).
Role-scoped reads (#2922): a non-tenant-wide caller may fetch only their own rows; a record belonging to another user returns the same 404 as a missing one (non-oracle). See POST /api/v1/audit/search for the deployment-mode carve-outs.
Request
- Base URLhttps://orchestrator.getaxonflow.com
- Authnone declared. Required headers: X-Tenant-ID
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Audit entry id
Headers
Tenant identifier scoping the request. The AxonFlow Agent gateway sets this header after authentication; the orchestrator fails closed when it is absent (401 on audit/decision endpoints, 400 on others — see each operation). Clients cannot widen their scope through it: handlers force the tenant filter from this header, never from the request body.
Response
Full audit entry
Changes
No recorded changes to this operation across all 1 revision of this API.