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
46 changes: 44 additions & 2 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33155,6 +33155,7 @@ paths:
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
disabled: false
expires_at: '2027-12-31T23:59:59Z'
external_user: null
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: false
label: 'Production API Key'
Expand All @@ -33181,6 +33182,7 @@ paths:
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
disabled: false
expires_at: '2027-12-31T23:59:59Z'
external_user: null
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: false
label: 'sk-or-v1-0e6...1c96'
Expand Down Expand Up @@ -33236,6 +33238,12 @@ paths:
type:
- 'string'
- 'null'
external_user:
description: 'Partner''s end-user identifier used for attribution.'
example: null
type:
- 'string'
- 'null'
hash:
description: 'Unique hash identifier for the API key'
example: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
Expand Down Expand Up @@ -33321,6 +33329,7 @@ paths:
- 'byok_usage_monthly'
- 'created_at'
- 'updated_at'
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
type: 'object'
Expand Down Expand Up @@ -33374,7 +33383,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. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
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.'
operationId: 'createKeys'
requestBody:
content:
Expand Down Expand Up @@ -33408,7 +33417,12 @@ paths:
- 'string'
- 'null'
external_api_key:
description: 'Optional partner-supplied API key. Stored as a SHA-256 hash and never returned. Accepted only when authenticating with a Connect client secret.'
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.'
maxLength: 512
minLength: 1
type: 'string'
external_user:
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.'
maxLength: 512
minLength: 1
type: 'string'
Expand Down Expand Up @@ -33462,6 +33476,7 @@ paths:
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
disabled: false
expires_at: '2027-12-31T23:59:59Z'
external_user: null
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: true
label: 'My New API Key'
Expand All @@ -33487,6 +33502,7 @@ paths:
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
disabled: false
expires_at: '2027-12-31T23:59:59Z'
external_user: null
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: true
label: 'My New API Key'
Expand All @@ -33513,6 +33529,7 @@ paths:
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
disabled: false
expires_at: '2027-12-31T23:59:59Z'
external_user: null
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: false
label: 'sk-or-v1-0e6...1c96'
Expand Down Expand Up @@ -33568,6 +33585,12 @@ paths:
type:
- 'string'
- 'null'
external_user:
description: 'Partner''s end-user identifier used for attribution.'
example: null
type:
- 'string'
- 'null'
hash:
description: 'Unique hash identifier for the API key'
example: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
Expand Down Expand Up @@ -33653,6 +33676,7 @@ paths:
- 'byok_usage_monthly'
- 'created_at'
- 'updated_at'
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
type: 'object'
Expand Down Expand Up @@ -33845,6 +33869,7 @@ paths:
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
disabled: false
expires_at: '2027-12-31T23:59:59Z'
external_user: null
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: false
label: 'Production API Key'
Expand All @@ -33870,6 +33895,7 @@ paths:
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
disabled: false
expires_at: '2027-12-31T23:59:59Z'
external_user: null
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: false
label: 'sk-or-v1-0e6...1c96'
Expand Down Expand Up @@ -33925,6 +33951,12 @@ paths:
type:
- 'string'
- 'null'
external_user:
description: 'Partner''s end-user identifier used for attribution.'
example: null
type:
- 'string'
- 'null'
hash:
description: 'Unique hash identifier for the API key'
example: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
Expand Down Expand Up @@ -34010,6 +34042,7 @@ paths:
- 'byok_usage_monthly'
- 'created_at'
- 'updated_at'
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
type: 'object'
Expand Down Expand Up @@ -34160,6 +34193,7 @@ paths:
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
disabled: false
expires_at: null
external_user: null
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: true
label: 'Updated API Key Name'
Expand All @@ -34185,6 +34219,7 @@ paths:
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
disabled: false
expires_at: '2027-12-31T23:59:59Z'
external_user: null
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: false
label: 'sk-or-v1-0e6...1c96'
Expand Down Expand Up @@ -34240,6 +34275,12 @@ paths:
type:
- 'string'
- 'null'
external_user:
description: 'Partner''s end-user identifier used for attribution.'
example: null
type:
- 'string'
- 'null'
hash:
description: 'Unique hash identifier for the API key'
example: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
Expand Down Expand Up @@ -34325,6 +34366,7 @@ paths:
- 'byok_usage_monthly'
- 'created_at'
- 'updated_at'
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
type: 'object'
Expand Down
Loading