CloudInfraOS

Projects & Resources API

Programmatically manage projects and access synced cloud resources from all your connected providers.

Projects

List Projects

GET /api/projects

Returns all projects in your organization. Supports filtering by name and status.

Query Parameters

  • query β€” search by project name (string)
  • limit β€” results per page (integer, default 20, max 100)
  • offset β€” pagination offset (integer, default 0)

Create Project

POST /api/projects
{
  "name": "Production Infrastructure",
  "description": "Core production services"
}

Get Project

GET /api/projects/:id

Returns a single project with its apps, provider connections, and resource counts.

Update Project

PATCH /api/projects/:id

Delete Project

DELETE /api/projects/:id

Permanently deletes the project and all associated apps and connections.

Resources

List Resources

GET /api/resources

Returns synced resources across all connected providers.

Query Parameters

  • project_id β€” filter by project
  • provider β€” filter by provider (aws, gcp, azure, vercel)
  • type β€” filter by resource type (ec2, s3, rds, lambda, etc.)
  • tags β€” filter by resource tags (comma-separated key:value pairs)
  • limit / offset β€” pagination

Get Resource

GET /api/resources/:id

Returns detailed resource information including tags, cost history, and configuration.

Costs

List Cost Snapshots

GET /api/costs

Returns cost data across providers. Filter by date range, project, or provider.

Cost Summary

GET /api/costs/summary

Aggregated costs grouped by provider, service, or project for the specified period.