v1

latestOpenAPI 3.1.02026-07-1730321418.0 KB
AI

List Models

List all models, both machine learning and language models, available in the runtime. When status=true and a model is in Error, the response also includes:

  • error: structured code object with category, type, and stable code
  • error_message: user-visible details
get/v1/models

Query parameters

format'json' | 'csv'

The format of the response (e.g., json or csv).

statusboolean

If true, includes the status of each model in the response.

metadata_fieldsstring

A comma-separated list of metadata fields to include in the response (e.g., supports_responses_api)

Response

List of models in JSON format

objectstring required

The type of the response (always list)