Skip to content

Commit 507fdfd

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent b824917 commit 507fdfd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33067,7 +33067,7 @@ components:
3306733067
- type: 'string'
3306833068
- format: 'double'
3306933069
type: 'number'
33070-
description: '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 (filtering or grouping by the account default workspace also covers activity recorded before workspace resolution existed, which is attributed to that default workspace); `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.'
33070+
description: '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 (filtering or grouping by the account default workspace also covers activity recorded before workspace resolution existed, which is attributed to that default workspace); `app` — numeric app ID, not the app title; `model` — permaslug (e.g. "openai/gpt-4o"), not the display name; `endpoint` — endpoint UUID, returned as is (the same `endpoint_id` /activity reports). Other dimensions (provider, origin, country, etc.) are not enriched and accept the value as returned.'
3307133071
required:
3307233072
- 'field'
3307333073
- 'operator'
@@ -33712,7 +33712,7 @@ components:
3371233712
- type: 'string'
3371333713
- format: 'double'
3371433714
type: 'number'
33715-
description: '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 (filtering or grouping by the account default workspace also covers activity recorded before workspace resolution existed, which is attributed to that default workspace); `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.'
33715+
description: '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 (filtering or grouping by the account default workspace also covers activity recorded before workspace resolution existed, which is attributed to that default workspace); `app` — numeric app ID, not the app title; `model` — permaslug (e.g. "openai/gpt-4o"), not the display name; `endpoint` — endpoint UUID, returned as is (the same `endpoint_id` /activity reports). Other dimensions (provider, origin, country, etc.) are not enriched and accept the value as returned.'
3371633716
type: 'array'
3371733717
required:
3371833718
- 'field'
@@ -40043,10 +40043,10 @@ paths:
4004340043
type: 'object'
4004440044
dimensions:
4004540045
items:
40046-
description: 'Dimension to group by (up to 2). Use the /meta endpoint for available dimensions.'
40046+
description: 'Dimension to group by (up to 3). More than 2 requires every metric, dimension and filter to be available from the activity rollups, or for token-kind metrics from their daily rollup; otherwise the request fails with 400. Use the /meta endpoint for available dimensions.'
4004740047
example: 'model'
4004840048
type: 'string'
40049-
maxItems: 2
40049+
maxItems: 3
4005040050
type: 'array'
4005140051
filters:
4005240052
items:

0 commit comments

Comments
 (0)