Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5347,6 +5347,10 @@ components:
description: 'Unix timestamp (seconds) when the image URLs in `data` stop working. Download the images before then.'
example: 1748458800
type: 'integer'
id:
description: 'Generation ID of this request. Look up its cost and details with `GET /api/v1/generation?id=<id>`.'
example: 'gen-batch-1748372400-3f1c9b2e7a5d4c8e0b61'
type: 'string'
usage:
$ref: '#/components/schemas/ImageGenerationUsage'
required:
Expand Down Expand Up @@ -61052,7 +61056,7 @@ paths:
results: '$.data'
type: 'offsetLimit'
post:
description: 'Create a SCIM group-to-workspace role mapping. Creating a mapping that already exists with the same role succeeds and re-applies the mapping to the group members. Requesting a different role for an existing mapping returns 409. Assigning the `admin` role is dashboard-only and returns 403 for management keys. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
description: 'Create a SCIM group-to-workspace role mapping. Creating a mapping that already exists with the same role succeeds and re-applies the mapping to the group members. Requesting a different role for an existing mapping returns 409. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
operationId: 'createScimGroupMapping'
requestBody:
content:
Expand Down Expand Up @@ -61133,7 +61137,7 @@ paths:
x-speakeasy-name-override: 'create'
/scim/group-mappings/{id}:
delete:
description: 'Delete a SCIM group-to-workspace mapping. For an `admin` mapping, `keep_members=true` returns `403` and leaves the mapping in place — preserving members as workspace admins is dashboard-only. Deleting a mapping that has guardrail policies attached returns `403`; remove those policies in the dashboard first. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
description: 'Delete a SCIM group-to-workspace mapping. Deleting a mapping that has guardrail policies attached returns `403` unless the organization has guardrail policy management enabled and the key also has guardrail-update authority, in which case deleting the mapping releases its attached guardrail assignments. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
operationId: 'deleteScimGroupMapping'
parameters:
- in: 'path'
Expand All @@ -61142,7 +61146,7 @@ paths:
schema:
format: 'uuid'
type: 'string'
- description: 'Required. Whether to keep workspace members after deleting the mapping. `false` **removes** the members this mapping granted access to; `true` deletes the mapping while leaving membership intact as manually-managed. Exception: for an `admin` mapping, `keep_members=true` returns `403` and leaves the mapping in place — management keys cannot preserve members as workspace admins, so do not plan an admin mapping rotation around preserving members through this endpoint (use the dashboard instead). There is deliberately no default — omitting it returns `400` so the destructive path cannot be reached by accident. Mirrors the dashboard, whose `DeleteMappingSchema.keepMembers` is likewise required.'
- description: 'Required. Whether to keep workspace members after deleting the mapping. `false` **removes** SCIM-managed workspace memberships that no surviving mapping grants (including members of this group and any stale SCIM-managed memberships outside it); `true` deletes the mapping while converting current members of an active mapped group to manually-managed (retaining the lower of their stored role and the deleted mapping''s role) if no other mapping grants them access to the workspace (surviving mappings to the same workspace take precedence and keep the member SCIM-managed with their remaining role; orphaned SCIM memberships and members of a soft-deleted group are still revoked). There is deliberately no default — omitting it returns `400` so the destructive path cannot be reached by accident. Mirrors the dashboard, whose `DeleteMappingSchema.keepMembers` is likewise required.'
in: 'query'
name: 'keep_members'
required: true
Expand All @@ -61153,7 +61157,7 @@ paths:
- 'false'
type: 'string'
- type: 'boolean'
description: 'Required. Whether to keep workspace members after deleting the mapping. `false` **removes** the members this mapping granted access to; `true` deletes the mapping while leaving membership intact as manually-managed. Exception: for an `admin` mapping, `keep_members=true` returns `403` and leaves the mapping in place — management keys cannot preserve members as workspace admins, so do not plan an admin mapping rotation around preserving members through this endpoint (use the dashboard instead). There is deliberately no default — omitting it returns `400` so the destructive path cannot be reached by accident. Mirrors the dashboard, whose `DeleteMappingSchema.keepMembers` is likewise required.'
description: 'Required. Whether to keep workspace members after deleting the mapping. `false` **removes** SCIM-managed workspace memberships that no surviving mapping grants (including members of this group and any stale SCIM-managed memberships outside it); `true` deletes the mapping while converting current members of an active mapped group to manually-managed (retaining the lower of their stored role and the deleted mapping''s role) if no other mapping grants them access to the workspace (surviving mappings to the same workspace take precedence and keep the member SCIM-managed with their remaining role; orphaned SCIM memberships and members of a soft-deleted group are still revoked). There is deliberately no default — omitting it returns `400` so the destructive path cannot be reached by accident. Mirrors the dashboard, whose `DeleteMappingSchema.keepMembers` is likewise required.'
example: false
responses:
'200':
Expand Down Expand Up @@ -61278,7 +61282,7 @@ paths:
- 'SCIM'
x-speakeasy-name-override: 'read'
patch:
description: 'Update a SCIM group mapping role. Assigning the `admin` role is dashboard-only and returns 403 for management keys. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
description: 'Update a SCIM group mapping role. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
operationId: 'updateScimGroupMapping'
parameters:
- in: 'path'
Expand Down
Loading