Smart Agent Teams
EndpointsProjects

Get Company Project

Get one project with its task counts and month-to-date spend. Answers 404 `NOT_FOUND` when the project does not belong to this company.

GET
/api/companies/{company_id}/projects/{project_id}

Get one project with its task counts and month-to-date spend.

Answers 404 NOT_FOUND when the project does not belong to this company.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

project_id*Project Id
Formatuuid
company_id*Company Id
Formatuuid

Response Body

Successful Response

application/json
  1. response
created_at*|null
description*string|null
id*Id
Formatuuid
monthly_budget_cents*Monthly Budget Cents
name*Name
repository*string|null
spend_mtd_cents?Spend Mtd Cents
Default0
status*string|null
tasks_done?Tasks Done
Default0
tasks_total?Tasks Total
Default0
curl -X GET "https://example.com/api/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "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}