authz.granted
A role on a project was granted.
The body is the event as GET /events returns it.
application/json- body
Wide event with event_type=authz.granted.
id*stringManaged event id (evt_<opaque>).
project_id*project-id^[a-zA-Z0-9_-]+$team_id?|Emit-time team scope, when the actor operated under a team.
event_type*stringSemantic event name (dot-separated). Discriminator for the Event union — see docs/design/api/events-catalog.md.
category*stringWide-event category.
"request""auth""session""admin""entity""signal"occurred_at*stringWhen the action happened (server/storage clock, dialect-owned).
date-timecreated_at*stringWhen the row was inserted (server/storage clock, dialect-owned).
date-timeactor_id?|Who triggered the event.
actor_type?|Actor kind.
entity_type?|Resource type affected.
entity_id?|Resource id affected.
client_id*stringApplication or agent that produced the event.
token_id?stringToken id present at emit time, when any.
delegation_type?stringDelegation kind (omit when unset).
"direct""delegated""pat_shared""exchanged"delegation_id?stringgrantor?stringfingerprint?stringDevice fingerprint correlation id.
request_id?|HTTP request correlation id.
session_id?|Session correlation id.
flow_id?|Login flow correlation id.
metadata?Emit-time metadata, already redacted at write. Path A request.api may set client (ip, user_agent, origin) for SIEM join on request_id. Not a live risk-evaluator input.
payload*Payload for authz.granted events.
Delivered. Any 2xx status acknowledges the event; the response body is ignored.
Wide event with event_type=authz.granted.
{ "id": "string", "project_id": "string", "category": "request", "occurred_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "client_id": "string", "event_type": "authz.granted", "payload": {}}Was this helpful?