Skip to content
  • Auto
  • Light
  • Dark

Inference

Inference

InferenceAPI Keys

Create a Model API Key
client.inference.apiKeys.create(APIKeyCreateParams { name } body?, RequestOptionsoptions?): APIKeyCreateResponse { api_key_info }
post/v2/gen-ai/models/api_keys
Delete API Key for a Model
client.inference.apiKeys.delete(stringapiKeyUuid, RequestOptionsoptions?): APIKeyDeleteResponse { api_key_info }
delete/v2/gen-ai/models/api_keys/{api_key_uuid}
List Model API Keys
client.inference.apiKeys.list(APIKeyListParams { page, per_page } query?, RequestOptionsoptions?): APIKeyListResponse { api_key_infos, links, meta }
get/v2/gen-ai/models/api_keys
Update API Key for a Model
client.inference.apiKeys.update(stringapiKeyUuid, APIKeyUpdateParams { api_key_uuid, name } body?, RequestOptionsoptions?): APIKeyUpdateResponse { api_key_info }
put/v2/gen-ai/models/api_keys/{api_key_uuid}
Regenerate API Key for a Model
client.inference.apiKeys.updateRegenerate(stringapiKeyUuid, RequestOptionsoptions?): APIKeyUpdateRegenerateResponse { api_key_info }
put/v2/gen-ai/models/api_keys/{api_key_uuid}/regenerate
ModelsExpand Collapse
APIModelAPIKeyInfo { created_at, created_by, deleted_at, 3 more }

Model API Key Info

created_at?: string

Creation date

formatdate-time
created_by?: string

Created by

formatuint64
deleted_at?: string

Deleted date

formatdate-time
name?: string

Name

secret_key?: string
uuid?: string

Uuid