Optional
assetRetrieves only the resources with the given asset_id, asset_id would be the model id.
Optional
conflictReturns whether serving_name
is available for use or not. This query parameter cannot be combined with any
other parameter except for serving_name
.
Optional
headersOptional
nameRetrieves only the resources with the given name.
Optional
projectThe project that contains the resource. Either space_id
or project_id
query parameter has to be given.
Optional
promptRetrieves only the resources with the given prompt_template_id.
Optional
servingRetrieves the deployment, if any, that contains this serving_name
.
Optional
spaceThe space that contains the resource. Either space_id
or project_id
query parameter has to be given.
Optional
stateRetrieves the resources filtered by state. Allowed values are initializing
, updating
, ready
and
failed
.
Optional
tagRetrieves only the resources with the given tag value.
Optional
typeRetrieves the resources filtered with the given type. There are the deployment types as well as an
additional
prompt_template
if the deployment type includes a prompt template.
The supported deployment types are (see the description for deployed_asset_type
in the deployment entity):
prompt_tune
- when a prompt tuned model is deployed. 2. foundation_model
- when a prompt template is used
on a pre-deployed IBM provided model. 3. custom_foundation_model
- when a custom foundation model is deployed. These can be combined with the flag prompt_template
like this:
type=prompt_tune
- return all prompt tuned model deployments. 2. type=prompt_tune and prompt_template
-
return all prompt tuned model deployments with a prompt template. 3. type=foundation_model
- return all prompt
template deployments. 4. type=foundation_model and prompt_template
- return all prompt template deployments -
this is the same as the previous query because a foundation_model
can only exist with a prompt template. 5.
type=prompt_template
- return all deployments with a prompt template.
Parameters for the
listDeployments
operation.