Smart Agent Teams
EndpointsProjects

Create Company Project

Create a project in the company; it starts `active`. `monthly_budget_cents` is in integer cents (`0` = no limit). Publishes `project.created`.

POST
/api/companies/{company_id}/projects

Create a project in the company; it starts active.

monthly_budget_cents is in integer cents (0 = no limit). Publishes project.created.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

company_id*Company Id
Formatuuid

Request Body

application/json
  1. body
description?string|null
monthly_budget_cents?Monthly Budget Cents
Range0 <= value
Default0
name*Name
Length1 <= length <= 100
repository?string|null

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 POST "https://example.com/api/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "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}