Management

Get a key

The list fields plus model access, per-person cap, trial cap, and lifetime spend.

get/v1/keys/{key_id}

Request

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

Path parameters

key_idstring required

An inference key id belonging to your organization.

Response

Key detail.

key_idstring
labelstring nullable
ownerstring nullable
status'active' | 'revoked' | 'unmanaged'
createdstring date nullable
monthly_limit_usdnumber nullable

Per-key monthly cap. null means the organization cap applies.

expiresstring date nullable

Trial keys only.

month_to_date_cost_usdnumber
allowed_modelsstring[] nullable

Allowed models. null means no restriction.

person_monthly_limit_usdnumber nullable
max_spend_usdnumber nullable

Lifetime cap, trial keys only.

lifetime_cost_usdnumber

Changes

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