Skip to content

Commit 6fdec59

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

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29638,6 +29638,24 @@ components:
2963829638
example: 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
2963929639
pattern: '^[0-9a-f]{64}$'
2964029640
type: 'string'
29641+
route:
29642+
additionalProperties: false
29643+
description: 'The daemon request the proof is for. When present the response also carries the single-use, route-bound proof (`x-ori-invoke-signature-v2`, `x-ori-invoke-nonce`).'
29644+
properties:
29645+
method:
29646+
description: 'The HTTP method of the daemon request.'
29647+
enum:
29648+
- 'POST'
29649+
type: 'string'
29650+
path:
29651+
description: 'The daemon request path, percent-encoded as sent, without origin or query. The route-bound proof admits only this path.'
29652+
example: '/api/invoke'
29653+
pattern: '^\/[!"$->@-~]{0,2047}$'
29654+
type: 'string'
29655+
required:
29656+
- 'method'
29657+
- 'path'
29658+
type: 'object'
2964129659
required:
2964229660
- 'bodySha256'
2964329661
type: 'object'
@@ -29649,9 +29667,15 @@ components:
2964929667
x-ori-invoke-timestamp: '1789000000'
2965029668
x-ori-invoke-user: 'user_2abc'
2965129669
properties:
29670+
x-ori-invoke-nonce:
29671+
description: 'Present with `x-ori-invoke-signature-v2`: the single-use id that proof is bound to.'
29672+
type: 'string'
2965229673
x-ori-invoke-signature:
2965329674
description: 'Base64 Ed25519 signature over the intern id, timestamp, user and body digest.'
2965429675
type: 'string'
29676+
x-ori-invoke-signature-v2:
29677+
description: 'Present when the request named a `route`: Base64 Ed25519 signature over the intern id, timestamp, nonce, user, method, path and body digest. The intern accepts it once.'
29678+
type: 'string'
2965529679
x-ori-invoke-timestamp:
2965629680
description: 'Unix seconds at signing; the daemon refuses proofs older than its window.'
2965729681
type: 'string'
@@ -42902,7 +42926,7 @@ paths:
4290242926
x-speakeasy-name-override: 'chat'
4290342927
/interns/{internId}/daemon:
4290442928
get:
42905-
description: 'Returns the origin and daemon token that attach `ori tui --host` to one visible, running intern. The token is a credential: the response is sent with `Cache-Control: no-store`, and each reveal is logged by caller and intern. The API key selects the caller, workspace and visible interns. An intern''s own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
42929+
description: 'Returns the origin and daemon token that attach `ori tui --host` to one visible, running intern. The token is a credential: only an OAuth-token caller (`ori login --oidc`) may read it, the response is sent with `Cache-Control: no-store`, and each reveal is logged by caller and intern. API keys get 403 `personal_identity_required`. The API key selects the caller, workspace and visible interns. An intern''s own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
4290642930
operationId: 'getInternDaemon'
4290742931
parameters:
4290842932
- description: 'ID of an intern visible to the authenticated API key.'

0 commit comments

Comments
 (0)