openapi/coordinator.yaml
Arcade Coordinator API
Public API surface of the Arcade Coordinator service.
Arcade Cloud base URL: https://cloud.arcade.dev— a self-hosted install serves the same paths from its own host.
Bearer: Enter your API key or API token in the format: Bearer <token>
Audit Logs
GET/api/v1/orgs/{organization_id}/audit_logsList organization audit logs
Query audit logs for an organization with cursor-based pagination.
Optionally filter by action, source, resource type, and time range.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
| action | query | string | Filter by audit action. Known values: |
| source | query | string | Filter by audit source. Known values: |
| resource_type | query | string | Filter by resource type. Examples: |
| start_time | query | string(date-time) | Inclusive lower bound for event timestamp (ISO 8601). |
| end_time | query | string(date-time) | Exclusive upper bound for event timestamp (ISO 8601). |
| cursor | query | string | Opaque pagination cursor returned by a previous response. |
| limit | query | integer | Number of results per page (1--100). Default: 50 |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | AuditLogListResponse |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
GET/api/v1/orgs/{organization_id}/projects/{project_id}/audit_logsList project audit logs
Query audit logs for a specific project with cursor-based pagination.
Optionally filter by action, source, resource type, and time range.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
| project_id* | path | string(uuid) | Project ID (UUID). |
| action | query | string | Filter by audit action. Known values: |
| source | query | string | Filter by audit source. Known values: |
| resource_type | query | string | Filter by resource type. Examples: |
| start_time | query | string(date-time) | Inclusive lower bound for event timestamp (ISO 8601). |
| end_time | query | string(date-time) | Exclusive upper bound for event timestamp (ISO 8601). |
| cursor | query | string | Opaque pagination cursor returned by a previous response. |
| limit | query | integer | Number of results per page (1--100). Default: 50 |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | AuditLogListResponse |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
Projects
GET/api/v1/orgs/{organization_id}/projectsList all projects
Get all projects the caller has access to within an organization.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
Responses
| Field | Type | Description |
|---|---|---|
| items* | array of ProjectResponse | |
| count* | integer | Total number of items. |
| total_count | integer | Total number of items. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
POST/api/v1/orgs/{organization_id}/projectsCreate a new project
Create a new project within an organization.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
Request body*
| Field | Type | Description |
|---|---|---|
| name* | string | Project name. |
| description | string | null | Project description. |
| image_url | string(uri) | null | Project image URL. |
| color | string | null | Project color (hex, 6 characters). |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | ProjectResponse |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
GET/api/v1/orgs/{organization_id}/projects/{project_id}Get project details
Get details for a specific project.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
| project_id* | path | string(uuid) | Project ID (UUID). |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | ProjectResponse |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
PUT/api/v1/orgs/{organization_id}/projects/{project_id}Update project
Update project details (name, description, image, color).
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
| project_id* | path | string(uuid) | Project ID (UUID). |
Request body*
| Field | Type | Description |
|---|---|---|
| name | string | null | Project name. |
| description | string | null | Project description. |
| image_url | string(uri) | null | Project image URL. |
| color | string | null | Project color (hex, 6 characters). |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | ProjectResponse |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
DELETE/api/v1/orgs/{organization_id}/projects/{project_id}Delete project
Delete a project from the organization.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
| project_id* | path | string(uuid) | Project ID (UUID). |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data | object | null | Payload representing the result of an operation. May be empty for delete/success responses. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
GET/api/v1/orgs/{organization_id}/projects/{project_id}/membersList project members
List all members of a project.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
| project_id* | path | string(uuid) | Project ID (UUID). |
Responses
| Field | Type | Description |
|---|---|---|
| items* | array of ProjectMemberResponse | |
| count* | integer | Total number of members. |
| total_count | integer | Total number of items. |
| viewer* | ProjectMembersViewerResponse |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
DELETE/api/v1/orgs/{organization_id}/projects/{project_id}/members/{member_account_id}Remove a member from a project
Remove a member from a project. Organization owners can remove members even if they are not currently members of the project.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
| project_id* | path | string(uuid) | Project ID (UUID). |
| member_account_id* | path | string(uuid) | Account ID of the member to remove. |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
RBAC
POST/api/v1/orgs/{organization_id}/projects/{project_id}/membersAssign an org member to this project at a role
Directly assign an existing organization member to this project at a project-level role. Requires the members_update project permission.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
| project_id* | path | string(uuid) | Project ID (UUID). |
Request body*
| Field | Type | Description |
|---|---|---|
| account_id* | string(uuid) | Account ID of the org member to assign. |
| role* | string | Role key to assign. Must be a role whose catalog level matches the endpoint (org-level key for org endpoints, project-level key for project endpoints), else the request is rejected with 422. |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | MemberRow |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
PUT/api/v1/orgs/{organization_id}/projects/{project_id}/members/{account_id}Change a project member's role
Change the project-level role of an existing project member. Requires the members_update project permission. Re-assigning the role the member already holds is an idempotent success.
Note: organization admins inherit administration over every child project and hold no per-project role binding, so their project role cannot be changed through this endpoint.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
| project_id* | path | string(uuid) | Project ID (UUID). |
| account_id* | path | string(uuid) | Account ID (UUID) of the member whose role is being changed or revoked. |
Request body*
| Field | Type | Description |
|---|---|---|
| role* | string | New role key. Must match the endpoint's level (org or project), else the request is rejected with 422. |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | MemberRow |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
GET/api/v1/orgs/{organization_id}/projects/{project_id}/assignable-membersList org members assignable to this project
List organization members who are eligible to be assigned to this project. Requires the members_update project permission.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
| project_id* | path | string(uuid) | Project ID (UUID). |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | AssignableAccountsResponse |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
GET/api/v1/orgs/{organization_id}/capabilitiesGet the caller's org-level capabilities
Report the caller's effective org-level permissions plus the billing capability block. Mounted regardless of the operator-authz flag: when the flag is OFF the response carries authz.enabled = false with no permissions, so a client can detect the flag state without inferring it from a missing route.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
Responses
| Field | Type | Description |
|---|---|---|
| authz* | OrgAuthzCapabilities | |
| billing* | BillingCapabilities |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
GET/api/v1/orgs/{organization_id}/authz/rolesList roles available in the organization
Return the roles catalog for the organization -- every role key with its display name, level, and the permission bundle it grants. Use a role key from this catalog as the role field when assigning or changing a role.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | RolesResponse |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
GET/api/v1/orgs/{organization_id}/membersList organization members with their org-level role
The organization member directory: every account in the org with its org-level role (or none). Requires the members_read org permission.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | OrgMembersResponse |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
POST/api/v1/orgs/{organization_id}/membersAssign an org-level role
Assign an org-level role (e.g. org_admin) to an organization member. Requires the members_update org permission.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
Request body*
| Field | Type | Description |
|---|---|---|
| account_id* | string(uuid) | Account ID of the org member to assign. |
| role* | string | Role key to assign. Must be a role whose catalog level matches the endpoint (org-level key for org endpoints, project-level key for project endpoints), else the request is rejected with 422. |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | OrgMemberRow |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
PUT/api/v1/orgs/{organization_id}/members/{account_id}Change an org-level role
Change the org-level role of an organization member. Requires the members_update org permission. Re-assigning the role the member already holds is an idempotent success.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
| account_id* | path | string(uuid) | Account ID (UUID) of the member whose role is being changed or revoked. |
Request body*
| Field | Type | Description |
|---|---|---|
| role* | string | New role key. Must match the endpoint's level (org or project), else the request is rejected with 422. |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | OrgMemberRow |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
DELETE/api/v1/orgs/{organization_id}/members/{account_id}Revoke an org-level role binding
Revoke the caller-specified account's org-level role binding. Requires the members_delete org permission. This removes the org-level role only and does not affect legacy organization membership.
Removal is fail-closed: if the policy store cannot be reached the binding is left intact and the request fails with 503 rather than reporting a removal that did not happen.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
| account_id* | path | string(uuid) | Account ID (UUID) of the member whose role is being changed or revoked. |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
Schemas
AssignableAccount object
| Field | Type | Description |
|---|---|---|
| account_id* | string(uuid) | Account ID of the assignable member. |
| email* | string(email) | Email address of the member. |
| name | string | null | Full name of the member. |
AssignableAccountsResponse object
| Field | Type | Description |
|---|---|---|
| items* | array of AssignableAccount | |
| count* | integer | Number of members in this response. |
| total_count* | integer | Total number of assignable members. |
AssignableAccountsResponseEnvelope object
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | AssignableAccountsResponse |
AuditLogListEnvelope object
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | AuditLogListResponse |
AuditLogListResponse object
| Field | Type | Description |
|---|---|---|
| items* | array of AuditLogResponse | |
| next_cursor | string | null | Cursor to pass as the |
| has_more* | boolean | Whether additional pages exist beyond this one. |
AuditLogResponse object
| Field | Type | Description |
|---|---|---|
| id* | string(uuid) | Internal audit log record ID. |
| event_id* | string(uuid) | Unique event ID assigned at emission time. |
| timestamp* | string(date-time) | When the audited action occurred. |
| client_ip | string | null | IP address of the caller, if available. |
| action* | string | Audit action (e.g. |
| source* | string | Origin of the action (e.g. |
| display_name* | string | Human-readable name of the caller. |
| customer_id | string(uuid) | null | Customer ID, if applicable. |
| organization_id* | string(uuid) | Organization the event belongs to. |
| project_id | string(uuid) | null | Project the event belongs to, if scoped to a project. |
| principal_id* | string | Account ID or API key ID of the caller. |
| user_id | string | null | User ID for user-account callers. |
| principal_type* | string | Type of principal (e.g. |
| resource_type | string | null | Type of the affected resource (e.g. |
| resource_id | string | null | Identifier of the affected resource. |
| resource_display | string | null | Human-readable name of the affected resource. |
| data | object | null | Structured event payload. Shape depends on the action:
Sensitive fields (secrets, tokens) are masked. |
| created_time* | string(date-time) | When the audit log record was persisted. |
BillingCapabilities object
| Field | Type | Description |
|---|---|---|
| enabled* | boolean | Whether billing capabilities are enabled for the caller. |
ContainerRef object
| Field | Type | Description |
|---|---|---|
| type* | RoleLevel | |
| id* | string | ID of the org or project the role is held in. |
| name | string | null | Display name of the container, if available. |
CreateProjectInput object
| Field | Type | Description |
|---|---|---|
| name* | string | Project name. |
| description | string | null | Project description. |
| image_url | string(uri) | null | Project image URL. |
| color | string | null | Project color (hex, 6 characters). |
ErrorEnvelope object
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
ListProjectMembersResponse object
| Field | Type | Description |
|---|---|---|
| items* | array of ProjectMemberResponse | |
| count* | integer | Total number of members. |
| total_count | integer | Total number of items. |
| viewer* | ProjectMembersViewerResponse |
ListProjectsResponse object
| Field | Type | Description |
|---|---|---|
| items* | array of ProjectResponse | |
| count* | integer | Total number of items. |
| total_count | integer | Total number of items. |
MemberActions object
| Field | Type | Description |
|---|---|---|
| can_remove* | boolean | Whether the caller can remove this member. |
| cannot_remove_reason | string | null | Reason why the member cannot be removed, if any. |
| can_change_role* | boolean | Whether the caller can change this member's role. |
MemberAssignRequest object
| Field | Type | Description |
|---|---|---|
| account_id* | string(uuid) | Account ID of the org member to assign. |
| role* | string | Role key to assign. Must be a role whose catalog level matches the endpoint (org-level key for org endpoints, project-level key for project endpoints), else the request is rejected with 422. |
MemberRoleUpdateRequest object
| Field | Type | Description |
|---|---|---|
| role* | string | New role key. Must match the endpoint's level (org or project), else the request is rejected with 422. |
MemberRow object
| Field | Type | Description |
|---|---|---|
| account_id* | string(uuid) | Account ID of the member. |
| email* | string(email) | Email address of the member. |
| full_name | string | null | Full name of the member. |
| preferred_name | string | null | Preferred name of the member. |
| role* | RoleRef | |
| actions* | MemberActions |
MemberRowEnvelope object
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | MemberRow |
OrgAuthzCapabilities object
| Field | Type | Description |
|---|---|---|
| enabled* | boolean | Whether operator RBAC is enabled for this organization. |
| permissions* | array of string | Org-level permission tokens the caller holds. |
OrgCapabilities object
| Field | Type | Description |
|---|---|---|
| authz* | OrgAuthzCapabilities | |
| billing* | BillingCapabilities |
OrgMemberRow object
| Field | Type | Description |
|---|---|---|
| account_id* | string(uuid) | Account ID of the member. |
| email* | string(email) | Email address of the member. |
| name | string | null | Full name of the member. |
| org_role | RoleRef | null | The member's org-level role, or null if they hold none. |
OrgMemberRowEnvelope object
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | OrgMemberRow |
OrgMembersResponse object
| Field | Type | Description |
|---|---|---|
| items* | array of OrgMemberRow | |
| count* | integer | Number of members in this response. |
| total_count* | integer | Total number of members in the organization. |
OrgMembersResponseEnvelope object
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | OrgMembersResponse |
ProjectMemberResponse object
| Field | Type | Description |
|---|---|---|
| account_id* | string(uuid) | Account ID of the member. |
| email* | string(email) | Email address of the member. |
| full_name* | string | Full name of the member. |
| preferred_name | string | null | Preferred name of the member. |
| actions* | object |
ProjectMembersViewerResponse object
| Field | Type | Description |
|---|---|---|
| can_leave | boolean | Whether the caller can leave the project. |
| cannot_leave_reason | string | null | Reason why the caller cannot leave. |
| can_remove_members | boolean | Whether the caller can remove other members. |
ProjectResponse object
| Field | Type | Description |
|---|---|---|
| project_id* | string(uuid) | Unique project identifier. |
| organization_id* | string(uuid) | Organization the project belongs to. |
| name* | string | Project name. |
| description | string | null | Project description. |
| image_url | string(uri) | null | Project image URL. |
| color | string | null | Project color (hex, 6 chars). |
| is_default* | boolean | Whether this is the caller's default project. |
| created_at* | string(date-time) | When the project was created. |
ProjectResponseEnvelope object
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | ProjectResponse |
RoleCatalogEntry object
| Field | Type | Description |
|---|---|---|
| key* | string | Opaque role key. |
| display_name* | string | Human-readable role name. |
| level* | RoleLevel | |
| builtin* | boolean | Whether this is a built-in role. |
| editable* | boolean | Whether the role's permission bundle can be edited. |
| invitable* | boolean | Whether members can be invited directly at this role. |
| permissions* | array of ScopedPermission |
RoleLevel string
The object level a role applies to.
RoleRef object
| Field | Type | Description |
|---|---|---|
| key* | string | Opaque role key (e.g. |
| display_name* | string | Human-readable role name. |
| level* | RoleLevel | |
| builtin* | boolean | Whether this is a built-in role (not a custom org role). |
| container* | ContainerRef |
RolesResponse object
| Field | Type | Description |
|---|---|---|
| roles* | array of RoleCatalogEntry |
RolesResponseEnvelope object
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | RolesResponse |
ScopedPermission object
| Field | Type | Description |
|---|---|---|
| token* | string | Permission token held by the role, e.g. |
| level* | RoleLevel |
SuccessEnvelope object
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data | object | null | Payload representing the result of an operation. May be empty for delete/success responses. |
UpdateProjectInput object
| Field | Type | Description |
|---|---|---|
| name | string | null | Project name. |
| description | string | null | Project description. |
| image_url | string(uri) | null | Project image URL. |
| color | string | null | Project color (hex, 6 characters). |