/api/v1/workspaceThe token's workspace
200400401429
Leap API · v1.0.0
Your firm’s agents and integrations read and change the work through one API, each with its own token and the permissions you set, and every change runs the same checks, bells and audit trail as one a person makes. They create and move work items, assign people and comment. REST or MCP, one set of rules.
Comes with Summit, the plan with Flow, Grove and North. Base can’t add a machine user.
An owner or admin adds one in Settings › Members › Machine users and names the person it works for. It reads and does exactly what that person can, never more, and takes no seat. Every change it makes is named for both, the agent and the person.
Pick what it may read, and whether it may write. The token is shown once. It expires on the date you pick, and revokes itself after 90 days unused. Its mode and scope are fixed when it is minted: rotating keeps them, and a different set means a new token.
Send it as a bearer token. Every answer is JSON. A write token creates, changes and comments on work items, and logs, edits and submits time for the person it acts for, never as itself. Nothing is deleted through the API.
curl https://www.goleap.io/api/v1/work-items?status=Ready \
-H "Authorization: Bearer leap_…"curl -X POST https://www.goleap.io/api/v1/work-items \
-H "Authorization: Bearer leap_…" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: deploy-4812" \
-d '{"project_id": "…", "title": "Roll back the 4.12 deploy", "type": "bug"}'Every read and write runs under the permissions of the person the agent works for, in the token’s own workspace. Change the person and its reach changes on the next request. A record anywhere else is the same 404 as one that doesn’t exist.
A token reads only the resources its scope names when it is minted. People and logged time both start unticked: tick People if your agent assigns or @mentions anyone, and Time entries if it reads or logs hours.
No cost or bill rate, fee, budget, margin, revenue or pay, on any resource, to any token. No kind of leave. A person’s email is on their people record and nowhere else.
An agent that speaks the Model Context Protocol connects with the same token. It gets the same resources as REST, and North’s reads of the work (North is Leap’s own agent that reads and explains): a team’s load, velocity, blockers and capacity. North only reads. With a write token, your agent gets the same three writes.
Streamable HTTP, POST only and stateless, with the token as the auth (no OAuth). A read token is welcome here. A workspace off Summit answers 402 plan_upgrade_required.
{
"mcpServers": {
"leap": {
"type": "http",
"url": "https://www.goleap.io/api/mcp",
"headers": { "Authorization": "Bearer leap_…" }
}
}
}Base URL https://www.goleap.io/api/v1. Lists are ordered by id and paged: pass next_cursor back as cursor. 50 a page by default, up to 100. This reference is the API’s own OpenAPI 3.1 document , rendered.
| Field | Type |
|---|---|
id | uuid |
name | string or null |
slug | string or null |
timezone | string or null |
created_at | timestamp or null |
/api/v1/workspace200400401429
Stories, bugs, tasks and subtasks.
| Field | Type |
|---|---|
id | uuid |
key | string or null |
title | string or null |
description | string or null |
type | string or null |
status | string or null |
priority | string or null |
points | number or null |
labels | string[] or null |
assignee_id | uuid or null |
project_id | uuid or null |
team_id | uuid or null |
timebox_id | uuid or null |
parent_id | uuid or null |
created_at | timestamp or null |
updated_at | timestamp or null |
/api/v1/work-itemslimit integercursor stringproject_id uuidteam_id uuidtimebox_id uuidassignee_id uuidstatus stringtype stringupdated_since timestamp200400401403429
/api/v1/work-itemsWrite tokenCreates a story, bug, task or subtask for the person the token acts for, through the same path a hand edit takes (validation, audit row, automation, bells). A subtask names its parent_id and no project_id.
Idempotency-Key header| Field | Type | Notes |
|---|---|---|
project_id | uuid | |
type | "story" | "bug" | "task" | "subtask" | |
parent_id | string | |
title required | string | |
description | string or null | Plain text or simple HTML. |
status | "New" | "Needs Refinement" | "Ready" | "In Progress" | "Testing" | "Done" | |
priority | "High" | "Medium" | "Low" | |
points | integer or null | |
labels | string[] or null | |
assignee_id | uuid or null | |
timebox_id | uuid or null | |
team_id | uuid or null |
200201400401403413429
/api/v1/work-items/{id}200400401403404429
/api/v1/work-items/{id}Write tokenChanges only the fields named, as a hand edit does (status moves run the workflow; an assignee gets their bell).
| Field | Type | Notes |
|---|---|---|
title | string | |
description | string or null | Plain text or simple HTML. |
status | string | |
priority | "High" | "Medium" | "Low" | |
points | integer or null | |
labels | string[] or null | |
assignee_id | uuid or null | |
timebox_id | uuid or null | |
team_id | uuid or null |
200400401403404413429
/api/v1/work-items/{id}/commentsWrite tokenAdds a plain-text comment to the work item's thread for the person the token acts for (it reads "By an agent"). Each person in mentioned_user_ids gets a bell.
| Field | Type |
|---|---|
body required | string |
mentioned_user_ids | uuid[] |
201400401403404413429
The workspace's members, people and machine users: names, email and role. id is the one a work item's assignee_id names; auth_user_id is the one a time entry's user_id names. Never a cost, rate, capacity or leave.
| Field | Type |
|---|---|
id | uuid |
auth_user_id | uuid or null |
first_name | string or null |
last_name | string or null |
email | string or null |
role | string or null |
status | string or null |
is_machine | boolean or null |
avatar_url | string or null |
/api/v1/peoplelimit integercursor stringstatus stringrole string200400401403429
/api/v1/people/{id}200400401403404429
Flow projects: the containers that hold work items.
| Field | Type |
|---|---|
id | uuid |
key | string or null |
name | string or null |
status | string or null |
description | string or null |
is_internal | boolean or null |
engagement_id | uuid or null |
created_at | timestamp or null |
updated_at | timestamp or null |
/api/v1/projectslimit integercursor stringstatus stringengagement_id uuid200400401403429
/api/v1/projects/{id}200400401403404429
Grove engagements: client work. No fee, budget, rate or margin.
| Field | Type |
|---|---|
id | uuid |
name | string or null |
status | string or null |
client_id | uuid or null |
start_date | date or null |
end_date | date or null |
created_at | timestamp or null |
updated_at | timestamp or null |
/api/v1/engagementslimit integercursor stringstatus stringclient_id uuid200400401403429
/api/v1/engagements/{id}200400401403404429
Teams that plan and deliver work.
| Field | Type |
|---|---|
id | uuid |
key | string or null |
name | string or null |
archived_at | timestamp or null |
created_at | timestamp or null |
/api/v1/teamslimit integercursor string200400401403429
/api/v1/teams/{id}200400401403404429
A team's timebox (sprint, iteration or period, in the workspace's own words).
| Field | Type |
|---|---|
id | uuid |
name | string or null |
status | string or null |
goal | string or null |
start_date | date or null |
end_date | date or null |
team_id | uuid or null |
created_at | timestamp or null |
/api/v1/timeboxeslimit integercursor stringteam_id uuidstatus string200400401403429
/api/v1/timeboxes/{id}200400401403404429
Logged hours, as time_entries RLS lets the token read them. Never a rate or an amount.
| Field | Type |
|---|---|
id | uuid |
user_id | uuid or null |
date | date |
hours | number |
is_billable | boolean or null |
category | string or null |
status | string or null |
project_id | uuid or null |
engagement_id | uuid or null |
work_item_id | uuid or null |
created_at | timestamp or null |
updated_at | timestamp or null |
/api/v1/time-entrieslimit integercursor stringfrom dateto dateuser_id uuidproject_id uuidengagement_id uuidwork_item_id uuidstatus string200400401403429
/api/v1/time-entriesWrite tokenLogs a draft entry for the person the token acts for, through the timesheet's own path (their RLS, the rate snapshot, the period locks). Never for anyone else.
| Field | Type |
|---|---|
user_id | uuid |
date required | string |
hours required | number |
is_billable | boolean |
category | "development" | "design" | "testing" | "meeting" | "admin" | "other" |
description | string or null |
project_id | uuid or null |
work_item_id | uuid or null |
201400401403413429
/api/v1/time-entries/{id}200400401403404429
/api/v1/time-entries/{id}Write tokenChanges a draft or rejected entry of the person the token acts for. Never a status: an agent never approves or rejects time, and submits a week with /time-entries/submit.
| Field | Type |
|---|---|
date | string |
hours | number |
is_billable | boolean |
category | "development" | "design" | "testing" | "meeting" | "admin" | "other" |
description | string or null |
200400401403404413429
/api/v1/time-entries/submitWrite tokenSubmits the week (Monday to Sunday) of the person the token acts for: every draft and rejected entry, and the week's expenses, in one transaction. It lands in Approvals exactly as their own submission would.
| Field | Type |
|---|---|
user_id | uuid |
week_start required | string |
200400401403413429
Most errors are { "error": "…", "code": "…" }.
| Status | Code | When |
|---|---|---|
| 400 | invalid_parameter, unknown_parameter, invalid_request | A bad or unknown parameter, or a body that doesn’t validate (details names each field). |
| 401 | token_required | No token, or the token was refused. The answer is the same whatever the reason. |
| 403 | scope_refused, read_only, forbidden, workspace_frozen | The token’s scope doesn’t name the resource, a read-only token tried to write, or the person it works for may not make the change. |
| 404 | not_found | Not there, not visible to this token, or in another workspace: never told apart. |
| 409 | conflict | The change conflicts with the work item as it is now. |
| 413 | too_large | A write’s body is over 200 KB. |
| 429 | rate_limited | 120 requests a minute per token. Ten refused tokens a minute from one IP is also a 429, with no code. Honour Retry-After. |
| 500 | read_failed, write_failed | The read or write failed. The body says nothing more. |
| 503 | none | Leap is down for maintenance, or API tokens are unavailable on this server. No code. |
Join the waitlist. Once your workspace is on Summit, add a machine user and mint its token.