Retrieve all projects for the authenticated user
curl --request GET \
--url https://www.orgo.ai/api/projects \
--header 'Authorization: Bearer <token>'
{
"projects": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "computer-abc123",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "active",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"desktops": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fly_instance_id": "<string>",
"status": "initializing",
"instance_details": {
"webUrl": "https://computer-abc123.orgo.dev",
"vncHost": "computer-abc123.orgo.dev",
"vncPort": 6080,
"webPort": 6080,
"id": "<string>",
"name": "<string>",
"machineId": "<string>"
},
"config": {
"cpu": 2,
"ram": 2
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
]
}
API key authentication using Bearer token
List of projects with their desktop instances
The response is of type object
.
curl --request GET \
--url https://www.orgo.ai/api/projects \
--header 'Authorization: Bearer <token>'
{
"projects": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "computer-abc123",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "active",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"desktops": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fly_instance_id": "<string>",
"status": "initializing",
"instance_details": {
"webUrl": "https://computer-abc123.orgo.dev",
"vncHost": "computer-abc123.orgo.dev",
"vncPort": 6080,
"webPort": 6080,
"id": "<string>",
"name": "<string>",
"machineId": "<string>"
},
"config": {
"cpu": 2,
"ram": 2
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
]
}