Skip to content

Commit 0fe4169

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

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34090,7 +34090,7 @@ paths:
3409034090
- 'API Keys'
3409134091
x-speakeasy-name-override: 'list'
3409234092
post:
34093-
description: 'Create a new API key for the authenticated user. The plaintext `key` is returned only in this response. Treat it as a write-only, sensitive value; it cannot be retrieved later. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys), or with a Connect client secret. `external_user` and `external_api_key` are accepted only with a client secret, and `external_user` is required there; supplying either field with a management key is rejected with 403.'
34093+
description: 'Create a new API key for the authenticated user. The plaintext `key` is returned only in this response. Treat it as a write-only, sensitive value; it cannot be retrieved later. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys), or with a Connect client secret.'
3409434094
operationId: 'createKeys'
3409534095
requestBody:
3409634096
content:
@@ -34123,16 +34123,6 @@ paths:
3412334123
type:
3412434124
- 'string'
3412534125
- 'null'
34126-
external_api_key:
34127-
description: 'Optional partner-supplied API key. Stored as a SHA-256 hash and never returned. Accepted only when authenticating with a Connect client secret; supplying it with a management key is rejected with 403.'
34128-
maxLength: 512
34129-
minLength: 1
34130-
type: 'string'
34131-
external_user:
34132-
description: 'Partner''s end-user identifier for attribution, between 1 and 512 characters. Accepted only when authenticating with a Connect client secret, where it is required; supplying it with a management key is rejected with 403.'
34133-
maxLength: 512
34134-
minLength: 1
34135-
type: 'string'
3413634126
include_byok_in_limit:
3413734127
description: 'Whether to include BYOK usage in the limit'
3413834128
example: true

0 commit comments

Comments
 (0)