Projects · Timeglass API
Manage projects, their teams, clients, budgets, and lifecycle.
List Projects
GET /v1/projects
Query parameters
limit· integercursor· stringclient_id· string · uuidteam_id· string · uuidstatus· any
Response 200
data· array of object · requiredproject_id· string · uuid · requiredtitle· string · requireddescription· string · nullable · requiredstatus· any · requiredteam_id· string · uuid · requiredclient_id· string · uuid · nullable · requiredcategory_id· string · uuid · nullable · requiredtarget_minutes· number · nullable · requiredtotal_minutes· number · requiredfirst_active_date· string · nullable · requiredlast_active_date· string · nullable · requiredcreated_at· string · timestamp · required
next_cursor· string · nullable · required
curl "https://api.timeglass.ai/v1/projects" \
-H "Authorization: Bearer $TIMEGLASS_API_KEY"
Create a Project
POST /v1/projects
Requires a key with the read_write scope.
Request body
title· string · requiredteam_id· string · uuid · requireddescription· string · nullableclient_id· string · uuidtarget_minutes· integerstatus· string · One of:active,inactive,completed,draft
Response 201
project· object · requiredproject_id· string · uuid · requiredtitle· string · requireddescription· string · nullable · requiredstatus· any · requiredteam_id· string · uuid · requiredclient_id· string · uuid · nullable · requiredcategory_id· string · uuid · nullable · requiredtarget_minutes· number · nullable · requiredtotal_minutes· number · requiredfirst_active_date· string · nullable · requiredlast_active_date· string · nullable · requiredcreated_at· string · timestamp · required
curl -X POST "https://api.timeglass.ai/v1/projects" \
-H "Authorization: Bearer $TIMEGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Aviation account expansion",
"team_id": "4bfe4a4b-c86b-4b8e-b3f5-3d1c4a2e9f10"
}'
Get a Project
GET /v1/projects/{projectId}
Path parameters
projectId· string · uuid · required
Response 200
project_id· string · uuid · requiredtitle· string · requireddescription· string · nullable · requiredstatus· any · requiredteam_id· string · uuid · requiredclient_id· string · uuid · nullable · requiredcategory_id· string · uuid · nullable · requiredtarget_minutes· number · nullable · requiredtotal_minutes· number · requiredfirst_active_date· string · nullable · requiredlast_active_date· string · nullable · requiredcreated_at· string · timestamp · required
curl "https://api.timeglass.ai/v1/projects/4bfe4a4b-c86b-4b8e-b3f5-3d1c4a2e9f10" \
-H "Authorization: Bearer $TIMEGLASS_API_KEY"
Update a Project
PATCH /v1/projects/{projectId}
Requires a key with the read_write scope.
Path parameters
projectId· string · uuid · required
Request body
title· stringdescription· string · nullablestatus· string · One of:active,inactive,completed,draftclient_id· string · uuid · nullabletarget_minutes· integer
Response 200
project· object · requiredproject_id· string · uuid · requiredtitle· string · requireddescription· string · nullable · requiredstatus· any · requiredteam_id· string · uuid · requiredclient_id· string · uuid · nullable · requiredcategory_id· string · uuid · nullable · requiredtarget_minutes· number · nullable · requiredtotal_minutes· number · requiredfirst_active_date· string · nullable · requiredlast_active_date· string · nullable · requiredcreated_at· string · timestamp · required
curl -X PATCH "https://api.timeglass.ai/v1/projects/4bfe4a4b-c86b-4b8e-b3f5-3d1c4a2e9f10" \
-H "Authorization: Bearer $TIMEGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
Delete a Project
DELETE /v1/projects/{projectId}
Requires a key with the read_write scope.
Path parameters
projectId· string · uuid · required
curl -X DELETE "https://api.timeglass.ai/v1/projects/4bfe4a4b-c86b-4b8e-b3f5-3d1c4a2e9f10" \
-H "Authorization: Bearer $TIMEGLASS_API_KEY"