Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34290,7 +34290,7 @@ paths:
- 'API Keys'
x-speakeasy-name-override: 'list'
post:
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.'
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). The optional `external` object associates the key with a partner-defined user and lookup key.'
operationId: 'createKeys'
requestBody:
content:
Expand Down Expand Up @@ -34323,6 +34323,23 @@ paths:
type:
- 'string'
- 'null'
external:
description: 'Optional partner-defined identity associated with the created API key.'
properties:
api_key:
description: 'Optional partner-supplied API key with a minimum length of 32 characters and sufficient entropy. Stored as a SHA-256 hash and never returned.'
maxLength: 512
minLength: 32
type: 'string'
user:
description: 'Partner''s end-user identifier for attribution.'
example: 'partner-user-123'
maxLength: 512
minLength: 1
type: 'string'
required:
- 'user'
type: 'object'
include_byok_in_limit:
description: 'Whether to include BYOK usage in the limit'
example: true
Expand Down Expand Up @@ -34642,7 +34659,7 @@ paths:
x-speakeasy-name-override: 'create'
/keys/{hash}:
delete:
description: 'Delete an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys), or with a Connect client secret. A client secret reaches only the keys that same client created; any other key responds as if it does not exist.'
description: 'Delete an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).'
operationId: 'deleteKeys'
parameters:
- description: 'The hash identifier of the API key to delete'
Expand Down Expand Up @@ -34992,7 +35009,7 @@ paths:
- 'API Keys'
x-speakeasy-name-override: 'get'
patch:
description: 'Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys), or with a Connect client secret. A client secret reaches only the keys that same client created; any other key responds as if it does not exist.'
description: 'Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).'
operationId: 'updateKeys'
parameters:
- description: 'The hash identifier of the API key to update'
Expand Down
Loading