Inference
Inference
InferenceAPI Keys
Create a Model API Key
client.inference.apiKeys.create(APIKeyCreateParams { name } body?, RequestOptionsoptions?): APIKeyCreateResponse { api_key_info }
/v2/gen-ai/models/api_keys
Delete API Key for a Model
client.inference.apiKeys.delete(stringapiKeyUuid, RequestOptionsoptions?): APIKeyDeleteResponse { api_key_info }
/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 }
/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 }
/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 }
/v2/gen-ai/models/api_keys/{api_key_uuid}/regenerate