Deployments.ai Docs
Command reference

deployments audit

Tenant audit history

CommandSummary
deployments audit listList audit events
deployments audit showShow an audit event
deployments audit organization-listList organization-level audit events

deployments audit list

List audit events.

deployments audit list
  • Calls GET /v1/audit-events (SDK listAuditEvents).
  • Needs an environment: --env or the saved context.
  • Paginated. --page-size sets the page size; pass the returned cursor as --cursor for the next page.
FlagTypeRequiredDefaultDescription
--cursorstring (cursor)Pagination cursor
--page-sizestring (number)Page size
--sincestringStart timestamp
--untilstringEnd timestamp
--actorstringActor ID
--resourcestringResource ID
--eventstringEvent type

Also accepts the global flags.

deployments audit show

Show an audit event.

deployments audit show <id>
FlagTypeRequiredDefaultDescription
<id>positionalyesResource ID

Also accepts the global flags.

deployments audit organization-list

List organization-level audit events.

deployments audit organization-list <organization-id>
  • Calls GET /v1/organizations/{id}/audit-events (SDK listOrganizationAuditEvents).
  • Needs an organization: --org or the saved context.
  • Paginated. --page-size sets the page size; pass the returned cursor as --cursor for the next page.
FlagTypeRequiredDefaultDescription
--cursorstring (cursor)Pagination cursor
--page-sizestring (number)Page size
<organization-id>positionalyesOrganization ID
--sincestringStart timestamp
--untilstringEnd timestamp
--actorstringActor ID
--resourcestringResource ID
--eventstringEvent type

Also accepts the global flags.

On this page