Administration

Organizations

The organization above the workspaces: its settings, workspaces, administrators and audit log.

Get organization

GET/api/v1/organizations/me

The caller's organization and their role in it

Organization metadata only; no role confers access to agreements. The caller's organization is the session's workspace's; the role is read from organization_admins on every request (no role, or an action it does not hold: 403 CS-AUTH-0006; a non-session credential: 403 CS-AUTH-0006). Another organization's ids answer 404 CS-API-0002.

AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session

Permissionorg.read (organization level) · no OAuth scope covers it: it comes from the member's role

Returns

200 with a Organization object.

GET/api/v1/organizations/me

curl

curl https://sign.example.com/api/v1/organizations/me \
  -H "Authorization: Bearer $OPENSEAL_API_KEY"

TypeScript

import { OpenSeal } from "@openseal/sdk";

const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const data = await os.getOrganization();

Python

import os
from openseal import OpenSeal

client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
data = client.get_organization()
Response200
{
  "id": "0193af3a-1bb3-712b-8f84-30055d0f513e",
  "name": "Example Organization",
  "status": "active",
  "role": "owner",
  "created_at": "2026-11-20T09:30:00Z",
  "policy": {
    "key": {
      "value": "Example Corp",
      "locked": false
    }
  }
}
Errors this can answer
StatusCodeWhen
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks org.read
429CS-API-0003Rate limited: wait for Retry-After seconds

Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.

Update organization

PATCH/api/v1/organizations/me

Rename the organization or replace its policy (org.settings.update), logged as organization.renamed and organization.policy_changed

The policy is the whole document; an invalid key or value is 422 CS-API-0001 at /policy/<key>. Loosening, unlocking or removing a security key is an owner's alone (403 CS-ORG-0013, SEC-O11); tightening is any holder's. Workspace rows are never rewritten: each workspace's effective policy is recomputed per request.

AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session

Permissionorg.settings.update (organization level) · no OAuth scope covers it: it comes from the member's role

Request body

Content type application/json · required

  • namestring

    at least 1 characters · at most 255 characters

  • {key: {value, locked}} for the keys of docs/23 §3 (login.mfa_required, session.max_age, recipient.allowed_auth_methods, sending.min_seal_profile, locale.date_format, reminders.default, ...). locked defaults to true for login.sso_required and login.allowed_methods, false otherwise. Security and evidence keys are tighten-only in a workspace.

Returns

200 with a Organization object.

PATCH/api/v1/organizations/me

curl

curl -X PATCH https://sign.example.com/api/v1/organizations/me \
  -H "Authorization: Bearer $OPENSEAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Example Organization",
  "policy": {
    "key": {
      "value": "Example Corp"
    }
  }
}'

TypeScript

import { OpenSeal } from "@openseal/sdk";

const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.patchOrganization({
  body: {
    "name": "Example Organization",
    "policy": {
      "key": {
        "value": "Example Corp"
      }
    }
  },
});

Python

import os
from openseal import OpenSeal

client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.patch_organization(
    body={
        "name": "Example Organization",
        "policy": {
            "key": {
                "value": "Example Corp",
            },
        },
    },
)
Response200
{
  "id": "0193af3a-1bb3-712b-8f84-30055d0f513e",
  "name": "Example Organization",
  "status": "active",
  "role": "owner",
  "created_at": "2026-11-20T09:30:00Z",
  "policy": {
    "key": {
      "value": "Example Corp",
      "locked": false
    }
  }
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks org.settings.update
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate limited: wait for Retry-After seconds

Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.

List organization workspaces

GET/api/v1/organizations/me/workspaces

The organization's workspaces, by name (metadata only)

AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session

Permissionorg.read (organization level) · no OAuth scope covers it: it comes from the member's role

Returns

200 with a OrgWorkspaceList object.

GET/api/v1/organizations/me/workspaces

curl

curl https://sign.example.com/api/v1/organizations/me/workspaces \
  -H "Authorization: Bearer $OPENSEAL_API_KEY"

TypeScript

import { OpenSeal } from "@openseal/sdk";

const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const data = await os.listOrgWorkspaces();

Python

import os
from openseal import OpenSeal

client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
data = client.list_org_workspaces()
Response200
{
  "items": [
    {
      "id": "0193e87c-b45c-705a-8d38-9d58904ea398",
      "name": "Example Workspace",
      "status": "active",
      "sandbox": false
    }
  ]
}
Errors this can answer
StatusCodeWhen
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks org.read
429CS-API-0003Rate limited: wait for Retry-After seconds

Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.

Create organization workspace

POST/api/v1/organizations/me/workspaces

Create a workspace (org.workspaces.create) with its built-in profiles and no member, logged as workspace.created

AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session

Permissionorg.workspaces.create (organization level) · no OAuth scope covers it: it comes from the member's role

Request body

Content type application/json · required

  • namestringRequired

    at least 1 characters · at most 255 characters

  • sandboxboolean

    Make a sandbox workspace, for good

    Default false

Returns

201 with a OrgWorkspace object.

POST/api/v1/organizations/me/workspaces

curl

curl -X POST https://sign.example.com/api/v1/organizations/me/workspaces \
  -H "Authorization: Bearer $OPENSEAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Example Workspace",
  "sandbox": false
}'

