Response Fields for NIM Metadata API
The response body has four top-level sections, and all four are optional. Real responses contain a subset of the fields described on this page. A complete example with every field populated is available in the API reference documentation.
The following table describes the top-level sections:
Serialization Rules
The following rules hold across the entire JSON response body and are enforced by the service. Use these rules to interpret anything you get back.
- The service never emits
null. The service serializes with non-null inclusion. If a field has no value, the key is absent entirely. - Absent means unknown, not false. A missing
feat_loradoes not mean LoRA adapters are unsupported; it means nothing was recorded. Never treat an absent boolean asfalse, or an absent number as0. - Only populated fields appear. A response contains what was supplied at publish time and nothing else. Two profiles in the same response body can carry different sets of keys and values.
- One deliberate exception applies. An explicitly empty
tested_gpu_devicesarray is preserved, so “tested on nothing” stays distinguishable from “unknown.” - Tolerate keys you do not recognize. The set of fields grows as the schema evolves, so a response body can contain keys that postdate your integration. Parse permissively, ignore what you do not know, and never fail on an unrecognized key.
Profiles
The profiles array holds the deployable configurations. Only profile_id
and tested_gpu_devices are guaranteed present, so treat every other field
as optional.
The following table describes the profile fields:
Release Details
The release_details object holds facts about the release of a container. All
fields are optional.
The following table describes the release fields:
Features
The features object holds capability flags for the NIM microservice. All
fields are optional and boolean unless noted otherwise.
The following table describes the feature flags:
Related URLs
The related_urls field is an array of strings that holds links to related
resources for this NIM microservice.