List available models¶
Query the selectable model names and backend information of the current workspace for agent calling and workflow model selection. This interface does not return provider credentials.
GET $CLOUDSIGMA_API_BASE/workspaces/{workspace_id}/llm/models
Before you call¶
Configure the CloudSigma regional endpoint and authentication before calling. The endpoint, credentials, workspace, and resource IDs must belong to the same region. Prepare personal access token and target workspace ID that can access the target workspace.
Request parameters¶
curl "$CLOUDSIGMA_API_BASE/workspaces/$WORKSPACE_ID/llm/models?type=chat" \
-H "X-API-Key: $CLOUDSIGMA_API_KEY" \
-H "X-Workspace-ID: $WORKSPACE_ID"
$WORKSPACE_ID is the target workspace ID, and $CLOUDSIGMA_API_KEY is the calling credential.
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
The target workspace ID must be consistent with the workspace request header. |
Query parameters
Type parameters are used to filter model types. This interface does not test model capabilities, and the models in the list may still be unable to complete the corresponding inference.
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
No |
Model type, default |
This interface does not use paging parameters.
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {
"models": [
{
"model": "qwen3-coder-plus",
"backend_id": -900001,
"backend_name": "Genesis",
"model_type": "chat"
}
]
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
|
|
string |
|
|
object |
Query results. |
|
array of object |
List of currently visible models. |
|
string |
The model name to use when calling. |
|
integer |
Model backend ID. |
|
string |
Model backend name. |
|
string |
Model type. Returned if there is a value. |
Querying the model configuration list returns the saved agent model configuration and cannot replace this interface. When the model configuration list is empty, there may still be callable models in the current workspace.
Select one to use data.models[].model for params.model calling agent via A2A.