We use cookies to ensure you get the best experience on our website. Some of these cookies are provided by third parties. You are free to decide which categories you would like to permit and can withdraw this consent at any time (via cookie preferences link on the footer).
By accepting the necessary cookies, you agree to our privacy policy and terms of service, both located in the footer of the website.
Learn more on our terms of service and privacy policy.
Generated from AskNews API 0.24.95.
asknews api byok delete-byok-keyDelete a stored BYOK API key for a provider. Bring your own key is reserved for enterprise clients. If you want to use this feature, please contact us at contact@asknews.app
DELETE /v1/byok/{provider}delete_byok_keymutatingOptions:
| Option | Description |
|---|---|
--provider | The BYOK provider Location: path. Type: string. Required. Choices: anthropic, google. |
This operation requires confirmation and --yes in non-interactive use.
asknews api byok get-byok-keyGet the stored BYOK API key hint for a provider. Bring your own key is reserved for enterprise clients. If you want to use this feature, please contact us at contact@asknews.app
GET /v1/byok/{provider}get_byok_keyread-onlyOptions:
| Option | Description |
|---|---|
--provider | The BYOK provider Location: path. Type: string. Required. Choices: anthropic, google. |
asknews api byok upsert-byok-keyStore a BYOK API key for a provider. Bring your own key is reserved for enterprise clients. If you want to use this feature, please contact us at contact@asknews.app
PUT /v1/byok/{provider}upsert_byok_keymutatingOptions:
| Option | Description |
|---|---|
--provider | The BYOK provider Location: path. Type: string. Required. Choices: anthropic, google. |
Request body fields:
| Option | Type | Required | Description |
|---|---|---|---|
--api-key | string | yes |
Use direct kebab-case body options, --body '{...}', or --body @request.json.
Direct body options override values supplied through --body.
This operation requires confirmation and --yes in non-interactive use.
All commands support --output human|table|json|jsonl|yaml, --json, API/auth URL
overrides, request timeout, and color control. Result data is written to stdout; diagnostics
are written to stderr.