Skip to content
Merged
Show file tree
Hide file tree
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
178 changes: 157 additions & 21 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
python:
version: 1.3.224
version: 1.3.225
additionalDependencies:
dev:
pytest: '>=8.3'
Expand Down
318 changes: 318 additions & 0 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11660,6 +11660,30 @@ components:
required:
- 'data'
type: 'object'
CreateScimOrganizationRoleMappingRequest:
properties:
role:
description: 'Organization role granted to members of the mapped SCIM group.'
enum:
- 'admin'
- 'member'
example: 'member'
type: 'string'
x-speakeasy-unknown-values: allow
scim_group_id:
format: 'uuid'
type: 'string'
required:
- 'scim_group_id'
- 'role'
type: 'object'
CreateScimOrganizationRoleMappingResponse:
properties:
data:
$ref: '#/components/schemas/ScimOrganizationRoleMapping'
required:
- 'data'
type: 'object'
CreateScimSyncJobResponse:
properties:
data:
Expand Down Expand Up @@ -12857,6 +12881,14 @@ components:
required:
- 'deleted'
type: 'object'
DeleteScimOrganizationRoleMappingResponse:
properties:
deleted:
const: true
type: 'boolean'
required:
- 'deleted'
type: 'object'
DeleteWorkspaceBudgetResponse:
example:
deleted: true
Expand Down Expand Up @@ -19537,6 +19569,22 @@ components:
- 'data'
- 'total_count'
type: 'object'
ListScimOrganizationRoleMappingsResponse:
properties:
data:
items:
$ref: '#/components/schemas/ScimOrganizationRoleMapping'
type: 'array'
role_mapping_enabled:
description: 'Whether organization role mapping is enabled for the SCIM directory. Enable it in the dashboard before creating or deleting mappings.'
type: 'boolean'
total_count:
type: 'integer'
required:
- 'role_mapping_enabled'
- 'data'
- 'total_count'
type: 'object'
ListToolsResponse:
properties:
data:
Expand Down Expand Up @@ -34930,6 +34978,50 @@ components:
- 'created_at'
- 'updated_at'
type: 'object'
ScimOrganizationRoleMapping:
example:
created_at: '2025-08-24T10:30:00.000Z'
id: 'scimgrm_2abc123'
precedence: 1
role: 'member'
scim_group_display_name: 'Engineering'
scim_group_id: '550e8400-e29b-41d4-a716-446655440000'
updated_at: '2025-08-24T10:30:00.000Z'
properties:
created_at:
type: 'string'
id:
type: 'string'
precedence:
description: 'Resolution order when a user is in several mapped groups; lower wins.'
type: 'integer'
role:
description: 'Organization role granted to members of the mapped SCIM group.'
enum:
- 'admin'
- 'member'
example: 'member'
type: 'string'
x-speakeasy-unknown-values: allow
scim_group_display_name:
type: 'string'
scim_group_id:
description: 'ID of the SCIM group (from `GET /scim/groups`). `null` when the identity provider group has not been synced yet.'
format: 'uuid'
type:
- 'string'
- 'null'
updated_at:
type: 'string'
required:
- 'id'
- 'scim_group_id'
- 'scim_group_display_name'
- 'role'
- 'precedence'
- 'created_at'
- 'updated_at'
type: 'object'
ScimSyncJob:
properties:
created_at:
Expand Down Expand Up @@ -62277,6 +62369,232 @@ paths:
- $ref: "#/components/parameters/AppIdentifier"
- $ref: "#/components/parameters/AppDisplayName"
- $ref: "#/components/parameters/AppCategories"
/scim/organization-role-mappings:
get:
description: 'List the SCIM group-to-organization-role mappings for the organization, and whether organization role mapping is enabled. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
operationId: 'listScimOrganizationRoleMappings'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ListScimOrganizationRoleMappingsResponse'
description: 'List of SCIM organization role mappings'
'401':
content:
application/json:
example:
error:
code: 401
message: 'Missing Authentication header'
schema:
$ref: '#/components/schemas/UnauthorizedResponse'
description: 'Unauthorized - Authentication required or invalid credentials'
'403':
content:
application/json:
example:
error:
code: 403
message: 'Only management keys can perform this operation'
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: 'Forbidden - Authentication successful but insufficient permissions'
'404':
content:
application/json:
example:
error:
code: 404
message: 'Resource not found'
schema:
$ref: '#/components/schemas/NotFoundResponse'
description: 'Not Found - Resource does not exist'
'500':
content:
application/json:
example:
error:
code: 500
message: 'Internal Server Error'
schema:
$ref: '#/components/schemas/InternalServerResponse'
description: 'Internal Server Error - Unexpected server error'
summary: 'List SCIM organization role mappings'
tags:
- 'SCIM'
x-speakeasy-name-override: 'listOrganizationRoleMappings'
post:
description: 'Map a SCIM group to an organization role (`admin` or `member`). Members of the group receive that organization role on their next SCIM sync. Organization role mapping must be enabled for the SCIM directory in the dashboard; otherwise writes return `409`. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
operationId: 'createScimOrganizationRoleMapping'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateScimOrganizationRoleMappingRequest'
required: true
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/CreateScimOrganizationRoleMappingResponse'
description: 'SCIM organization role mapping created'
'400':
content:
application/json:
example:
error:
code: 400
message: 'Invalid request parameters'
schema:
$ref: '#/components/schemas/BadRequestResponse'
description: 'Bad Request - Invalid request parameters or malformed input'
'401':
content:
application/json:
example:
error:
code: 401
message: 'Missing Authentication header'
schema:
$ref: '#/components/schemas/UnauthorizedResponse'
description: 'Unauthorized - Authentication required or invalid credentials'
'403':
content:
application/json:
example:
error:
code: 403
message: 'Only management keys can perform this operation'
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: 'Forbidden - Authentication successful but insufficient permissions'
'404':
content:
application/json:
example:
error:
code: 404
message: 'Resource not found'
schema:
$ref: '#/components/schemas/NotFoundResponse'
description: 'Not Found - Resource does not exist'
'409':
content:
application/json:
example:
error:
code: 409
message: 'Resource conflict. Please try again later.'
schema:
$ref: '#/components/schemas/ConflictResponse'
description: 'Conflict - Resource conflict or concurrent modification'
'500':
content:
application/json:
example:
error:
code: 500
message: 'Internal Server Error'
schema:
$ref: '#/components/schemas/InternalServerResponse'
description: 'Internal Server Error - Unexpected server error'
summary: 'Create a SCIM organization role mapping'
tags:
- 'SCIM'
x-speakeasy-name-override: 'createOrganizationRoleMapping'
parameters:
- $ref: "#/components/parameters/AppIdentifier"
- $ref: "#/components/parameters/AppDisplayName"
- $ref: "#/components/parameters/AppCategories"
/scim/organization-role-mappings/{id}:
delete:
description: 'Delete a SCIM group-to-organization-role mapping. Deleting the last `admin` mapping returns `409`. Organization role mapping must be enabled for the SCIM directory in the dashboard; otherwise writes return `409`. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
operationId: 'deleteScimOrganizationRoleMapping'
parameters:
- in: 'path'
name: 'id'
required: true
schema:
maxLength: 128
minLength: 1
type: 'string'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteScimOrganizationRoleMappingResponse'
description: 'SCIM organization role mapping deleted'
'400':
content:
application/json:
example:
error:
code: 400
message: 'Invalid request parameters'
schema:
$ref: '#/components/schemas/BadRequestResponse'
description: 'Bad Request - Invalid request parameters or malformed input'
'401':
content:
application/json:
example:
error:
code: 401
message: 'Missing Authentication header'
schema:
$ref: '#/components/schemas/UnauthorizedResponse'
description: 'Unauthorized - Authentication required or invalid credentials'
'403':
content:
application/json:
example:
error:
code: 403
message: 'Only management keys can perform this operation'
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: 'Forbidden - Authentication successful but insufficient permissions'
'404':
content:
application/json:
example:
error:
code: 404
message: 'Resource not found'
schema:
$ref: '#/components/schemas/NotFoundResponse'
description: 'Not Found - Resource does not exist'
'409':
content:
application/json:
example:
error:
code: 409
message: 'Resource conflict. Please try again later.'
schema:
$ref: '#/components/schemas/ConflictResponse'
description: 'Conflict - Resource conflict or concurrent modification'
'500':
content:
application/json:
example:
error:
code: 500
message: 'Internal Server Error'
schema:
$ref: '#/components/schemas/InternalServerResponse'
description: 'Internal Server Error - Unexpected server error'
summary: 'Delete a SCIM organization role mapping'
tags:
- 'SCIM'
x-speakeasy-name-override: 'deleteOrganizationRoleMapping'
parameters:
- $ref: "#/components/parameters/AppIdentifier"
- $ref: "#/components/parameters/AppDisplayName"
- $ref: "#/components/parameters/AppCategories"
/scim/sync-jobs:
post:
description: 'Start a SCIM directory sync. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ speakeasyVersion: 1.803.2
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:4ebc5f72bb4bde1a4c95de59087ce6f0bca2427676002202db033b7861afa147
sourceBlobDigest: sha256:aa553839bcd3f17ae3f080790fb549f29cecf7fdbc857b6dce6d222d36345bb6
sourceRevisionDigest: sha256:6185f185b85e8cbf9b2f4a39828ae8d21e85d8c1c2ea2a198d979cd544ab3d74
sourceBlobDigest: sha256:23ee9b5e5a1bfd0074fadb9f698f5cbb3542155243249bab3aaf5d8cf7841309
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:4ebc5f72bb4bde1a4c95de59087ce6f0bca2427676002202db033b7861afa147
sourceBlobDigest: sha256:aa553839bcd3f17ae3f080790fb549f29cecf7fdbc857b6dce6d222d36345bb6
sourceRevisionDigest: sha256:6185f185b85e8cbf9b2f4a39828ae8d21e85d8c1c2ea2a198d979cd544ab3d74
sourceBlobDigest: sha256:23ee9b5e5a1bfd0074fadb9f698f5cbb3542155243249bab3aaf5d8cf7841309
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:a6cf1ccde23827e7c3c72196d0dcace292a268842c26d6ea323c45e7f76383f6
codeSamplesRevisionDigest: sha256:8716e1847e73fdaa73c024a4295bbdaa85632657421799b41bf768bf9296fddc
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.803.2
Expand Down
Loading