Hanzo
OpenapiMl

Lists the inference models deployed in the caller's org.

Lists the inference models deployed in the caller's org.

GET /v1/ml/models

Addresshttps://api.hanzo.ai/v1/ml/models
MethodGET
Operationget_ml_models
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the inference models deployed in the caller's org. Each entry carries the model's name, when Kubernetes admitted it, and kserve's live status — the spec is on the single-model read. An org that has deployed nothing gets an empty list.

Request

GET /v1/ml/models takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200mlResourceListok

200 body — 7 fields.

FieldInTypeAlwaysDescription
itemsbodymlResource[]Items is one entry per object, newest LAST (the Kubernetes list order).
items[].createdAtbodystringCreatedAt is when Kubernetes admitted the object, RFC 3339 in UTC.
items[].namebodystringName is the object's metadata.name, unique within the caller's namespace.
items[].specbodyobjectSpec is the resource spec, verbatim as Kubernetes stores it.
items[].spec.*bodyobject
items[].statusbodyobjectStatus is the live status kserve owns, verbatim.
items[].status.*bodyobject

Failure carries the platform error shape — see Errors.

Examples

hanzo ml models list

ML API · All Hanzo APIs · Interactive reference

How is this guide?

On this page