Provider credentials

Configure a provider credential

Stores or updates an API key credential for a model provider (BYOK). Requires workspace owner or admin membership. Keys are encrypted, write-only, and never returned.

<sub>Scope: org:write</sub>

put/v3/organizations/{orgId}/provider-credentials/{providerId}

Request

  • Base URL: https://api.reasonmachines.com
  • URL: https://api.reasonmachines.com/v3/organizations/{orgId}/provider-credentials/{providerId}
  • Auth: HTTP bearer

Request body

keystring required

The provider API key. Write-only; never returned.

configobject

Optional non-secret provider configuration settings (e.g. AWS_REGION, CLOUDFLARE_ACCOUNT_ID, CUSTOM_ENDPOINT_BASE_URL).

Response

Provider credential configured.

oktrue required
provider_idstring required

Provider identifier.

account_keystring required

Account slot identifier.

account_labelstring nullable required

Account slot label.

type'api_key' required
config_namesstring[] required

Names of configured settings.

connectedtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.