TypeScript

import { OpenSeal } from "@openseal/sdk";

const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.createOrgWorkspace({
  body: {
    "name": "Example Workspace",
    "sandbox": false
  },
});

Python

import os
from openseal import OpenSeal

client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.create_org_workspace(
    body={
        "name": "Example Workspace",
        "sandbox": False,
    },
)
Response201
{
  "id": "0193e87c-b45c-705a-8d38-9d58904ea398",
  "name": "Example Workspace",
  "status": "active",
  "sandbox": false
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks org.workspaces.create
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate limited: wait for Retry-After seconds

Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.

Get organization workspace

GET/api/v1/organizations/me/workspaces/{id}

A workspace of the organization (metadata only)

AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session

Permissionorg.read (organization level) · no OAuth scope covers it: it comes from the member's role

Path parameters

  • idstringRequired

    Workspace id (UUIDv7)

Returns

200 with a OrgWorkspace object.

GET/api/v1/organizations/me/workspaces/{id}

curl

curl https://sign.example.com/api/v1/organizations/me/workspaces/019321a3-230e-7037-872a-58aff1b3709a \
  -H "Authorization: Bearer $OPENSEAL_API_KEY"

TypeScript

import { OpenSeal } from "@openseal/sdk";

const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const data = await os.getOrgWorkspace({
  id: "019321a3-230e-7037-872a-58aff1b3709a",
});

Python

import os
from openseal import OpenSeal

client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
data = client.get_org_workspace(
    id="019321a3-230e-7037-872a-58aff1b3709a",
)
Response200
{
  "id": "0193e87c-b45c-705a-8d38-9d58904ea398",
  "name": "Example Workspace",
  "status": "active",
  "sandbox": false
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks org.read
404CS-API-0002No such object, or one of another account (answered alike)
429CS-API-0003Rate limited: wait for Retry-After seconds

Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.

Archive organization workspace

POST/api/v1/organizations/me/workspaces/{id}/archive

Archive a workspace (org.workspaces.archive, idempotent), logged as workspace.archived

AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session

Permissionorg.workspaces.archive (organization level) · no OAuth scope covers it: it comes from the member's role

Path parameters

  • idstringRequired

    Workspace id (UUIDv7)

Returns

200 with a OrgWorkspace object.

POST/api/v1/organizations/me/workspaces/{id}/archive

curl

curl -X POST https://sign.example.com/api/v1/organizations/me/workspaces/019321a3-230e-7037-872a-58aff1b3709a/archive \
  -H "Authorization: Bearer $OPENSEAL_API_KEY"

TypeScript

import { OpenSeal } from "@openseal/sdk";

const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.archiveOrgWorkspace({
  id: "019321a3-230e-7037-872a-58aff1b3709a",
});

Python

import os
from openseal import OpenSeal

client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.archive_org_workspace(
    id="019321a3-230e-7037-872a-58aff1b3709a",
)
Response200
{
  "id": "0193e87c-b45c-705a-8d38-9d58904ea398",
  "name": "Example Workspace",
  "status": "active",
  "sandbox": false
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks org.workspaces.archive
404CS-API-0002No such object, or one of another account (answered alike)
429CS-API-0003Rate limited: wait for Retry-After seconds

Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.

Join organization workspace

POST/api/v1/organizations/me/workspaces/{id}/join

Become a member of a workspace (org.workspaces.join, owners and admins only)

The only way an organization role reaches agreements: one transaction writes the membership, member.added (via: organization) in the workspace's log and org.workspace_joined in the organization's. A delegated admin gets 403 CS-AUTH-0006; an archived workspace 409 CS-ORG-0010.

AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session

Permissionorg.workspaces.join (organization level) · no OAuth scope covers it: it comes from the member's role

Path parameters

  • idstringRequired

    Workspace id (UUIDv7)

Request body

Content type application/json · required

  • profilestringRequired

    admin, sender, viewer, or a permission profile id of that workspace

Returns

201 with a OrgWorkspaceMembership object.

POST/api/v1/organizations/me/workspaces/{id}/join

curl

curl -X POST https://sign.example.com/api/v1/organizations/me/workspaces/019321a3-230e-7037-872a-58aff1b3709a/join \
  -H "Authorization: Bearer $OPENSEAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "profile": "example"
}'

TypeScript

import { OpenSeal } from "@openseal/sdk";

const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.joinOrgWorkspace({
  id: "019321a3-230e-7037-872a-58aff1b3709a",
  body: {
    "profile": "example"
  },
});

Python

import os
from openseal import OpenSeal

client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.join_org_workspace(
    id="019321a3-230e-7037-872a-58aff1b3709a",
    body={
        "profile": "example",
    },
)
Response201
{
  "workspace_id": "019321a3-230e-7037-872a-58aff1b3709a",
  "user_id": "019304f8-996d-7a76-83b7-a969b1028ee3",
  "permission_profile_id": "0193de47-4272-71ee-8dd9-deab850e36ce"
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks org.workspaces.join
404CS-API-0002No such object, or one of another account (answered alike)
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate limited: wait for Retry-After seconds

Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.

List organization admins

GET/api/v1/organizations/me/admins

The organization's owners and admins

AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session

Permissionorg.read (organization level) · no OAuth scope covers it: it comes from the member's role

Returns

200 with a OrgAdminList object.

GET/api/v1/organizations/me/admins

curl

curl https://sign.example.com/api/v1/organizations/me/admins \
  -H "Authorization: Bearer $OPENSEAL_API_KEY"

TypeScript

import { OpenSeal } from "@openseal/sdk";

const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const data = await os.listOrgAdmins();

Python

import os
from openseal import OpenSeal

client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
data = client.list_org_admins()
Response200
{
  "items": [
    {
      "user_id": "019304f8-996d-7a76-83b7-a969b1028ee3",
      "role": "owner",
      "permission_set_id": "0193c4da-60c5-7529-8e44-63c4730334cd",
      "workspace_scope": [
        "example"
      ],
      "created_at": "2026-11-20T09:30:00Z"
    }
  ]
}
Errors this can answer
StatusCodeWhen
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks org.read
429CS-API-0003Rate limited: wait for Retry-After seconds

Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.

Add organization admin

POST/api/v1/organizations/me/admins

Make a user an owner or admin (org.admins.manage, owners only), logged as organization.admin_added

The user must be an enabled member of a workspace of this organization, else 422 CS-ORG-0018 (also for an id the organization cannot see); never oneself (403 CS-ORG-0005).

AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session

Permissionorg.admins.manage (organization level) · no OAuth scope covers it: it comes from the member's role

Request body

Content type application/json · required

  • user_idstringRequired

    An enabled member of a workspace of this organization

  • rolestringRequired

    Delegated admins need a permission set

    One of owner, admin

Returns

201 with a OrgAdmin object.

POST/api/v1/organizations/me/admins

curl

curl -X POST https://sign.example.com/api/v1/organizations/me/admins \
  -H "Authorization: Bearer $OPENSEAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "user_id": "019304f8-996d-7a76-83b7-a969b1028ee3",
  "role": "owner"
}'

TypeScript

import { OpenSeal } from "@openseal/sdk";

const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.addOrgAdmin({
  body: {
    "user_id": "019304f8-996d-7a76-83b7-a969b1028ee3",
    "role": "owner"
  },
});

Python

import os
from openseal import OpenSeal

client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.add_org_admin(
    body={
        "user_id": "019304f8-996d-7a76-83b7-a969b1028ee3",
        "role": "owner",
    },
)
Response201
{
  "user_id": "019304f8-996d-7a76-83b7-a969b1028ee3",
  "role": "owner",
  "permission_set_id": "0193c4da-60c5-7529-8e44-63c4730334cd",
  "workspace_scope": [
    "example"
  ],
  "created_at": "2026-11-20T09:30:00Z"
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks org.admins.manage
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate limited: wait for Retry-After seconds

Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.

Update organization admin

PATCH/api/v1/organizations/me/admins/{user}

Change an administrator's role (owners only; never one's own), logged as organization.admin_role_changed

A delegated admin made an owner or admin loses its permission set and workspace scope; the same role again changes and logs nothing. Leaving no enabled owner is 409 CS-ORG-0008.

AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session

Permissionorg.admins.manage (organization level) · no OAuth scope covers it: it comes from the member's role

Path parameters

  • userstringRequired

    User id (UUIDv7)

Request body

Content type application/json · required

  • rolestringRequired

    One of owner, admin

Returns

200 with a OrgAdmin object.

PATCH/api/v1/organizations/me/admins/{user}

curl

curl -X PATCH https://sign.example.com/api/v1/organizations/me/admins/019304f8-996d-7a76-83b7-a969b1028ee3 \
  -H "Authorization: Bearer $OPENSEAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "role": "owner"
}'

TypeScript

import { OpenSeal } from "@openseal/sdk";

const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.patchOrgAdmin({
  user: "019304f8-996d-7a76-83b7-a969b1028ee3",
  body: {
    "role": "owner"
  },
});

Python

import os
from openseal import OpenSeal

client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.patch_org_admin(
    user="019304f8-996d-7a76-83b7-a969b1028ee3",
    body={
        "role": "owner",
    },
)
Response200
{
  "user_id": "019304f8-996d-7a76-83b7-a969b1028ee3",
  "role": "owner",
  "permission_set_id": "0193c4da-60c5-7529-8e44-63c4730334cd",
  "workspace_scope": [
    "example"
  ],
  "created_at": "2026-11-20T09:30:00Z"
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks org.admins.manage
404CS-API-0002No such object, or one of another account (answered alike)
413CS-API-0006The request body is over its limit
415CS-API-0007The body is not application/json
429CS-API-0003Rate limited: wait for Retry-After seconds

Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.

Remove organization admin

DELETE/api/v1/organizations/me/admins/{user}

Remove an administrator (owners only), logged as organization.admin_removed

An owner may resign; the last enabled owner may not (409 CS-ORG-0008).

AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session

Permissionorg.admins.manage (organization level) · no OAuth scope covers it: it comes from the member's role

Path parameters

  • userstringRequired

    User id (UUIDv7)

Returns

200 with application/json.

DELETE/api/v1/organizations/me/admins/{user}

curl

curl -X DELETE https://sign.example.com/api/v1/organizations/me/admins/019304f8-996d-7a76-83b7-a969b1028ee3 \
  -H "Authorization: Bearer $OPENSEAL_API_KEY"

TypeScript

import { OpenSeal } from "@openseal/sdk";

const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.removeOrgAdmin({
  user: "019304f8-996d-7a76-83b7-a969b1028ee3",
});

Python

import os
from openseal import OpenSeal

client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.remove_org_admin(
    user="019304f8-996d-7a76-83b7-a969b1028ee3",
)
Response200
{
  "user_id": "019304f8-996d-7a76-83b7-a969b1028ee3"
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks org.admins.manage
404CS-API-0002No such object, or one of another account (answered alike)
429CS-API-0003Rate limited: wait for Retry-After seconds

Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.

List organization admin events

GET/api/v1/organizations/me/audit

The organization's admin audit log (org.audit.read), oldest first, verified as read

As GET /admin-events, over the organization's chain: workspace creation and archiving, joins, administrator changes, renames, and the platform's operator.* copies.

AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session

Permissionorg.audit.read (organization level) · no OAuth scope covers it: it comes from the member's role

Query parameters

  • cursorinteger

    The seq after which to start

    minimum 0

  • limitinteger

    minimum 1 · maximum 1000 · Default 100

  • formatstring

    One of json, csv · Default json

  • verifystring

    One of page, full · Default page

Returns

200 with a AdminEventList object.

GET/api/v1/organizations/me/audit

curl

curl https://sign.example.com/api/v1/organizations/me/audit?limit=20 \
  -H "Authorization: Bearer $OPENSEAL_API_KEY"

TypeScript

import { OpenSeal } from "@openseal/sdk";

const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const data = await os.listOrgAdminEvents({
  limit: 20,
});

Python

import os
from openseal import OpenSeal

client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
data = client.list_org_admin_events(
    limit=20,
)
Response200
{
  "items": [
    {
      "seq": 12,
      "at": "2026-11-20T09:30:00Z",
      "action": "example",
      "hash": "example",
      "prev": "example",
      "event": {}
    }
  ],
  "next_cursor": 1
}
Errors this can answer
StatusCodeWhen
400 / 422CS-API-0001Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it
401CS-AUTH-0001No credential, or one that is expired or revoked (CS-AUTH-0002)
403CS-AUTH-0006The credential lacks org.audit.read
429CS-API-0003Rate limited: wait for Retry-After seconds

Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.