Skip to main content
 print this page

List AI models

GET 

/ai/models

Returns available AI models. Three list modes:

  • When action is omitted, returns all available models. - When action is list_by_modality, returns models whose enabled modality entries intersect both input_modality and output_modality. - When action is list_by_component, returns the models allow-listed for the given component. component is required; an unknown component returns IPV-1041.

Request

Responses

A page of AI models. Iterate by incrementing offset by limit while next_available is "yes", and stop when it is "no". next_available is a string ("yes" or "no"). total_count is the size of the full result set before pagination. For the default listing and action=list_by_modality, each item uses the listing projection documented by AIModelsListObject. For action=list_by_component, items are returned with full model metadata.

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers