Skip to content

Commit e68a7e8

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

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2625,6 +2625,7 @@ components:
26252625
- 'invalid_tool_input'
26262626
- 'url_too_long'
26272627
- 'url_not_allowed'
2628+
- 'url_not_in_prior_context'
26282629
- 'url_not_accessible'
26292630
- 'unsupported_content_type'
26302631
- 'too_many_requests'
@@ -16246,6 +16247,7 @@ components:
1624616247
- 'max_uses_exceeded'
1624716248
- 'too_many_requests'
1624816249
- 'query_too_long'
16250+
- 'request_too_large'
1624916251
type: 'string'
1625016252
type:
1625116253
enum:
@@ -25278,6 +25280,9 @@ components:
2527825280
model_id: 'openai/gpt-4'
2527925281
model_name: 'GPT-4'
2528025282
name: 'OpenAI: GPT-4'
25283+
native_tools:
25284+
openrouter:web_search:
25285+
type: 'web_search_20260209'
2528125286
perf_last_30m_by_workload:
2528225287
text_generation:
2528325288
latency:
@@ -25343,6 +25348,20 @@ components:
2534325348
type: 'string'
2534425349
name:
2534525350
type: 'string'
25351+
native_tools:
25352+
additionalProperties:
25353+
properties:
25354+
type:
25355+
description: 'The provider tool type the request is translated to when this tool runs natively, e.g. `web_search_20260209` on Anthropic or `google_search` on Gemini.'
25356+
type: 'string'
25357+
required:
25358+
- 'type'
25359+
type: 'object'
25360+
description: 'The server tools this endpoint accepts as the provider''s own built-in tool (`engine: "native"`) instead of an OpenRouter engine, keyed by canonical `openrouter:*` name. Each value names the provider tool type the request is translated to. Where that tool runs (provider-side, or returned to the client as with Anthropic bash) is documented per tool. Empty when the provider has none.'
25361+
example:
25362+
openrouter:web_search:
25363+
type: 'web_search_20260209'
25364+
type: 'object'
2534625365
perf_last_30m_by_workload:
2534725366
additionalProperties: false
2534825367
description: 'Endpoint performance over the last 30 minutes, keyed by the kind of request served (e.g. `text_generation`, `image_generation`). Additive to the legacy singular latency and throughput fields; image and video generation report end-to-end latency. Only visible when authenticated with an API key or cookie.'
@@ -25653,6 +25672,7 @@ components:
2565325672
- 'uptime_last_5m'
2565425673
- 'uptime_last_1d'
2565525674
- 'supports_implicit_caching'
25675+
- 'native_tools'
2565625676
- 'latency_last_30m'
2565725677
- 'throughput_last_30m'
2565825678
type: 'object'
@@ -35881,6 +35901,7 @@ paths:
3588135901
model_id: 'openai/gpt-4'
3588235902
model_name: 'GPT-4'
3588335903
name: 'OpenAI: GPT-4'
35904+
native_tools: {}
3588435905
pricing:
3588535906
completion: '0.00006'
3588635907
image: '0'
@@ -35920,6 +35941,7 @@ paths:
3592035941
model_id: 'openai/gpt-4'
3592135942
model_name: 'GPT-4'
3592235943
name: 'OpenAI: GPT-4'
35944+
native_tools: {}
3592335945
pricing:
3592435946
completion: '0.00006'
3592535947
image: '0'
@@ -42447,6 +42469,7 @@ paths:
4244742469
model_id: 'openai/gpt-4'
4244842470
model_name: 'GPT-4'
4244942471
name: 'OpenAI: GPT-4'
42472+
native_tools: {}
4245042473
pricing:
4245142474
completion: '0.00006'
4245242475
image: '0'

0 commit comments

Comments
 (0)