Smart Agent Teams
EndpointsProjects

List Company Projects

List the company's projects, oldest first, with task counts and spend. `tasks_total` excludes `cancelled` tasks; `tasks_done` counts `done` tasks. `spend_mtd_cents` is the cost of runs on the project's tasks since the first of the current UTC month, in integer cents.

GET
/api/companies/{company_id}/projects

List the company's projects, oldest first, with task counts and spend.

tasks_total excludes cancelled tasks; tasks_done counts done tasks. spend_mtd_cents is the cost of runs on the project's tasks since the first of the current UTC month, in integer cents.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

company_id*Company Id
Formatuuid

Response Body

Successful Response

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/api/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects"
[  {    "created_at": "2019-08-24T14:15:22Z",    "description": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "monthly_budget_cents": 0,    "name": "string",    "repository": "string",    "spend_mtd_cents": 0,    "status": "string",    "tasks_done": 0,    "tasks_total": 0  }]