Retrieves the model IDs of all models accessible within a project.

Input Parameter

Type

Default

Description

project_id

str

None

The unique identifier for the project.

PROJECT_ID = 'example_project'

client.list_models(
    project_id=PROJECT_ID
)

Return Type

Description

list

A list containing the string ID of each model.

[
    'model_a',
    'model_b',
    'model_c'
]