Skip to main content

ListResponse[ModelResponse]

Paginated response containing Model Response records. The required field is items.

items object[]required

List of resource items

  • Array [
  • idId (string)required

    Server-assigned unique identifier

    nameName (string)required

    Resource name

    alias object

    URL-safe short handle

    anyOf
    string
    categoryCategory (string)required

    Resource type tag

    typeType (string)required

    Model placement: internal is hosted in D.Hub; external uses a registered endpoint.

    Possible values: [internal, external]

    collection_id object

    Parent collection ID

    anyOf
    string
    folder_id object

    Identifier of the containing folder.

    anyOf
    string
    tags object

    Classification labels

    anyOf
  • Array [
  • string
  • ]
  • description object

    Resource description

    anyOf
    string
    markingsstring[]

    Mandatory marking ids this resource requires; read-only — set via the marking guard endpoints, not Create/PATCH.

    Default value: []
    created_at object

    Creation timestamp (Unix ms)

    anyOf
    integer
    updated_at object

    Last update timestamp (Unix ms)

    anyOf
    integer
    owners object[]

    Users and groups that own the resource.

  • Array [
  • idId (string)required

    "user." | "group." | "public.all"

    typeType (string)required

    Possible values: [user, group, public]

    display_nameDisplay Name (string)required
    avatar_url object
    anyOf
    string
    avatar_config object
    anyOf
    object
    email object
    anyOf
    string<email>
  • ]
  • my_share_scope object

    How the current caller received access to the resource.

    anyOf
    string

    Possible values: [owner, grant, admin]

    protocolProtocol (string)required

    REST contract identifier ('openai-embeddings' | 'custom').

    Possible values: [openai-embeddings, custom]

    deployment object
    anyOf
    imageImage (string)required

    Fully qualified container image reference. Custom images must be digest-pinned and cannot use the latest tag.

    artifact_version object

    Artifact version identifier to deploy. Omit it to resolve the latest version when deployment starts.

    anyOf
    string
    command object

    Optional container entrypoint override.

    anyOf
  • Array [
  • string
  • ]
  • args object

    Optional arguments that override the image command.

    anyOf
  • Array [
  • string
  • ]
  • portPort (integer)
    Default value: 8080
    cpu object

    Requested CPU amount, such as 500m.

    anyOf
    string
    memory object

    Requested memory amount, such as 2Gi.

    anyOf
    string
    gpu object

    GPU count request

    anyOf
    integer
    replicasReplicas (integer)

    Number of model instances to run. Higher values increase resource usage.

    Default value: 1
    health_pathHealth Path (string)

    HTTP path used to check whether the model is ready and healthy.

    Default value: /healthz
    env object

    Non-secret environment variables passed to the model container. Store secrets separately.

    property name*string
    node_selector object

    Node labels that every selected execution node must match.

    property name*string
    tolerations object[]

    Node taints that the model deployment is allowed to tolerate.

  • Array [
  • key object

    Taint key matched by this toleration, or null to match every key when operator is Exists.

    anyOf
    string
    operatorOperator (string)

    'Equal' requires value; 'Exists' ignores it.

    Possible values: [Exists, Equal]

    Default value: Equal
    value object
    anyOf
    string
    effect object

    Taint effect matched by this toleration, or null to match every effect.

    anyOf
    string

    Possible values: [NoSchedule, PreferNoSchedule, NoExecute]

    toleration_seconds object

    For effect='NoExecute', evict after this many seconds.

    anyOf
    integer
  • ]
  • url object
    anyOf
    string
    auth object
    anyOf
    kindKind (string)

    Possible values: [bearer, none]

    Default value: none
    secret_ref object

    Opaque reference to a stored secret. Required when kind is bearer; raw tokens are never returned.

    anyOf
    string
    headerHeader (string)
    Default value: Authorization
    prefixPrefix (string)
    Default value: Bearer
    model object
    anyOf
    string
    readyReady (boolean)
    Default value: false
    itemItem (string)requireddeprecated
  • ]
  • next_cursor object

    Cursor for next page

    anyOf
    string
    has_moreHas More (boolean)

    Whether more pages exist

    Default value: false
    ListResponse[ModelResponse]
    {
    "items": [
    {
    "id": "string",
    "name": "string",
    "alias": "string",
    "category": "string",
    "type": "internal",
    "collection_id": "string",
    "folder_id": "string",
    "tags": [
    "string"
    ],
    "description": "string",
    "markings": [
    "string"
    ],
    "created_at": 0,
    "updated_at": 0,
    "owners": [
    {
    "id": "string",
    "type": "user",
    "display_name": "string",
    "avatar_url": "string",
    "avatar_config": {},
    "email": "user@example.com"
    }
    ],
    "my_share_scope": "owner",
    "protocol": "openai-embeddings",
    "deployment": {
    "image": "string",
    "artifact_version": "string",
    "command": [
    "string"
    ],
    "args": [
    "string"
    ],
    "port": 8080,
    "cpu": "string",
    "memory": "string",
    "gpu": 0,
    "replicas": 1,
    "health_path": "/healthz",
    "env": {},
    "node_selector": {},
    "tolerations": [
    {
    "key": "string",
    "operator": "Equal",
    "value": "string",
    "effect": "NoSchedule",
    "toleration_seconds": 0
    }
    ]
    },
    "url": "string",
    "auth": {
    "kind": "none",
    "secret_ref": "string",
    "header": "Authorization",
    "prefix": "Bearer "
    },
    "model": "string",
    "ready": false
    }
    ],
    "next_cursor": "string",
    "has_more": false
    }