Skip to content

Commit c10da19

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

1 file changed

Lines changed: 46 additions & 1 deletion

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15860,20 +15860,35 @@ components:
1586015860
- 'data'
1586115861
type: 'object'
1586215862
InternDaemonAccess:
15863-
description: 'The intern daemon''s origin and the bearer `ori tui --host` sends to it as `ORI_DAEMON_TOKEN`.'
15863+
description: 'The intern daemon''s origin, the bearer `ori tui --host` sends to it as `ORI_DAEMON_TOKEN`, and who the caller is on the intern.'
1586415864
example:
1586515865
origin: 'https://research-assistant-7c9e6679.or.bot'
1586615866
token: 'daemon_token'
15867+
viewer:
15868+
principals:
15869+
- 'clerk:user_2abc'
15870+
- 'slack:T0123:U0456'
1586715871
properties:
1586815872
origin:
1586915873
pattern: '^https?:\/\/([a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*)(?::(\d{1,5}))?$/iu'
1587015874
type: 'string'
1587115875
token:
1587215876
pattern: '^[\w-]+$/u'
1587315877
type: 'string'
15878+
viewer:
15879+
properties:
15880+
principals:
15881+
description: 'The caller''s Ori principals on this intern: `clerk:<user>`, and, when the grant carries `vault:read`, `slack:<team>:<user>` for each Slack account they linked to it. A session started by one of them in a one-to-one Slack DM is the caller''s to see.'
15882+
items:
15883+
type: 'string'
15884+
type: 'array'
15885+
required:
15886+
- 'principals'
15887+
type: 'object'
1587415888
required:
1587515889
- 'origin'
1587615890
- 'token'
15891+
- 'viewer'
1587715892
type: 'object'
1587815893
InternInvokeAcceptedResponse:
1587915894
description: 'The intern admitted the prompt. The run continues on the intern.'
@@ -47863,6 +47878,16 @@ paths:
4786347878
schema:
4786447879
$ref: '#/components/schemas/UnauthorizedResponse'
4786547880
description: 'Unauthorized - Authentication required or invalid credentials'
47881+
'403':
47882+
content:
47883+
application/json:
47884+
example:
47885+
error:
47886+
code: 403
47887+
message: 'Only management keys can perform this operation'
47888+
schema:
47889+
$ref: '#/components/schemas/ForbiddenResponse'
47890+
description: 'Forbidden - Authentication successful but insufficient permissions'
4786647891
'404':
4786747892
content:
4786847893
application/json:
@@ -47928,6 +47953,16 @@ paths:
4792847953
schema:
4792947954
$ref: '#/components/schemas/UnauthorizedResponse'
4793047955
description: 'Unauthorized - Authentication required or invalid credentials'
47956+
'403':
47957+
content:
47958+
application/json:
47959+
example:
47960+
error:
47961+
code: 403
47962+
message: 'Only management keys can perform this operation'
47963+
schema:
47964+
$ref: '#/components/schemas/ForbiddenResponse'
47965+
description: 'Forbidden - Authentication successful but insufficient permissions'
4793147966
'404':
4793247967
content:
4793347968
application/json:
@@ -47999,6 +48034,16 @@ paths:
4799948034
schema:
4800048035
$ref: '#/components/schemas/UnauthorizedResponse'
4800148036
description: 'Unauthorized - Authentication required or invalid credentials'
48037+
'403':
48038+
content:
48039+
application/json:
48040+
example:
48041+
error:
48042+
code: 403
48043+
message: 'Only management keys can perform this operation'
48044+
schema:
48045+
$ref: '#/components/schemas/ForbiddenResponse'
48046+
description: 'Forbidden - Authentication successful but insufficient permissions'
4800248047
'404':
4800348048
content:
4800448049
application/json:

0 commit comments

Comments
 (0)