Skip to content

Commit 40e00c4

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

1 file changed

Lines changed: 199 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42760,6 +42760,205 @@ paths:
4276042760
tags:
4276142761
- 'SCIM'
4276242762
x-speakeasy-name-override: 'getSyncJob'
42763+
/systemone:
42764+
post:
42765+
description: 'TypeSafe SDK compatible alias for `POST /api/alpha/decisions`. Accepts the same request body and returns the same response. Bare TypeSafe model IDs such as `jev-1.13` and `jev-latest` are mapped onto the `typesafe/` namespace.'
42766+
operationId: 'createSystemone'
42767+
requestBody:
42768+
content:
42769+
application/json:
42770+
example:
42771+
model: 'typesafe/jev-1.13'
42772+
questions:
42773+
is_bug:
42774+
criteria:
42775+
'false': 'The customer is asking a question or requesting a feature.'
42776+
'true': 'The customer describes broken or unexpected product behavior.'
42777+
instructions: 'Is the customer reporting a software defect?'
42778+
type: 'noul'
42779+
team:
42780+
criteria:
42781+
account: 'Login, permissions, or profile issues.'
42782+
frontend: 'Rendering, layout, or browser compatibility issues.'
42783+
payments: 'Checkout, billing, or payment processing issues.'
42784+
instructions: 'Which team should own this ticket?'
42785+
type: 'choice'
42786+
urgency:
42787+
criteria:
42788+
- 'Can wait for the next release'
42789+
- 'Should be fixed this week'
42790+
- 'Blocking revenue right now'
42791+
instructions: 'How urgent is this ticket?'
42792+
type: 'score'
42793+
state:
42794+
customer_tier: 'enterprise'
42795+
ticket: 'My checkout page shows a blank screen after I click Pay. I have tried two browsers.'
42796+
schema:
42797+
$ref: '#/components/schemas/DecisionsRequest'
42798+
required: true
42799+
responses:
42800+
'200':
42801+
content:
42802+
application/json:
42803+
example:
42804+
answers:
42805+
is_bug:
42806+
noul: 0.96
42807+
type: 'noul'
42808+
team:
42809+
choice: 'payments'
42810+
confidence: 0.75
42811+
probabilities:
42812+
account: 0
42813+
frontend: 0.16
42814+
payments: 0.84
42815+
type: 'choice'
42816+
urgency:
42817+
confidence: 0.99
42818+
legend:
42819+
'0': 'Can wait for the next release'
42820+
'1': 'Should be fixed this week'
42821+
'2': 'Blocking revenue right now'
42822+
probabilities:
42823+
'0': 0
42824+
'1': 0.01
42825+
'2': 0.99
42826+
score: 1.99
42827+
type: 'score'
42828+
id: 'gen-dec-1789738314-X5e5eKGQdvR9rblyX250'
42829+
model: 'typesafe/jev-1.13-20260917'
42830+
provider: 'TypeSafe'
42831+
usage:
42832+
cost: 0.000019992
42833+
input_tokens: 476
42834+
output_tokens: 70
42835+
schema:
42836+
$ref: '#/components/schemas/DecisionsResponse'
42837+
description: 'Decisions response'
42838+
'400':
42839+
content:
42840+
application/json:
42841+
example:
42842+
error:
42843+
code: 400
42844+
message: 'Invalid request parameters'
42845+
schema:
42846+
$ref: '#/components/schemas/BadRequestResponse'
42847+
description: 'Bad Request - Invalid request parameters or malformed input'
42848+
'401':
42849+
content:
42850+
application/json:
42851+
example:
42852+
error:
42853+
code: 401
42854+
message: 'Missing Authentication header'
42855+
schema:
42856+
$ref: '#/components/schemas/UnauthorizedResponse'
42857+
description: 'Unauthorized - Authentication required or invalid credentials'
42858+
'402':
42859+
content:
42860+
application/json:
42861+
example:
42862+
error:
42863+
code: 402
42864+
message: 'Insufficient credits. Add more using https://openrouter.ai/credits'
42865+
schema:
42866+
$ref: '#/components/schemas/PaymentRequiredResponse'
42867+
description: 'Payment Required - Insufficient credits or quota to complete request'
42868+
'403':
42869+
content:
42870+
application/json:
42871+
example:
42872+
error:
42873+
code: 403
42874+
message: 'Only management keys can perform this operation'
42875+
schema:
42876+
$ref: '#/components/schemas/ForbiddenResponse'
42877+
description: 'Forbidden - Authentication successful but insufficient permissions'
42878+
'404':
42879+
content:
42880+
application/json:
42881+
example:
42882+
error:
42883+
code: 404
42884+
message: 'Resource not found'
42885+
schema:
42886+
$ref: '#/components/schemas/NotFoundResponse'
42887+
description: 'Not Found - Resource does not exist'
42888+
'413':
42889+
content:
42890+
application/json:
42891+
example:
42892+
error:
42893+
code: 413
42894+
message: 'Request payload too large'
42895+
schema:
42896+
$ref: '#/components/schemas/PayloadTooLargeResponse'
42897+
description: 'Payload Too Large - Request payload exceeds size limits'
42898+
'429':
42899+
content:
42900+
application/json:
42901+
example:
42902+
error:
42903+
code: 429
42904+
message: 'Rate limit exceeded'
42905+
schema:
42906+
$ref: '#/components/schemas/TooManyRequestsResponse'
42907+
description: 'Too Many Requests - Rate limit exceeded'
42908+
'500':
42909+
content:
42910+
application/json:
42911+
example:
42912+
error:
42913+
code: 500
42914+
message: 'Internal Server Error'
42915+
schema:
42916+
$ref: '#/components/schemas/InternalServerResponse'
42917+
description: 'Internal Server Error - Unexpected server error'
42918+
'502':
42919+
content:
42920+
application/json:
42921+
example:
42922+
error:
42923+
code: 502
42924+
message: 'Provider returned error'
42925+
schema:
42926+
$ref: '#/components/schemas/BadGatewayResponse'
42927+
description: 'Bad Gateway - Provider/upstream API failure'
42928+
'503':
42929+
content:
42930+
application/json:
42931+
example:
42932+
error:
42933+
code: 503
42934+
message: 'Service temporarily unavailable'
42935+
schema:
42936+
$ref: '#/components/schemas/ServiceUnavailableResponse'
42937+
description: 'Service Unavailable - Service temporarily unavailable'
42938+
'524':
42939+
content:
42940+
application/json:
42941+
example:
42942+
error:
42943+
code: 524
42944+
message: 'Request timed out. Please try again later.'
42945+
schema:
42946+
$ref: '#/components/schemas/EdgeNetworkTimeoutResponse'
42947+
description: 'Infrastructure Timeout - Provider request timed out at edge network'
42948+
'529':
42949+
content:
42950+
application/json:
42951+
example:
42952+
error:
42953+
code: 529
42954+
message: 'Provider returned error'
42955+
schema:
42956+
$ref: '#/components/schemas/ProviderOverloadedResponse'
42957+
description: 'Provider Overloaded - Provider is temporarily overloaded'
42958+
summary: 'Submit a System One request (TypeSafe SDK compatible alias)'
42959+
tags:
42960+
- 'alpha.decisions'
42961+
x-speakeasy-ignore: true
4276342962
/vault/interns/{internId}/secrets:
4276442963
get:
4276542964
description: 'Lists secret metadata stored for one intern. Responses contain names, bound hosts, fingerprints and creation times, never secret values. Results are ordered by name and paginated with `limit` and `offset`. The scope is selected by the API key: workspace routes act on the key''s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'

0 commit comments

Comments
 (0)