Returns a workspace by ID, including its computers.
cURL
curl --request GET \ --url https://www.orgo.ai/api/workspaces/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "550e8400-e29b-41d4-a716-446655440000", "name": "production", "created_at": "2023-11-07T05:31:56Z", "computer_count": 3, "computers": [ { "id": "a3bb189e-8bf9-3888-9912-ace4e6543002", "name": "agent-1", "workspace_id": "550e8400-e29b-41d4-a716-446655440000", "os": "linux", "ram": 4, "cpu": 2, "gpu": "none", "status": "running", "url": "https://orgo.ai/workspaces/a3bb189e-8bf9-3888-9912-ace4e6543002", "created_at": "2023-11-07T05:31:56Z" } ] }
curl https://www.orgo.ai/api/workspaces/550e8400-e29b-41d4-a716-446655440000 \ -H "Authorization: Bearer $ORGO_API_KEY"
{ "id": "550e8400-e29b-41d4-a716-446655440000", "name": "production", "created_at": "2024-01-15T10:30:00Z", "computer_count": 2, "computers": [ { "id": "a3bb189e-8bf9-3888-9912-ace4e6543002", "name": "agent-1", "os": "linux", "ram": 4, "cpu": 2, "status": "running" }, { "id": "b2c3d4e5-f6a7-8901-bcde-f23456789012", "name": "agent-2", "os": "linux", "ram": 8, "cpu": 4, "status": "stopped" } ] }
API key authentication. Get your key at orgo.ai/workspaces
Workspace ID
Workspace details
Unique workspace identifier
"550e8400-e29b-41d4-a716-446655440000"
Workspace name
"production"
Creation timestamp
Number of computers in this workspace
3
Show child attributes