Leap API · v1.0.0

Put your own AI agents to work in Leap.

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.

Get started

  1. 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.

  2. Mint a token

    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.

  3. Call the API

    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"}'

What a token can see

  • Only what the person it works for can

    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.

  • Only the resources you named

    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.

  • Never money, never why someone is out

    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.

MCP

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_…" }
    }
  }
}

Reference

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.

Workspace

Workspace fields
FieldType
iduuid
namestring or null
slugstring or null
timezonestring or null
created_attimestamp or null
GET/api/v1/workspace

The token's workspace

200400401429

Work Item

Stories, bugs, tasks and subtasks.

Work Item fields
FieldType
iduuid
keystring or null
titlestring or null
descriptionstring or null
typestring or null
statusstring or null
prioritystring or null
pointsnumber or null
labelsstring[] or null
assignee_iduuid or null
project_iduuid or null
team_iduuid or null
timebox_iduuid or null
parent_iduuid or null
created_attimestamp or null
updated_attimestamp or null
GET/api/v1/work-items

List work items

limit integer
cursor string
next_cursor from the previous page.
project_id uuid
Equals.
team_id uuid
Equals.
timebox_id uuid
Equals.
assignee_id uuid
Equals.
status string
Equals.
type string
Equals.
updated_since timestamp
Changed at or after this time.

200400401403429

POST/api/v1/work-itemsWrite token

Create a work item

Creates 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
Retrying with the same key creates the work item once; a repeat answers 200 with the first one and Idempotent-Replayed: true.
Create a work item: request body
FieldTypeNotes
project_iduuid
type"story" | "bug" | "task" | "subtask"
parent_idstring
title requiredstring
descriptionstring or nullPlain text or simple HTML.
status"New" | "Needs Refinement" | "Ready" | "In Progress" | "Testing" | "Done"
priority"High" | "Medium" | "Low"
pointsinteger or null
labelsstring[] or null
assignee_iduuid or null
timebox_iduuid or null
team_iduuid or null

200201400401403413429

GET/api/v1/work-items/{id}

Get one work item

200400401403404429

PATCH/api/v1/work-items/{id}Write token

Update a work item

Changes only the fields named, as a hand edit does (status moves run the workflow; an assignee gets their bell).

Update a work item: request body
FieldTypeNotes
titlestring
descriptionstring or nullPlain text or simple HTML.
statusstring
priority"High" | "Medium" | "Low"
pointsinteger or null
labelsstring[] or null
assignee_iduuid or null
timebox_iduuid or null
team_iduuid or null

200400401403404413429

POST/api/v1/work-items/{id}/commentsWrite token

Comment on a work item

Adds 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.

Comment on a work item: request body
FieldType
body requiredstring
mentioned_user_idsuuid[]

201400401403404413429

Person

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.

Person fields
FieldType
iduuid
auth_user_iduuid or null
first_namestring or null
last_namestring or null
emailstring or null
rolestring or null
statusstring or null
is_machineboolean or null
avatar_urlstring or null
GET/api/v1/people

List people

limit integer
cursor string
next_cursor from the previous page.
status string
Equals.
role string
Equals.

200400401403429

GET/api/v1/people/{id}

Get one person

200400401403404429

Project

Flow projects: the containers that hold work items.

Project fields
FieldType
iduuid
keystring or null
namestring or null
statusstring or null
descriptionstring or null
is_internalboolean or null
engagement_iduuid or null
created_attimestamp or null
updated_attimestamp or null
GET/api/v1/projects

List projects

limit integer
cursor string
next_cursor from the previous page.
status string
Equals.
engagement_id uuid
Equals.

200400401403429

GET/api/v1/projects/{id}

Get one project

200400401403404429

Engagement

Grove engagements: client work. No fee, budget, rate or margin.

Engagement fields
FieldType
iduuid
namestring or null
statusstring or null
client_iduuid or null
start_datedate or null
end_datedate or null
created_attimestamp or null
updated_attimestamp or null
GET/api/v1/engagements

List engagements

limit integer
cursor string
next_cursor from the previous page.
status string
Equals.
client_id uuid
Equals.

200400401403429

GET/api/v1/engagements/{id}

Get one engagement

200400401403404429

Team

Teams that plan and deliver work.

Team fields
FieldType
iduuid
keystring or null
namestring or null
archived_attimestamp or null
created_attimestamp or null
GET/api/v1/teams

List teams

limit integer
cursor string
next_cursor from the previous page.

200400401403429

GET/api/v1/teams/{id}

Get one team

200400401403404429

Timebox

A team's timebox (sprint, iteration or period, in the workspace's own words).

Timebox fields
FieldType
iduuid
namestring or null
statusstring or null
goalstring or null
start_datedate or null
end_datedate or null
team_iduuid or null
created_attimestamp or null
GET/api/v1/timeboxes

List timeboxes

limit integer
cursor string
next_cursor from the previous page.
team_id uuid
Equals.
status string
Equals.

200400401403429

GET/api/v1/timeboxes/{id}

Get one timebox

200400401403404429

Time Entry

Logged hours, as time_entries RLS lets the token read them. Never a rate or an amount.

Time Entry fields
FieldType
iduuid
user_iduuid or null
datedate
hoursnumber
is_billableboolean or null
categorystring or null
statusstring or null
project_iduuid or null
engagement_iduuid or null
work_item_iduuid or null
created_attimestamp or null
updated_attimestamp or null
GET/api/v1/time-entries

List time entries

limit integer
cursor string
next_cursor from the previous page.
from date
On or after this date.
to date
On or before this date.
user_id uuid
Equals.
project_id uuid
Equals.
engagement_id uuid
Equals.
work_item_id uuid
Equals.
status string
Equals.

200400401403429

POST/api/v1/time-entriesWrite token

Log time

Logs 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.

Log time: request body
FieldType
user_iduuid
date requiredstring
hours requirednumber
is_billableboolean
category"development" | "design" | "testing" | "meeting" | "admin" | "other"
descriptionstring or null
project_iduuid or null
work_item_iduuid or null

201400401403413429

GET/api/v1/time-entries/{id}

Get one time entry

200400401403404429

PATCH/api/v1/time-entries/{id}Write token

Change a time entry

Changes 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.

Change a time entry: request body
FieldType
datestring
hoursnumber
is_billableboolean
category"development" | "design" | "testing" | "meeting" | "admin" | "other"
descriptionstring or null

200400401403404413429

POST/api/v1/time-entries/submitWrite token

Submit a week

Submits 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.

Submit a week: request body
FieldType
user_iduuid
week_start requiredstring

200400401403413429

Errors

Most errors are { "error": "…", "code": "…" }.

StatusCodeWhen
400invalid_parameter, unknown_parameter, invalid_requestA bad or unknown parameter, or a body that doesn’t validate (details names each field).
401token_requiredNo token, or the token was refused. The answer is the same whatever the reason.
403scope_refused, read_only, forbidden, workspace_frozenThe 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.
404not_foundNot there, not visible to this token, or in another workspace: never told apart.
409conflictThe change conflicts with the work item as it is now.
413too_largeA write’s body is over 200 KB.
429rate_limited120 requests a minute per token. Ten refused tokens a minute from one IP is also a 429, with no code. Honour Retry-After.
500read_failed, write_failedThe read or write failed. The body says nothing more.
503noneLeap is down for maintenance, or API tokens are unavailable on this server. No code.

Mint your first token.

Join the waitlist. Once your workspace is on Summit, add a machine user and mint its token.

Join the waitlistAlready on Leap? Sign in