GET /v1/audit

Tags: audit

Parameters

NameInTypeRequiredDescription
principal_idquerystring
actionquerystring
resource_typequerystring
resource_idquerystring
fromquerystringRFC3339 inclusive lower bound
toquerystringRFC3339 exclusive upper bound
limitqueryinteger1..=500, default 50
cursorquerystringOpaque cursor from prior next_cursor
qquerystringFree-text action substring search

Responses

200 — Paged audit events for the caller's org, newest first

JSON
{
  "$ref": "#/components/schemas/AuditPage"
}

400 — INVALID_REQUEST

401 — UNAUTHENTICATED

Code samples

TypeScript

TypeScript
import { firecase } from "@firecase/sdk";

const result = await firecase.get("/audit");
console.log(result);

Python

Python
import firecase

result = firecase.get("/audit")
print(result)

curl

Bash
curl -X GET https://api.firecase.ai/v1/audit \
  -H "Authorization: Bearer $FIRECASE_API_KEY" \
  -H "Content-Type: application/json"