You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33797,6 +33797,11 @@ paths:
33797
33797
type:
33798
33798
- 'string'
33799
33799
- 'null'
33800
+
external_api_key:
33801
+
description: 'Optional partner-supplied API key. Stored as a SHA-256 hash and never returned. Accepted only when authenticating with a Connect client secret.'
33802
+
maxLength: 512
33803
+
minLength: 1
33804
+
type: 'string'
33800
33805
include_byok_in_limit:
33801
33806
description: 'Whether to include BYOK usage in the limit'
|`creator_user_id`|*OptionalNullable[str]*|:heavy_minus_sign:| Optional user ID of the key creator. Only meaningful for organization-owned keys where a specific member is creating the key. | user_2dHFtVWx2n56w6HkM0000000000 |
10
10
|`expires_at`|[date](https://docs.python.org/3/library/datetime.html#date-objects)|:heavy_minus_sign:| Optional ISO 8601 UTC timestamp when the API key should expire. Must be UTC, other timezones will be rejected | 2027-12-31T23:59:59Z |
11
+
|`external_api_key`|*Optional[str]*|:heavy_minus_sign:| Optional partner-supplied API key. Stored as a SHA-256 hash and never returned. Accepted only when authenticating with a Connect client secret. ||
11
12
|`include_byok_in_limit`|*Optional[bool]*|:heavy_minus_sign:| Whether to include BYOK usage in the limit | true |
12
13
|`limit`|*OptionalNullable[float]*|:heavy_minus_sign:| Optional spending limit for the API key in USD | 50 |
13
14
|`limit_reset`|[OptionalNullable[operations.CreateKeysLimitReset]](../operations/createkeyslimitreset.mdx)|:heavy_minus_sign:| Type of limit reset for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday. | monthly |
Copy file name to clipboardExpand all lines: docs/sdks/apikeys/README.mdx
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,7 @@ with OpenRouter(
149
149
|`x_open_router_categories`|*Optional[str]*|:heavy_minus_sign:| Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.<br/> ||
150
150
|`creator_user_id`|*OptionalNullable[str]*|:heavy_minus_sign:| Optional user ID of the key creator. Only meaningful for organization-owned keys where a specific member is creating the key. | user_2dHFtVWx2n56w6HkM0000000000 |
151
151
|`expires_at`|[date](https://docs.python.org/3/library/datetime.html#date-objects)|:heavy_minus_sign:| Optional ISO 8601 UTC timestamp when the API key should expire. Must be UTC, other timezones will be rejected | 2027-12-31T23:59:59Z |
152
+
|`external_api_key`|*Optional[str]*|:heavy_minus_sign:| Optional partner-supplied API key. Stored as a SHA-256 hash and never returned. Accepted only when authenticating with a Connect client secret. ||
152
153
|`include_byok_in_limit`|*Optional[bool]*|:heavy_minus_sign:| Whether to include BYOK usage in the limit | true |
153
154
|`limit`|*OptionalNullable[float]*|:heavy_minus_sign:| Optional spending limit for the API key in USD | 50 |
154
155
|`limit_reset`|[OptionalNullable[operations.CreateKeysLimitReset]](../../operations/createkeyslimitreset.mdx)|:heavy_minus_sign:| Type of limit reset for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday. | monthly |
0 commit comments