Models
Create a custom model
client.models.create(ModelCreateParams { model } params, RequestOptionsoptions?): InferenceModel { id, created_at, created_by_identity_type, 10 more }
POST/v5/models
List custom models
client.models.list(ModelListParams { ending_before, limit, model_vendor, 4 more } query?, RequestOptionsoptions?): CursorPage<InferenceModel { id, created_at, created_by_identity_type, 10 more } >
GET/v5/models
Update a custom model
client.models.update(stringmodelID, ModelUpdateParams { model } params, RequestOptionsoptions?): InferenceModel { id, created_at, created_by_identity_type, 10 more }
PATCH/v5/models/{model_id}
Delete a custom model
client.models.delete(stringmodelID, RequestOptionsoptions?): ModelDeleteResponse { id, deleted, object }
DELETE/v5/models/{model_id}
Get a custom model
client.models.retrieve(stringmodelID, RequestOptionsoptions?): InferenceModel { id, created_at, created_by_identity_type, 10 more }
GET/v5/models/{model_id}