You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aaf3e8a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+56-3Lines changed: 56 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4570,6 +4570,7 @@ components:
4570
4570
allowed_models: null
4571
4571
allowed_user_ids: null
4572
4572
created_at: '2025-08-24T10:30:00Z'
4573
+
declared_zdr: null
4573
4574
disabled: false
4574
4575
id: '11111111-2222-3333-4444-555555555555'
4575
4576
is_byok_only: false
@@ -4613,6 +4614,12 @@ components:
4613
4614
description: 'ISO timestamp of when the credential was created.'
4614
4615
example: '2025-08-24T10:30:00Z'
4615
4616
type: 'string'
4617
+
declared_zdr:
4618
+
description: 'Your declaration of whether the upstream provider account behind this credential has zero data retention (ZDR). `null` inherits OpenRouter''s data policy for the provider''s endpoint; `true` declares the account ZDR so requests that require ZDR may route to this credential even when the shared endpoint retains data; `false` declares it non-ZDR so such requests never route to it. Self-declared and not verified by OpenRouter.'
4619
+
example: null
4620
+
type:
4621
+
- 'boolean'
4622
+
- 'null'
4616
4623
disabled:
4617
4624
description: 'Whether this credential is currently disabled.'
4618
4625
example: false
@@ -4666,6 +4673,7 @@ components:
4666
4673
- 'is_fallback'
4667
4674
- 'is_required'
4668
4675
- 'is_byok_only'
4676
+
- 'declared_zdr'
4669
4677
- 'allowed_models'
4670
4678
- 'allowed_api_key_hashes'
4671
4679
- 'allowed_user_ids'
@@ -7383,6 +7391,12 @@ components:
7383
7391
type:
7384
7392
- 'array'
7385
7393
- 'null'
7394
+
declared_zdr:
7395
+
description: 'Your declaration of whether the upstream provider account behind this credential has zero data retention (ZDR). `null` inherits OpenRouter''s data policy for the provider''s endpoint; `true` declares the account ZDR so requests that require ZDR may route to this credential even when the shared endpoint retains data; `false` declares it non-ZDR so such requests never route to it. Self-declared and not verified by OpenRouter. Defaults to `null`.'
7396
+
example: null
7397
+
type:
7398
+
- 'boolean'
7399
+
- 'null'
7386
7400
disabled:
7387
7401
description: 'Whether this credential should be created in a disabled state.'
7388
7402
example: false
@@ -7429,6 +7443,7 @@ components:
7429
7443
allowed_models: null
7430
7444
allowed_user_ids: null
7431
7445
created_at: '2025-08-24T10:30:00Z'
7446
+
declared_zdr: null
7432
7447
disabled: false
7433
7448
id: '11111111-2222-3333-4444-555555555555'
7434
7449
is_byok_only: false
@@ -10214,11 +10229,11 @@ components:
10214
10229
- 'completions'
10215
10230
- 'embeddings'
10216
10231
- 'rerank'
10232
+
- 'decisions'
10233
+
- 'video'
10217
10234
- 'tts'
10218
10235
- 'stt'
10219
-
- 'video'
10220
10236
- 'image'
10221
-
- 'decisions'
10222
10237
- null
10223
10238
type:
10224
10239
- 'string'
@@ -10535,6 +10550,7 @@ components:
10535
10550
allowed_models: null
10536
10551
allowed_user_ids: null
10537
10552
created_at: '2025-08-24T10:30:00Z'
10553
+
declared_zdr: null
10538
10554
disabled: false
10539
10555
id: '11111111-2222-3333-4444-555555555555'
10540
10556
is_byok_only: false
@@ -12858,6 +12874,25 @@ components:
12858
12874
required:
12859
12875
- 'cached_tokens'
12860
12876
type: 'object'
12877
+
InternChatSteeredResponse:
12878
+
description: 'The message was delivered into the turn already running on the same session. Its effect is streamed on that turn, not here.'
12879
+
example:
12880
+
session_id: 'sess_01j9x0k4q7v8r2t3m6n5p8w9y1'
12881
+
status: 'steered'
12882
+
properties:
12883
+
session_id:
12884
+
description: 'The session of the running turn the message was delivered to.'
12885
+
example: 'sess_01j9x0k4q7v8r2t3m6n5p8w9y1'
12886
+
type: 'string'
12887
+
status:
12888
+
description: 'The message was handed to the turn already running on this session.'
12889
+
enum:
12890
+
- 'steered'
12891
+
type: 'string'
12892
+
required:
12893
+
- 'session_id'
12894
+
- 'status'
12895
+
type: 'object'
12861
12896
InternChatStreamError:
12862
12897
description: 'A failure after the response headers were sent. The chunk that carries it has `finish_reason: "error"`, then the final empty-`choices` chunk and `[DONE]` follow. Reasons here are `attachment_failed`, `busy`, `client_closed_request`, `interaction_not_pending`, `interaction_unknown`, `intern_unreachable`, `run_ended`, `stream_severed`, `timeout` or `turn_failed`. `run_ended` reports an ending the intern confirmed, such as a cancellation or a deadline, while `stream_severed` reports a connection lost without that confirmation.'
12863
12898
example:
@@ -13267,6 +13302,7 @@ components:
13267
13302
allowed_models: null
13268
13303
allowed_user_ids: null
13269
13304
created_at: '2025-08-24T10:30:00Z'
13305
+
declared_zdr: null
13270
13306
disabled: false
13271
13307
id: '11111111-2222-3333-4444-555555555555'
13272
13308
is_byok_only: false
@@ -27776,6 +27812,12 @@ components:
27776
27812
type:
27777
27813
- 'array'
27778
27814
- 'null'
27815
+
declared_zdr:
27816
+
description: 'Your declaration of whether the upstream provider account behind this credential has zero data retention (ZDR). `null` inherits OpenRouter''s data policy for the provider''s endpoint; `true` declares the account ZDR so requests that require ZDR may route to this credential even when the shared endpoint retains data; `false` declares it non-ZDR so such requests never route to it. Self-declared and not verified by OpenRouter. Omit to leave the stored value unchanged; `null` clears the declaration.'
27817
+
example: null
27818
+
type:
27819
+
- 'boolean'
27820
+
- 'null'
27779
27821
disabled:
27780
27822
description: 'Whether this credential is disabled.'
description: 'The streamed completion. Chunks carry text, then a finish chunk: `finish_reason: "stop"` when the turn is complete, `finish_reason: "tool_calls"` when the intern is waiting for an answer, or `finish_reason: "error"` for a failure after this status. A final chunk with empty `choices` follows in every case, carrying `session_id` and `usage` (`null` unless the intern reported usage, and always `null` after `tool_calls`), and the stream ends with `data: [DONE]`.'
description: 'A turn is already running on this intern for the same `session_id`, and the message was delivered into it instead of starting a new turn. Nothing streams here: the intern takes the message up on the running turn, whose stream continues on the request that started it. Sent only for a `user` message with a `session_id`; a `tool` reply, a request without a `session_id`, or one for another session gets `409 busy`, as does a message the intern could not take.'
description: 'The intern is not running (`intern_not_ready`), another turn is already running on this intern (`busy`), the question is no longer waiting (`interaction_not_pending`), or another request is already attached to the run (`attachment_failed`). The turn lock is per intern, not per session. `intern_not_ready` and `busy` report `retryable: true`, and a `busy` refusal carries `Retry-After`.'
37365
+
description: 'The intern is not running (`intern_not_ready`), another turn is already running on this intern for a different session, for no session, or for a `tool` reply (`busy`), the question is no longer waiting (`interaction_not_pending`), or another request is already attached to the run (`attachment_failed`). The turn lock is per intern, not per session. `intern_not_ready` and `busy` report `retryable: true`, and a `busy` refusal carries `Retry-After`.'
37313
37366
headers:
37314
37367
Retry-After:
37315
37368
description: 'Seconds to wait before retrying this request. Present only on a `busy` refusal.'
0 commit comments