mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-09 12:10:22 +08:00
chore: update OpenAPI spec from monorepo (#326)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
co-authored by
OpenRouter SDK Bot
parent
68c251830c
commit
d5778dfafb
@@ -22245,7 +22245,7 @@ paths:
|
|||||||
properties:
|
properties:
|
||||||
dimensions:
|
dimensions:
|
||||||
items:
|
items:
|
||||||
description: Dimension name
|
description: Dimension to group by (up to 2). Use the /meta endpoint for available dimensions.
|
||||||
example: model
|
example: model
|
||||||
type: string
|
type: string
|
||||||
maxItems: 2
|
maxItems: 2
|
||||||
@@ -22254,7 +22254,7 @@ paths:
|
|||||||
items:
|
items:
|
||||||
properties:
|
properties:
|
||||||
field:
|
field:
|
||||||
description: Dimension to filter on
|
description: Dimension to filter on. Use the /meta endpoint for available dimensions.
|
||||||
example: model
|
example: model
|
||||||
type: string
|
type: string
|
||||||
operator:
|
operator:
|
||||||
@@ -22272,7 +22272,15 @@ paths:
|
|||||||
- format: double
|
- format: double
|
||||||
type: number
|
type: number
|
||||||
type: array
|
type: array
|
||||||
description: Filter value (scalar or array depending on operator)
|
description: >-
|
||||||
|
Filter value (scalar or array depending on operator). Several dimensions are enriched in
|
||||||
|
responses (returned as human-readable labels), but filters must use the underlying ID:
|
||||||
|
`api_key_id` — numeric ID (from generation metadata) or key hash (64-char hex from GET
|
||||||
|
/api/v1/keys, resolved server-side); `user` — Clerk user ID (e.g. "user_abc123"), not the
|
||||||
|
display name; `workspace` — workspace UUID, not the workspace name; `app` — numeric app ID,
|
||||||
|
not the app title; `model` — permaslug (e.g. "openai/gpt-4o"), not the display name. Other
|
||||||
|
dimensions (provider, origin, country, etc.) are not enriched and accept the value as
|
||||||
|
returned.
|
||||||
required:
|
required:
|
||||||
- field
|
- field
|
||||||
- operator
|
- operator
|
||||||
@@ -22375,6 +22383,13 @@ paths:
|
|||||||
- row_count
|
- row_count
|
||||||
- truncated
|
- truncated
|
||||||
type: object
|
type: object
|
||||||
|
warnings:
|
||||||
|
description: >-
|
||||||
|
Warnings about filter resolution issues (e.g. unresolvable api_key_id hashes). The query still
|
||||||
|
runs normally; these inform the caller that some filter values could not be resolved.
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
required:
|
required:
|
||||||
- data
|
- data
|
||||||
- metadata
|
- metadata
|
||||||
|
|||||||
Reference in New Issue
Block a user