Skip to main content

pb.deployments.list

pb.deployments.list

List LLM Deployments

Parameters:

   type: str, default None
Either shared or private to return only deployments of the specified type

Returns:

   List[Deployments]

Examples:

List Deployments

pb.deployments.list()
pb.deployments.list(type="private")
NOTE

Note that the config result associated with a deployment does not include the hf_token field, even if set. The hf_token field is persisted on the backend.