Governance
List the latest audit activities
Section titled “List the latest audit activities”GET /api/v1/instance/audit-activities
- Operation
audit_activities.list- Accepts
sessionCookie,sessionToken- Scope
governance:read- Rights
audit.view- Effect
- reading
- Rate class
- read
Answers
200The resultapplication/json: objectitemsarray of AuditActivity required
400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
List the latest audit events
Section titled “List the latest audit events”GET /api/v1/instance/audit-events
- Operation
audit_events.list- Accepts
sessionCookie,sessionToken- Scope
governance:read- Rights
audit.view- Effect
- reading
- Rate class
- read
Parameters
limitinteger in query, optional, default50, minimum1, maximum200cursorstring in query, optional, minLength1
Answers
200One page of the listapplication/json: objectitemsarray of AuditEvent requirednextCursorstring optional
400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Read model usage and budget of the instance
Section titled “Read model usage and budget of the instance”GET /api/v1/instance/usage
- Operation
usage.get_summary- Accepts
sessionCookie,sessionToken- Scope
governance:read- Rights
usage.view- Effect
- reading
- Rate class
- read
Answers
200The resultapplication/json: UsageSummary400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.