Skip to content

Commit b6a4f43

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#1459)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent b931a3c commit b6a4f43

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44490,7 +44490,7 @@ paths:
4449044490
- 'Batch'
4449144491
/batches/{id}/cancel:
4449244492
post:
44493-
description: 'Asks the provider to stop a batch that is still running. Cancellation is enabled per organization; other organizations get `403`. The response is the batch in its current status: it stays `in_progress` until the provider confirms, then becomes `cancelled`, or `completed`, `failed`, or `expired` when the provider job ended first. Poll until the batch has any final status. Repeating the call is safe while the batch is still `in_progress`; once it has a final status the call returns `409`. OpenRouter returns no result rows for a cancelled batch, and the provider still charges for the requests that finished before the cancellation. When the batch wrote its output to your own storage, retrieving the batch can still return that location, and the rows the provider wrote there stay yours to read. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).'
44493+
description: 'Asks the provider to stop a batch that is still running. Cancellation is enabled per organization; other organizations get `403`. The response is the batch in its current status: it stays `in_progress` until the provider confirms, then becomes `cancelled`, or `completed`, `failed`, or `expired` when the provider job ended first. Poll until the batch has any final status. Repeating the call is safe while the batch is still `in_progress`; once it has a final status the call returns `409`. On OpenAI a cancelled batch keeps the requests that finished before the cancellation when OpenAI returns them: they are in `results` and billed like the rows of a completed batch. On every other provider OpenRouter returns no result rows for a cancelled batch, and the provider still charges for the requests that finished. When the batch wrote its output to your own storage, retrieving the batch can still return that location, and the rows the provider wrote there stay yours to read. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).'
4449444494
operationId: 'cancelBatch'
4449544495
parameters:
4449644496
- description: 'The batch job id returned from submit.'
@@ -57088,7 +57088,7 @@ paths:
5708857088
example:
5708957089
data:
5709057090
- email: 'jane.doe@example.com'
57091-
external_id: 'scim_usr_3J9P6a5UiLQcpRMGx4bdOVrKceF'
57091+
external_id: '00u1a2b3c4D5e6F7g8h9'
5709257092
first_name: 'Jane'
5709357093
id: 'user_2dHFtVWx2n56w6HkM0000000000'
5709457094
last_name: 'Doe'
@@ -57105,8 +57105,8 @@ paths:
5710557105
example: 'jane.doe@example.com'
5710657106
type: 'string'
5710757107
external_id:
57108-
description: 'The member''s SCIM user ID, which your identity provider stores for their OpenRouter account (Okta shows it as External ID); not the SCIM `externalId` attribute. Set when your organization''s SCIM directory provisions, updates or syncs the member. Null when this organization''s directory did not provision the member (for example, they were invited, signed up directly, or provisioned by another organization''s directory) or has not synced them yet. Members can keep their last synced value after the directory is removed.'
57109-
example: 'scim_usr_3J9P6a5UiLQcpRMGx4bdOVrKceF'
57108+
description: 'The member''s user ID at your identity provider, recorded when they sign in through your organization''s SSO connection. Your identity provider must send the user ID attribute that connection reads (for Okta, `id` = `user.id`; for other identity providers, contact support). Set for members your organization''s SCIM directory provisioned, once OpenRouter syncs them after that sign-in. Null before then, or when this organization''s directory did not provision the member. Members can keep their last synced value after the directory is removed.'
57109+
example: '00u1a2b3c4D5e6F7g8h9'
5711057110
type:
5711157111
- 'string'
5711257112
- 'null'

0 commit comments

Comments
 (0)