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, newest first, paginated by offset.
Optionally filter by action, source, resource type, resource ID, and time range. The reported total counts the entries the filters select, not the page.
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: |
| resource_id | query | string | Filter by the resource's unique identifier. |
| 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). |
| offset | query | integer | How many matching entries to skip before this page. Default: 0 |
| 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, newest first, paginated by offset.
Optionally filter by action, source, resource type, resource ID, and time range. The reported total counts the entries the filters select, not the page.
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: |
| resource_id | query | string | Filter by the resource's unique identifier. |
| 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). |
| offset | query | integer | How many matching entries to skip before this page. Default: 0 |
| 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. |
User Sources
GET/api/v1/orgs/{organization_id}/projects/{project_id}/user_sourcesList user sources
List user sources visible in this project, newest first, paginated by offset. total_count is the full matching set before pagination.
client_secret is never returned.
Requires the user_sources_read 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). |
| limit | query | integer | Results per page. Default: 100 |
| offset | query | integer | Rows to skip before the page. Default: 0 |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | UserSourceList |
| 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. |
POST/api/v1/orgs/{organization_id}/projects/{project_id}/user_sourcesCreate a user source
Create a project-bound user source. The new record always has binding_type: project. Its id is a us_-prefixed KSUID; pass that id to Engine gateway create/update as user_source_id when auth_type=user_source.
The Coordinator probes the issuer's OIDC discovery document and JWKS before persisting. A malformed, unreachable, or self-inconsistent issuer is rejected with 422. The stored issuer string is the caller's exact input (no trailing-slash normalization) so it can be exact-matched against the iss claim on upstream ID tokens.
scopes must include openid. Duplicates are collapsed on write while preserving first occurrence. client_secret is stored encrypted and is never returned.
Requires the user_sources_create 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 |
|---|---|---|
| name* | string | Human-readable name. |
| description | string | Freeform description. Visible to project members, never to end users. Default: "" |
| protocol | UserSourceProtocol | Default: "oidc" |
| issuer* | string(uri) | OIDC issuer URL. Stored verbatim. Must be reachable and serve a self-consistent discovery document and JWKS at create time. |
| client_id* | string | OIDC client ID. |
| client_secret* | string | OIDC client secret (plaintext; stored encrypted). Never returned in responses. |
| subject_claim | string | OIDC claim used as the stable subject identifier. Default: "sub" |
| scopes | array of string | OIDC scopes requested from the upstream IdP. Must include Default: ["openid","profile","email"] |
| status | UserSourceStatus | Default: "active" |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | UserSource |
| 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. |
| 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}/user_sources/{user_source_id}Get a user source
Return one project-bound user source. client_secret is never returned.
Organization-bound records (binding_type: organization) return 422, not 404, with guidance to use the organization scope. Platform-internal (static) records return 404. Unknown ids return 404. A malformed id (missing or wrong us_ prefix, or not a KSUID) returns 422.
Requires the user_sources_read 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). |
| user_source_id* | path | string | User source id. A Example: "us_0000GfkSkVjL1s3EM2wUfhjxv7B" |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | UserSource |
| 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}/user_sources/{user_source_id}Replace a user source
Full replace of a project-bound user source. client_secret is required. The Coordinator re-validates the issuer's OIDC discovery document and JWKS. client_secret is never returned.
Organization-bound records return 422. Static records return 404.
Requires the user_sources_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). |
| user_source_id* | path | string | User source id. A Example: "us_0000GfkSkVjL1s3EM2wUfhjxv7B" |
Request body*
| Field | Type | Description |
|---|---|---|
| name* | string | Human-readable name. |
| description | string | Freeform description. Default: "" |
| protocol | UserSourceProtocol | Default: "oidc" |
| issuer* | string(uri) | OIDC issuer URL. Stored verbatim. Re-validated on replace. |
| client_id* | string | OIDC client ID. |
| client_secret* | string | OIDC client secret (plaintext; stored encrypted). Required on replace. Never returned in responses. |
| subject_claim | string | OIDC claim used as the stable subject identifier. Default: "sub" |
| scopes | array of string | OIDC scopes requested from the upstream IdP. Must include Default: ["openid","profile","email"] |
| status | UserSourceStatus | Default: "active" |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | UserSource |
| 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. |
| 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}/user_sources/{user_source_id}Delete a user source
Permanently delete a project-bound user source. Returns 204 with no body on success.
Organization-bound records return 422. Static records return 404.
Requires the user_sources_delete 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). |
| user_source_id* | path | string | User source id. A Example: "us_0000GfkSkVjL1s3EM2wUfhjxv7B" |
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. |
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 400 |
| msg* | string | Example: "Bad Request" |
| data | object | Optional error details. |
PATCH/api/v1/orgs/{organization_id}/projects/{project_id}/user_sources/{user_source_id}Patch a user source
Partial update of a project-bound user source. Omitted fields keep their stored values.
client_secret: omit to keep the stored secret; send a new value to rotate; send explicit null to clear. issuer must not be null. description sent as null is stored as an empty string.
The Coordinator re-validates OIDC discovery and JWKS only when issuer or scopes actually change, so a transient IdP outage does not block a status flip. client_secret is never returned.
Organization-bound records return 422. Static records return 404.
Requires the user_sources_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). |
| user_source_id* | path | string | User source id. A Example: "us_0000GfkSkVjL1s3EM2wUfhjxv7B" |
Request body*
| Field | Type | Description |
|---|---|---|
| name | string | Human-readable name. Omit to keep the stored value. |
| description | string | Freeform description. Omit to keep the stored value. Explicit |
| protocol | UserSourceProtocol | |
| issuer | string(uri) | null | OIDC issuer URL. Omit to keep the stored value. Must not be |
| client_id | string | OIDC client ID. Omit to keep the stored value. |
| client_secret | string | null | OIDC client secret. Omit to keep the stored secret. Send a new value to rotate. Explicit |
| subject_claim | string | OIDC claim used as the stable subject identifier. |
| scopes | array of string | OIDC scopes requested from the upstream IdP. Must include |
| status | UserSourceStatus |
Responses
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | UserSource |
| 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. |
| 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. Results are limit/offset paginated; total_count reports the org-wide member count regardless of the page requested.
Authorization: Bearer
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| organization_id* | path | string(uuid) | Organization ID (UUID). |
| limit | query | integer | Results per page. Default: 100 |
| offset | query | integer | Rows to skip before the page. Default: 0 |
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. |
| 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 | |
| total_count* | integer | Total entries matching the filters, across every page. Add the page's limit to its offset until that reaches this value to walk the set. |
| limit* | integer | Page size the request asked for. |
| offset* | integer | Offset the request asked for. |
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. |
MemberProject object
| Field | Type | Description |
|---|---|---|
| project_id* | string(uuid) | ID of the covered project. |
| name* | string | Display name of the covered project. |
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. |
| projects | array of MemberProject | Projects the member effectively covers in this org. An Org Admin covers every project; everyone else covers only projects they hold a direct binding on. Populated on the directory read. |
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 | |
| total_count* | integer | Total number of members in the organization. |
| limit* | integer | Page size the request asked for. |
| offset* | integer | Offset the request asked for. |
| can_invite* | boolean | Whether the caller may add a member to the organization (mirrors the POST /orgs/{organization_id}/members gate). |
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). |
UserSource object
| Field | Type | Description |
|---|---|---|
| id* | string | User source id ( Example: "us_0000GfkSkVjL1s3EM2wUfhjxv7B" |
| organization_id* | string(uuid) | Owning organization. |
| project_id | string(uuid) | null | Owning project. |
| binding_type* | UserSourceBindingType | |
| name* | string | Human-readable name. |
| description* | string | Freeform description. Never shown to end users. |
| protocol* | UserSourceProtocol | |
| issuer* | string | OIDC issuer URL, stored exactly as submitted (no trailing-slash normalization) so it can be exact-matched against the |
| client_id* | string | OIDC client ID. |
| subject_claim* | string | OIDC claim used as the stable subject identifier. Example: "sub" |
| scopes* | array of string | OIDC scopes requested from the upstream IdP. Example: ["openid","profile","email"] |
| status* | UserSourceStatus | |
| created_at* | string(date-time) | Creation timestamp. |
| updated_at* | string(date-time) | Last-updated timestamp. |
UserSourceBindingType string
Whether the record is project-scoped (mutable on this route) or organization-scoped (inherited; GET/PUT/PATCH/DELETE through the project path return 422). Platform-internal static bindings never appear on the wire.
UserSourceCreateRequest object
| Field | Type | Description |
|---|---|---|
| name* | string | Human-readable name. |
| description | string | Freeform description. Visible to project members, never to end users. Default: "" |
| protocol | UserSourceProtocol | Default: "oidc" |
| issuer* | string(uri) | OIDC issuer URL. Stored verbatim. Must be reachable and serve a self-consistent discovery document and JWKS at create time. |
| client_id* | string | OIDC client ID. |
| client_secret* | string | OIDC client secret (plaintext; stored encrypted). Never returned in responses. |
| subject_claim | string | OIDC claim used as the stable subject identifier. Default: "sub" |
| scopes | array of string | OIDC scopes requested from the upstream IdP. Must include Default: ["openid","profile","email"] |
| status | UserSourceStatus | Default: "active" |
UserSourceEnvelope object
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | UserSource |
UserSourceList object
| Field | Type | Description |
|---|---|---|
| items* | array of UserSource | |
| total_count* | integer | Total matching items across every page. |
| limit* | integer | Page size the request asked for. |
| offset* | integer | Offset the request asked for. |
UserSourceListEnvelope object
| Field | Type | Description |
|---|---|---|
| code* | integer | Example: 200 |
| msg* | string | Example: "Request successful" |
| data* | UserSourceList |
UserSourcePatchRequest object
| Field | Type | Description |
|---|---|---|
| name | string | Human-readable name. Omit to keep the stored value. |
| description | string | Freeform description. Omit to keep the stored value. Explicit |
| protocol | UserSourceProtocol | |
| issuer | string(uri) | null | OIDC issuer URL. Omit to keep the stored value. Must not be |
| client_id | string | OIDC client ID. Omit to keep the stored value. |
| client_secret | string | null | OIDC client secret. Omit to keep the stored secret. Send a new value to rotate. Explicit |
| subject_claim | string | OIDC claim used as the stable subject identifier. |
| scopes | array of string | OIDC scopes requested from the upstream IdP. Must include |
| status | UserSourceStatus |
UserSourceProtocol string
Authentication protocol. Only OIDC is supported.
UserSourceReplaceRequest object
| Field | Type | Description |
|---|---|---|
| name* | string | Human-readable name. |
| description | string | Freeform description. Default: "" |
| protocol | UserSourceProtocol | Default: "oidc" |
| issuer* | string(uri) | OIDC issuer URL. Stored verbatim. Re-validated on replace. |
| client_id* | string | OIDC client ID. |
| client_secret* | string | OIDC client secret (plaintext; stored encrypted). Required on replace. Never returned in responses. |
| subject_claim | string | OIDC claim used as the stable subject identifier. Default: "sub" |
| scopes | array of string | OIDC scopes requested from the upstream IdP. Must include Default: ["openid","profile","email"] |
| status | UserSourceStatus | Default: "active" |
UserSourceStatus string
Whether the user source is active.