cloudcli
  1. Agents
cloudcli
  • CloudCLI API Documentation
  • Environments
    • List environments
      GET
    • Get environment
      GET
    • Create environment
      POST
    • Delete environment
      DELETE
    • Get SSH credentials
      GET
    • Start environment
      POST
    • Stop environment
      POST
  • Agents
    • Execute AI agent
      POST
    • AI Agent models
      GET
  • Schemas
    • Schemas
      • AgentModels
      • Environment
      • CreateEnvironmentRequest
      • SSHCredentials
      • AgentExecuteRequest
      • Error
  1. Agents

AI Agent models

GET
https://cloudcli.ai/api/v1/agent/models
Returns the list of supported AI providers and their available models.

Request

Authorization
API Key
Add parameter in header
X-API-KEY
Example:
X-API-KEY: ********************
or

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://cloudcli.ai/api/v1/agent/models' \
--header 'X-API-KEY: <api-key>'
Response Response Example
{
    "claude": {
        "OPTIONS": [
            {
                "value": "sonnet",
                "label": "Sonnet"
            },
            {
                "value": "opus",
                "label": "Opus"
            },
            {
                "value": "haiku",
                "label": "Haiku"
            },
            {
                "value": "opusplan",
                "label": "Opus Plan"
            },
            {
                "value": "sonnet[1m]",
                "label": "Sonnet [1M]"
            }
        ],
        "DEFAULT": "sonnet"
    },
    "cursor": {
        "OPTIONS": [
            {
                "value": "gpt-5.2-high",
                "label": "GPT-5.2 High"
            },
            {
                "value": "gemini-3-pro",
                "label": "Gemini 3 Pro"
            },
            {
                "value": "opus-4.5-thinking",
                "label": "Claude 4.5 Opus (Thinking)"
            },
            {
                "value": "gpt-5.2",
                "label": "GPT-5.2"
            },
            {
                "value": "gpt-5.1",
                "label": "GPT-5.1"
            },
            {
                "value": "gpt-5.1-high",
                "label": "GPT-5.1 High"
            },
            {
                "value": "composer-1",
                "label": "Composer 1"
            },
            {
                "value": "auto",
                "label": "Auto"
            },
            {
                "value": "sonnet-4.5",
                "label": "Claude 4.5 Sonnet"
            },
            {
                "value": "sonnet-4.5-thinking",
                "label": "Claude 4.5 Sonnet (Thinking)"
            },
            {
                "value": "opus-4.5",
                "label": "Claude 4.5 Opus"
            },
            {
                "value": "gpt-5.1-codex",
                "label": "GPT-5.1 Codex"
            },
            {
                "value": "gpt-5.1-codex-high",
                "label": "GPT-5.1 Codex High"
            },
            {
                "value": "gpt-5.1-codex-max",
                "label": "GPT-5.1 Codex Max"
            },
            {
                "value": "gpt-5.1-codex-max-high",
                "label": "GPT-5.1 Codex Max High"
            },
            {
                "value": "opus-4.1",
                "label": "Claude 4.1 Opus"
            },
            {
                "value": "grok",
                "label": "Grok"
            }
        ],
        "DEFAULT": "auto"
    },
    "codex": {
        "OPTIONS": [
            {
                "value": "gpt-5.2",
                "label": "GPT-5.2"
            },
            {
                "value": "gpt-5.1-codex-max",
                "label": "GPT-5.1 Codex Max"
            },
            {
                "value": "o3",
                "label": "O3"
            },
            {
                "value": "o4-mini",
                "label": "O4-mini"
            }
        ],
        "DEFAULT": "gpt-5.2"
    }
}
Modified at 2025-12-29 17:48:33
Previous
Execute AI agent
Next
AgentModels
Built with