Skip to main content

List TANGO Models

note

At the moment of writing this documentation, the TANGO Public API server to make the requests is hosted at this link.

GET /api/model

Retrieves a list of all available TANGO Models.

TANGO Models are the core components of the TANGO platform, and they are identified by their Model Code and Model Version.

This endpoint provides a comprehensive overview of all models registered in the TANGO platform, including their metadata.

  • Requires bearer token authentication (bearerAuth).

TANGO Models Metadata

NameTypeDescription
realtime_executionbooleanIndicates if the model supports real-time execution.
allow_downloadbooleanIndicates if the model can be downloaded.
need_contextbooleanIndicates if the model requires the session context for execution.

Response format

[
{
"model_metadata": {
"model_code": "proto_model",
"name": "proto-model",
"description": "proto-model is the best ever!",
"version": "4",
"realtime_execution": true,
"allow_download": true,
"need_context": false,
"workspace": "default_workspace",
"input_schema": {
"fields": [
{
"name": "input",
"type": "string",
"required": true
}
]
},
"output_schema": {
"fields": [
{
"name": "output",
"type": "string",
"required": true
}
]
},
"native_metadata": {
}
},
"is_explainer": false,
"has_explainer": true
}
]

Model Metadata

NameTypeDescription
realtime_executionbooleanIndicates whether the model supports real-time execution.
allow_downloadbooleanIndicates whether the model can be downloaded.
need_contextbooleanIndicates whether the model requires session context for execution.