Management

Create an inference key

Creates an inference key. owner is required and can't change later. The cap is limited to your organization's cap. Your organization needs a monthly spend cap. Other fields return 400.

post/v1/keys

Request

  • Base URL: https://api.consus.io
  • URL: https://api.consus.io/v1/keys
  • Auth: API key in header x-api-key

Request body

ownerstring email required

Who owns the key. Can't change later.

labelstring
descriptionstring
requested_monthly_limit_usdnumber

Capped at your organization's limit. Leave out for the default.

Response

The new key. value is returned once and never again.

key_idstring
valuestring

The key's secret. Shown once.

monthly_limit_usdnumber

Changes

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