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
156 changes: 156 additions & 0 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43314,6 +43314,12 @@ paths:
start: '2025-01-01T00:00:00Z'
schema:
properties:
api_key_tag_key:
description: 'Tag key to group by when `dimensions` includes `api_key_tag`, e.g. `team`. Each API key has at most one value per tag key, so groups do not overlap: keys with the tag group under its value, and keys with the tag but no value under the key name. Keys without the tag are left out of the results. Without this field, each `key:value` tag is its own group and a key with several tags counts toward each.'
example: 'team'
maxLength: 32
minLength: 1
type: 'string'
classifier_dimensions:
description: 'Group results by custom classifier tags, breaking down metrics by the specified dimension values. Requires an active classifier on the workspace.'
properties:
Expand Down Expand Up @@ -55483,6 +55489,14 @@ paths:
example: '0df9e665-d932-5740-b2c7-b52af166bc11'
format: 'uuid'
type: 'string'
- description: 'Only return API keys with this tag: `team` matches the tag key with any value, `team:billing` that exact value (case-insensitive).'
in: 'query'
name: 'tag'
required: false
schema:
description: 'Only return API keys with this tag: `team` matches the tag key with any value, `team:billing` that exact value (case-insensitive).'
example: 'team:billing'
type: 'string'
- description: 'Only return API keys created by this user ID (the `creator_user_id` on each key). Requires a management key that can view key creators.'
in: 'query'
name: 'creator_user_id'
Expand Down Expand Up @@ -55666,6 +55680,30 @@ paths:
description: 'Name of the API key'
example: 'My Production Key'
type: 'string'
tags:
description: 'Custom key-value tags attached to this API key.'
example:
- key: 'team'
value: 'billing'
- key: 'beta'
value: null
items:
properties:
key:
description: 'Tag key, as it was entered.'
example: 'team'
type: 'string'
value:
description: 'Tag value, as it was entered, or null when the tag is just a key.'
example: 'billing'
type:
- 'string'
- 'null'
required:
- 'key'
- 'value'
type: 'object'
type: 'array'
updated_at:
description: 'ISO 8601 timestamp of when the API key was last updated'
example: '2025-08-24T15:45:00Z'
Expand Down Expand Up @@ -55719,6 +55757,7 @@ paths:
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
- 'tags'
type: 'object'
type: 'array'
required:
Expand Down Expand Up @@ -55879,6 +55918,27 @@ paths:
maxLength: 256
minLength: 1
type: 'string'
tags:
description: 'Custom key-value tags for the API key (at most 5, each tag key at most once). Keys are 1-32 characters of letters, numbers, spaces and - _ . /; the optional value is 1-64 characters and may also contain '':''. Matching is case-insensitive. Your plan limits how many distinct tag keys your account uses and how many distinct values each key has.'
example:
- key: 'team'
value: 'billing'
- key: 'beta'
items:
properties:
key:
example: 'team'
type: 'string'
value:
example: 'billing'
type:
- 'string'
- 'null'
required:
- 'key'
type: 'object'
maxItems: 5
type: 'array'
workspace_id:
description: 'The workspace to create the API key in. Defaults to the default workspace for an organization-scoped management key, or to the management key''s own workspace for a workspace-scoped one, which cannot create keys elsewhere.'
example: '0df9e665-d932-5740-b2c7-b52af166bc11'
Expand Down Expand Up @@ -56063,6 +56123,30 @@ paths:
description: 'Name of the API key'
example: 'My Production Key'
type: 'string'
tags:
description: 'Custom key-value tags attached to this API key.'
example:
- key: 'team'
value: 'billing'
- key: 'beta'
value: null
items:
properties:
key:
description: 'Tag key, as it was entered.'
example: 'team'
type: 'string'
value:
description: 'Tag value, as it was entered, or null when the tag is just a key.'
example: 'billing'
type:
- 'string'
- 'null'
required:
- 'key'
- 'value'
type: 'object'
type: 'array'
updated_at:
description: 'ISO 8601 timestamp of when the API key was last updated'
example: '2025-08-24T15:45:00Z'
Expand Down Expand Up @@ -56116,6 +56200,7 @@ paths:
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
- 'tags'
type: 'object'
key:
description: 'The actual API key string (only shown once)'
Expand Down Expand Up @@ -56450,6 +56535,30 @@ paths:
description: 'Name of the API key'
example: 'My Production Key'
type: 'string'
tags:
description: 'Custom key-value tags attached to this API key.'
example:
- key: 'team'
value: 'billing'
- key: 'beta'
value: null
items:
properties:
key:
description: 'Tag key, as it was entered.'
example: 'team'
type: 'string'
value:
description: 'Tag value, as it was entered, or null when the tag is just a key.'
example: 'billing'
type:
- 'string'
- 'null'
required:
- 'key'
- 'value'
type: 'object'
type: 'array'
updated_at:
description: 'ISO 8601 timestamp of when the API key was last updated'
example: '2025-08-24T15:45:00Z'
Expand Down Expand Up @@ -56503,6 +56612,7 @@ paths:
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
- 'tags'
type: 'object'
required:
- 'data'
Expand Down Expand Up @@ -56625,6 +56735,27 @@ paths:
maxLength: 256
minLength: 1
type: 'string'
tags:
description: 'Replace the API key''s tags with this set (at most 5). Send an empty array to remove all tags.'
example:
- key: 'team'
value: 'billing'
- key: 'beta'
items:
properties:
key:
example: 'team'
type: 'string'
value:
example: 'billing'
type:
- 'string'
- 'null'
required:
- 'key'
type: 'object'
maxItems: 5
type: 'array'
workspace_id:
description: 'Move the API key to this workspace. The key keeps its value; guardrail selections move with it, except direct guardrail assignments owned by the key''s current workspace, which are removed along with the selections derived from them, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key''s current workspace is a no-op.'
example: '0df9e665-d932-5740-b2c7-b52af166bc11'
Expand Down Expand Up @@ -56804,6 +56935,30 @@ paths:
description: 'Name of the API key'
example: 'My Production Key'
type: 'string'
tags:
description: 'Custom key-value tags attached to this API key.'
example:
- key: 'team'
value: 'billing'
- key: 'beta'
value: null
items:
properties:
key:
description: 'Tag key, as it was entered.'
example: 'team'
type: 'string'
value:
description: 'Tag value, as it was entered, or null when the tag is just a key.'
example: 'billing'
type:
- 'string'
- 'null'
required:
- 'key'
- 'value'
type: 'object'
type: 'array'
updated_at:
description: 'ISO 8601 timestamp of when the API key was last updated'
example: '2025-08-24T15:45:00Z'
Expand Down Expand Up @@ -56857,6 +57012,7 @@ paths:
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
- 'tags'
type: 'object'
required:
- 'data'
Expand Down
Loading