cloudcli
  1. Environments
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. Environments

Get environment

GET
https://cloudcli.ai/api/v1/environments/{id}
Get details of a specific environment

Request

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

Responses

🟢200OK
application/json
Successful response
Body

🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://cloudcli.ai/api/v1/environments/' \
--header 'X-API-KEY: <api-key>'
Response Response Example
200 - Example 1
{
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "My Backend API",
    "subdomain": "mybackend-abc123",
    "access_url": "https://mybackend-abc123.cloudcli.ai",
    "status": "running",
    "github_url": "https://github.com/username/repo",
    "created_at": "2019-08-24T14:15:22.123Z"
}
Modified at 2025-12-29 17:45:12
Previous
List environments
Next
Create environment
Built with