Tidigar public API
Use plain HTTPS with a personal token to list, read, create, update and delete whole plans. Cloud's base URL is https://app.tidigar.com/api/v1. A customer-operated Server uses https://<server-host>/api/v1 at its editor's origin.
Contents
- Authentication
- Versions and compatibility
- Requests and responses
- Tokens: GET /token
- Plans: GET /organizations/:org/plans
- Plans: GET /organizations/:org/plans/:id
- Plans: POST /organizations/:org/plans
- Plans: PUT /organizations/:org/plans/:id
- Revisions: GET /organizations/:org/plans/:id/revisions/:rev
- Merge: POST /organizations/:org/plans/:id/merge
- Validation: POST /organizations/:org/plans/validate
- Trash: DELETE /organizations/:org/plans/:id
- Trash: GET /organizations/:org/trash
- Trash: POST /organizations/:org/trash/:id/restore
- Screens: GET /organizations/:org/plans/:id/screens
- Calendar subscription of a screen
- Activities: GET /organizations/:org/my-activities
- Activities: GET /organizations/:org/plans/:id/activities
- Baselines: POST /organizations/:org/plans/:id/baseline
- Named baselines: /organizations/:org/plans/:id/baselines
- Comments: GET /organizations/:org/plans/:id/activities/:activity/comments
- Revoke token: DELETE /token
- Limits
- Errors
- Conflicts
- Safe retries
Authentication
Sign in to Tidigar, open the account menu, choose Agent access, select an organisation and create a token with a name, scope and expiry. Copy the secret once into secure local storage; never paste it into a chat or commit it. Tokens expire after 90 days by default (1–365 days selectable); an account may have 20 active tokens. A token belongs to one account and one organisation. Expiry stops server-side authorization at once. Revocation, membership loss, role and subscription changes, and account deletion stop server-side authorization within a minute on Tidigar's hosted service and at once on Tidigar Server; GET /token always reflects them at once. A private HTTP cache can retain an already authorized plan response for a further minute, as described below.
Send Authorization: Bearer tdg_… on every request. Do not send session cookies with it. Read scope permits reads, validation and self-revocation. Write scope also needs an owner, coordinator or editor role and current write entitlement. Check the plan's writable before writing; the organisation's writable alone does not grant a protected plan's write access. On Tidigar's hosted service, an organisation that is read only keeps its tokens, but every request for its plans, reads included, answers 402 subscription_required: a Business organisation without a current subscription until it is paid, and a free team with more than five people, counting pending invitations, until it has five again or becomes Business. Payment or the smaller team lifts this within a minute, with the same token. Personal spaces, free teams of five people or fewer and Tidigar Server are not affected. Token requests never create or renew browser sessions.
This API serves agents, scripts and command-line clients. Cross-site browser access has no CORS support. Mutations with a foreign Origin or a Sec-Fetch-Site other than same-origin are refused.
Versions and compatibility
The public API version is in /api/v1. Changes within v1 are additive only: new optional request fields, response fields, routes and error codes. Clients must ignore unknown response fields and branch on error.code, never on the human-readable message. Removing or renaming a field, changing its type or meaning, or requiring a previously optional field needs /api/v2, with at least six months during which v1 continues to work.
The project format has its own version, defined by the model specification. An optional model field does not change the API version. Project normalization keeps only the model's supported fields; the API's unknown-response-field rule does not make arbitrary project fields persistent.
Only the method/path combinations below are public. Other /api/v1 routes are internal and may change; tokens receive 401 token_not_allowed on those routes, including unknown paths, token management and HEAD variants.
Requests and responses
The examples use shell variables BASE, TOKEN, ORG and PLAN_ID for the base URL, secret, organisation ID and project UUID. Set them from your own account and plan; the example organisation is org. JSON bodies use Content-Type: application/json. Save the following canonical project as project.json and its enclosing object as body.json ({ "project": … }). Generate a fresh UUID for each new plan; keep it when retrying that create.
{
"manifest": {
"projectId": "11111111-1111-4111-8111-111111111111",
"formatVersion": 2,
"name": "Launch",
"description": "",
"dimensions": [],
"year": 2026,
"schedule": "calendar-days"
},
"items": [],
"sharedViews": []
}
A plan object contains id (the project's manifest.projectId), name, integer revision, size (normalized JSON bytes), createdAt, createdBy, updatedAt, updatedBy, url and project. Times are Unix milliseconds; creator and updater are account IDs. Answers carrying url also include owner (the plan owner's account ID), ownerName (their display name, or null), access (open, protected or private) and writable (this caller's effective permission to write this plan). Open plans allow organisation editors, coordinators and owners to write. Protected plans allow their plan owner, invited editors and organisation owners to write, subject to the organisation role, subscription and token scope: an organisation viewer or read-only token never writes. Everyone in the organisation can read open and protected plans. The same fields accompany create, update, merge, restore and stale-plan answers; trash entries omit them. Access management uses the signed-in app; bearer tokens and assistants cannot change levels, ownership or invitations. Access belongs to the organisation, outside project; copies, share links, files and Markdown carry none. Outgoing milestone selections also stay with the organisation. A private plan offers only its selected outgoing milestones to other organisation plans: their titles and dates and the source plan name are visible, without granting access to its contents. Private plans are omitted unless the caller is the plan owner, invited to it or an organisation owner; single-plan reads otherwise answer 404 no_such_plan. Tokens and assistants use the same access function. Access changes take effect at normal authorization-cache and list-refresh boundaries; they have no real-time propagation guarantee. url is the link a member opens the plan by in Tidigar, the same link Tidigar copies: https://open.tidigar.com/p/<code> for Cloud and <origin>/p/<code> for Server, where <code> is thirty letters and digits that name the organisation and the plan. It requires signing in and membership; it carries no plan data or access. To find the plan a link names, list the organisation's plans and match url. thumbnailAt is an optional timestamp. usedIn is present only when other plans of the organisation take in one of the plan's milestones or periods as an incoming one: a list of { "milestone", "plan", "name", "incoming" } with this plan's milestone or period ID, the other plan's ID and name, and that plan's item ID. A receiving private plan the caller cannot see instead has plan: "", incoming: "" and name: "a private plan". List entries omit project. A successful single-plan GET or HEAD uses Cache-Control: private, max-age=60, must-revalidate and varies by Cookie, Authorization and Origin. Its opaque ETag covers the whole response, including access and owner metadata; If-None-Match can return an empty 304 after authorization. A private cached response remains fresh for up to a minute; this can add a further minute to authorization-cache propagation after access is lost. Never share this cache between credentials. Create, update and stale responses still send the quoted revision in ETag. Writes accept either a quoted revision or the opaque ETag from a single-plan GET in If-Match; a stale condition returns 409 with the latest plan. Other JSON API responses, including errors, use Cache-Control: no-store.
Create accepts exactly one of { "plan": … } (the simple plan-v1 format) or { "project": … } (canonical project). Plan input uses the link builder's conversion, including inferred dimensions and colors, under fresh IDs. Canonical input preserves its IDs. Updates accept canonical projects only.
Example timestamps, sizes and identifiers below are illustrative. Requests are independent examples; run the update against the revision you last read.
GET /token
curl -sS -H "Authorization: Bearer $TOKEN" "$BASE/token"
Response: 200.
{
"id": "token",
"name": "Automation",
"scope": "write",
"expiresAt": 1800144000000,
"account": {
"email": "owner@example.com"
},
"organization": {
"id": "3f2b8c1e-7d4a-4e9b-9c2f-5a1d6e8b0f47",
"name": "Example"
},
"role": "owner",
"writable": true,
"readable": true
}
readable is false while the organisation's plans answer 402 subscription_required; GET /token itself still answers.
GET /organizations/:org/plans
curl -sS -H "Authorization: Bearer $TOKEN" "$BASE/organizations/$ORG/plans"
Response: 200.
{
"plans": [
{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Launch",
"revision": 1,
"size": 199,
"createdAt": 1792368000000,
"createdBy": "account",
"updatedAt": 1792368000000,
"updatedBy": "account",
"url": "https://open.tidigar.com/p/B5MZ39HYDDVLfkrfw1EIoHXb4kQ9mT"
}
],
"usage": {
"plans": 1,
"bytes": 199,
"maxPlans": 1000,
"maxBytes": 1073741824,
"maxPlanBytes": 1048576
},
"writable": true,
"memberCount": 1
}
GET /organizations/:org/plans/:id
curl -sS -H "Authorization: Bearer $TOKEN" "$BASE/organizations/$ORG/plans/$PLAN_ID"
Response: 200.
{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Launch",
"revision": 1,
"size": 199,
"createdAt": 1792368000000,
"createdBy": "account",
"updatedAt": 1792368000000,
"updatedBy": "account",
"url": "https://open.tidigar.com/p/B5MZ39HYDDVLfkrfw1EIoHXb4kQ9mT",
"owner": "account",
"ownerName": null,
"access": "open",
"writable": true,
"project": {
"manifest": {
"projectId": "11111111-1111-4111-8111-111111111111",
"formatVersion": 2,
"name": "Launch",
"description": "",
"dimensions": [],
"year": 2026,
"schedule": "calendar-days"
},
"items": [],
"sharedViews": []
}
}
POST /organizations/:org/plans
curl -sS -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" --data-binary @body.json "$BASE/organizations/$ORG/plans"
Response: 201.
{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Launch",
"revision": 1,
"size": 199,
"createdAt": 1792368000000,
"createdBy": "account",
"updatedAt": 1792368000000,
"updatedBy": "account",
"url": "https://open.tidigar.com/p/B5MZ39HYDDVLfkrfw1EIoHXb4kQ9mT",
"owner": "account",
"ownerName": null,
"access": "open",
"writable": true,
"project": {
"manifest": {
"projectId": "11111111-1111-4111-8111-111111111111",
"formatVersion": 2,
"name": "Launch",
"description": "",
"dimensions": [],
"year": 2026,
"schedule": "calendar-days"
},
"items": [],
"sharedViews": []
}
}
PUT /organizations/:org/plans/:id
curl -sS -X PUT -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -H 'If-Match: "1"' --data-binary @body.json "$BASE/organizations/$ORG/plans/$PLAN_ID"
Response: 200.
{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Launch",
"revision": 1,
"size": 199,
"createdAt": 1792368000000,
"createdBy": "account",
"updatedAt": 1792368000000,
"updatedBy": "account",
"url": "https://open.tidigar.com/p/B5MZ39HYDDVLfkrfw1EIoHXb4kQ9mT",
"owner": "account",
"ownerName": null,
"access": "open",
"writable": true,
"project": {
"manifest": {
"projectId": "11111111-1111-4111-8111-111111111111",
"formatVersion": 2,
"name": "Launch",
"description": "",
"dimensions": [],
"year": 2026,
"schedule": "calendar-days"
},
"items": [],
"sharedViews": []
}
}
An identical normalized project at the current revision is a no-op. A changed project creates the next revision. Updates always require If-Match.
An activity's or milestone's assignee in a stored project is the organisation's member number for a person, not an account. A period has none. Keep it as read; change assignments with PUT …/activities, which takes account IDs. A changed assignee that names no one who may be assigned, or that the writer may not make, is cleared in the stored revision and recorded in the activity's history; the rest of the write is kept.
GET /organizations/:org/plans/:id/revisions/:rev
curl -sS -H "Authorization: Bearer $TOKEN" "$BASE/organizations/$ORG/plans/$PLAN_ID/revisions/1"
Response: 200.
{
"revision": 1,
"size": 199,
"createdAt": 1792368000000,
"createdBy": "account",
"project": {
"manifest": {
"projectId": "11111111-1111-4111-8111-111111111111",
"formatVersion": 2,
"name": "Launch",
"description": "",
"dimensions": [],
"year": 2026,
"schedule": "calendar-days"
},
"items": [],
"sharedViews": []
}
}
Returns one kept revision of a plan with its canonical project, for example the base of a three-way merge (see Conflicts). Read scope suffices. Every superseded revision is kept for at least one hour after replacement. In Business and Server, the last revision of each UTC day is also kept for 90 days; Free keeps none beyond the hour, and when Business becomes Free its older revisions keep only their hour. The current revision is always kept. Background maintenance may remove expired revisions without another user save. A revision no longer kept returns 404 no_such_revision.
POST /organizations/:org/plans/:id/merge
Saves a change that went stale: send { "base": 3, "project": … } with the revision you read and your whole edited project, after PUT answered 409 stale_revision. The server merges three ways: the base revision, your project and the latest plan. Changes to different records or fields are combined and saved as the next revision, and the response is the plan, as for update.
Where both sides changed the same thing, nothing is saved. The response is 409 merge_conflicts with the latest plan (without its project), the revisions involved and each conflict described in English:
{
"error": { "code": "merge_conflicts", "message": "…" },
"plan": { "id": "11111111-1111-4111-8111-111111111111", "revision": 4, "…": "…" },
"revisions": { "base": 3, "latest": 4 },
"conflicts": [
{
"id": "5f0c2a9e41b37d68",
"kind": "field",
"about": "Activity: Build",
"change": "Title",
"base": "Build",
"mine": "Build the app",
"latest": "Build the site",
"choices": ["mine", "latest"]
}
]
}
kind is field, add-add (added on both sides; base is null), delete-edit, order or domain (the combination would not be valid). Ask the user about each conflict; never choose for them. Then send the same body with "choices": { "<id>": "mine" | "latest" } for every conflict. The server merges again on the plan as it is then, so new conflicts can appear, including domain conflicts that show only once earlier choices are made; answer those the same way and keep sending the earlier choices. A conflict's id depends on both values, so a choice for values that have since changed no longer applies and that conflict is listed again.
Write scope is required. A base no longer kept returns 404 no_such_revision: read the plan and redo the change on it.
POST /organizations/:org/plans/validate
Send the same body as create: exactly one of { "plan": … } or { "project": … }. Returns 200 { "project": …, "summary": "…" } with the normalized canonical project and the link builder's text summary, using activities[index], milestones[index], periods[index] and views[index]. Read scope and current membership suffice, including viewers; an unpaid organisation answers 402 subscription_required as for reads. The route stores nothing and checks the plan size, without reserving space or promising that a later create will succeed.
For example, { "plan": { "name": "Launch", "activities": [ { "title": "Build", "start": "2026-11-02" } ] } } returns a new canonical project and summary Launch (2026)\nactivities[0] Build: 2026-11-02 – 2026-11-02\nviews[0] view Classic: timeline\nviews[1] view Overview: grid. A plan gets the saved views a new plan in Tidigar starts with: Classic, a timeline over the plan's dates, then Overview, a board. The view the plan names comes first. A project keeps the views it has. To keep these generated IDs for creation, send the returned project as { "project": … }.
DELETE /organizations/:org/plans/:id
curl -sS -X DELETE -H "Authorization: Bearer $TOKEN" -H 'If-Match: "1"' "$BASE/organizations/$ORG/plans/$PLAN_ID"
Response: 204 with no body.
Moves the plan to the organisation's trash, where it stays for 30 days and can be restored; after that it is deleted for good. Nothing deletes a plan at once. Deleting always requires If-Match with the revision you read: if the plan has changed since, the answer is 409 stale_revision with the latest plan, and nothing moves. Confirm with the user before deleting a plan.
GET /organizations/:org/trash
curl -sS -H "Authorization: Bearer $TOKEN" "$BASE/organizations/$ORG/trash"
Response: 200.
{
"plans": [
{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Launch",
"revision": 1,
"size": 199,
"createdAt": 1792368000000,
"createdBy": "account",
"updatedAt": 1792368000000,
"updatedBy": "account",
"deletedAt": 1792368000000,
"purgesAt": 1794960000000
}
]
}
Plans in the trash, most recently changed first. They have no url and cannot be read until they are restored.
POST /organizations/:org/trash/:id/restore
curl -sS -X POST -H "Authorization: Bearer $TOKEN" "$BASE/organizations/$ORG/trash/$PLAN_ID/restore"
Response: 200.
{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Launch",
"revision": 1,
"size": 199,
"createdAt": 1792368000000,
"createdBy": "account",
"updatedAt": 1792368000000,
"updatedBy": "account",
"url": "https://open.tidigar.com/p/B5MZ39HYDDVLfkrfw1EIoHXb4kQ9mT",
"owner": "account",
"ownerName": null,
"access": "open",
"writable": true,
"project": {
"manifest": {
"projectId": "11111111-1111-4111-8111-111111111111",
"formatVersion": 2,
"name": "Launch",
"description": "",
"dimensions": [],
"year": 2026,
"schedule": "calendar-days"
},
"items": [],
"sharedViews": []
}
}
Brings the plan back at the revision it had when it was deleted. A plan that is not in the trash answers 404 no_such_plan.
On hosted Cloud, screen management and publication require Business. When Business access ends, hosted screens, their embeds and calendar feeds end. Server supports screen publication independently of hosted billing.
GET /organizations/:org/plans/:id/screens
A screen shows one saved view of a plan to anyone with its link, without an account: on a wall screen in a full browser window, or in a frame on a web page. It follows the plan as it changes, about once a minute. Screens are managed by tokens with write access; an organisation's owners may keep making screens and reading their links to people (agent_screens_off). The screen examples also use VIEW_ID, a saved view's id from the project's sharedViews, and SCREEN_ID, a screen's id.
curl -sS -H "Authorization: Bearer $TOKEN" "$BASE/organizations/$ORG/plans/$PLAN_ID/screens"
Response: 200.
{
"screens": [
{
"id": "44444444-4444-4444-8444-444444444444",
"view": "33333333-3333-4333-8333-333333333333",
"name": "Team room",
"story": "",
"joinCode": false,
"createdAt": 1792368000000,
"createdBy": "account",
"publishedAt": null,
"publishedRevision": null
}
],
"limit": 10
}
A screen never carries its token; read its link for that. publishedAt and publishedRevision say when the screen last showed a new version of the view, or null before the first.
POST /organizations/:org/plans/:id/screens
curl -sS -X POST -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' -d "{\"view\":\"$VIEW_ID\",\"name\":\"Team room\"}" "$BASE/organizations/$ORG/plans/$PLAN_ID/screens"
Response: 201.
{
"screen": {
"id": "44444444-4444-4444-8444-444444444444",
"view": "33333333-3333-4333-8333-333333333333",
"name": "Team room",
"story": "",
"joinCode": false,
"createdAt": 1792368000000,
"createdBy": "account",
"publishedAt": null,
"publishedRevision": null
}
}
Send view and optionally name (1–100 characters, the view's name by default), story and joinCode. A story of up to 65,536 characters plays on the screen, written in the story language; null or "" removes it. joinCode shows a QR code by which members open the plan; it grants no access. A plan has at most ten screens, several of one view if wanted. Confirm with the user before making a screen: anyone holding its link sees the view.
PATCH /organizations/:org/plans/:id/screens/:screen
curl -sS -X PATCH -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' -d '{"name":"Reception","joinCode":true}' "$BASE/organizations/$ORG/plans/$PLAN_ID/screens/$SCREEN_ID"
Response: 200.
{
"screen": {
"id": "44444444-4444-4444-8444-444444444444",
"view": "33333333-3333-4333-8333-333333333333",
"name": "Reception",
"story": "",
"joinCode": true,
"createdAt": 1792368000000,
"createdBy": "account",
"publishedAt": null,
"publishedRevision": null
}
}
Send any of name, story and joinCode. A screen shows one view by its id: to change what it shows, update that view in the project and keep its id. Deleting the view, or moving the plan to the trash, ends its screens.
When a request to make or change a screen sends a story, the answer also has storyWarnings: the story is played against the plan as the screen shows it, and each call a reader's screen would skip is listed with its line, such as {"line": 4, "message": "update skipped: no activity or milestone or period is called \"Pilot\""}. The story is saved either way; correct it and send it again until the list is empty. Calls after a loop() are not checked.
DELETE /organizations/:org/plans/:id/screens/:screen
curl -sS -X DELETE -H "Authorization: Bearer $TOKEN" "$BASE/organizations/$ORG/plans/$PLAN_ID/screens/$SCREEN_ID"
Response: 204 with no body.
The screen's link stops working for good; a deleted screen cannot be brought back. Confirm with the user first, naming the screen.
GET /organizations/:org/plans/:id/screens/:screen/link
curl -sS -H "Authorization: Bearer $TOKEN" "$BASE/organizations/$ORG/plans/$PLAN_ID/screens/$SCREEN_ID/link"
Response: 200.
{
"token": "UNVYfhP4iSvgEwr-UCkMGBTBY-MXWnGzx7lggPQXY38",
"url": "https://embed.tidigar.com/#screen=UNVYfhP4iSvgEwr-UCkMGBTBY-MXWnGzx7lggPQXY38"
}
url is the screen's public address: Cloud's embed page, or /embed/ at a Server's origin. The token is the key to the view: anyone holding the address sees it while the screen is published, also after the token that read it expires. Give it only to the user; never put it in a plan, a log or a public place.
Calendar subscription of a screen
The lowercase hexadecimal SHA-256 of the screen token addresses its published snapshot. Append .ics to that snapshot address to subscribe to its calendar: https://data.tidigar.com/<hash>.ics on Cloud, https://data-test.tidigar.com/<hash>.ics on staging, and <server-origin>/api/v1/screens/<hash>.ics on Server. The original token is never sent to the server. Treat the calendar address as a secret read link: anyone holding it can read the screen's published view.
The response is text/calendar; charset=utf-8, with the screen's activities and milestones as all-day events, stable event identities, and links back to the original plan's saved view. Descriptions and other project metadata are omitted. This is a read-only publication, not the calendar project storage format. An empty view produces an empty calendar. Subscribe to the URL rather than importing a downloaded file to receive later publications.
The same publishing queue updates and deletes the snapshot and calendar. Server supports GET and HEAD with ETag revalidation and a one-minute public cache; Cloud serves the file from its data domain. Ended calendars return 404 after deletion and cache expiry. Calendar providers determine when to refresh, which can take hours or longer. Ending a link does not erase events already downloaded by a subscriber.
GET /organizations/:org/my-activities
Returns { activities } for the token member's open assignments across readable plans in the token's organisation. Read scope suffices. Each row has { plan, planName, revision, activity, type?, title, progress, start?, end?, timeZone? }. A milestone has type: "milestone" and start as its moment, without end. The revision identifies the plan snapshot used for that row. Completed activities, trashed plans and activities removed from their plan are excluded. Each row includes followUpStatus and any available tracking, with the same fields as plan activity reads. Use the plan and activity IDs to read a ticket and check completion blockers.
GET /organizations/:org/plans/:id/activities
Activity tools are available in Tidigar Business and Tidigar Server. Cloud plans outside Business return 403 business_required.
The activity routes read, change and assign activities and milestones; a milestone's row and record carry type: "milestone", its moment as start, no end, and progress 0 or 100. Periods are no activities: they are not listed, and addressing one returns 404 no_such_activity.
Returns { id, revision, activities } with compact rows (ID, optional reference, title, progress, optional dates, follow-up status, dimension values and assignee account ID or null). Optional filters combine with AND. Use ref for the exact key or prefix for an area, both case-insensitive. Use progress (0, 25, 50, 75 or 100), dated (true or false), from and through for an inclusive date overlap (YYYY-MM-DD; a milestone overlaps on its date), dimension with its option ID in value, or assignee with a member account ID. An empty value selects activities without an option in that dimension. An empty assignee selects unassigned activities.
With ?activity=<id or reference>, returns { id, revision, activity, assignee, followUpStatus, completion, comments, commentPeople, nextComment, history, nextHistory }. assignee is the member account ID or null; activity leaves out the project's member number. In both forms followUpStatus is done, done-late, overdue, behind-baseline, today, upcoming or undated. A milestone is due at its moment and an activity at its end. An open item becomes overdue at the first minute after the displayed timed due, or at midnight after an all-day due date. Before then, open work is behind-baseline when its current due crosses that boundary for its saved baseline due. Work without a baseline due keeps its ordinary status. Completed work is done-late when its current due crosses that same boundary for the baseline due, falling back to the current due, so work without a baseline due is done. Reads use the plan's time zone, or UTC when it has none.
tracking appears beside the detail and on each compact row when the plan has a baseline or cost currency. It contains:
baseline:nullor{ capturedAt, costCurrency?, item }from the active baseline. The item is its baseline row without the progress and values recorded at capture, ornullfor work added since capture.costCurrency?andestimatedCostMinor?: the current plan currency and item's latest estimate.variances:nullwithout a baseline, or{ scope, vsCurrent }. Scope isretainedoraddedfor these live items. The comparison has{ start, finish, costMinor }: the current start, finish or estimate against the baseline. Dates are{ unit: "days" | "work-days" | "minutes", value }. Minutes apply when both compared values carry a local time. Otherwise compare dates in calendar days, or work days for a work-day plan. Work days exclude weekends and the current plan's non-working periods, counting after the earlier date through the later date. Reversing the dates reverses the sign. Values are signed and calculated as compared minus baseline. Missing comparisons arenull. Zero is a known value.
Only the returned items have tracking rows. Plan and assignment reads use current plan access. Published screens omit tracking. completion.status is eligible, already-complete, or blocked. A blocked activity includes completion.blockers with { id, title, progress, required } for each activity or milestone predecessor below its required progress. The decision reflects the returned plan revision. A completion write checks the plan it will save. The activity includes the original Markdown description as a string, including line breaks and any syntax outside the supported subset. An ID takes precedence over a reference. Duplicate references return 409 ambiguous_activity with candidates. An unknown activity returns 404 no_such_activity. Comments and history return their first page, newest first.
POST /organizations/:org/plans/:id/activities
Send { fields, prefix? }. The activity needs a title and may be undated. Fields use the canonical activity format. Send description as Markdown source of at most 12,000 UTF-16 code units. The service preserves the source. An optional uppercase prefix generates the next reference for that prefix. Otherwise the plan prefix is used when set. Returns 201 { id, revision, activity }. Requires write access. If the answer is lost, list activities before attempting another add.
PATCH /organizations/:org/plans/:id/activities
Send { activity, revision, fields, choices? }, addressing the activity by ID or reference at the supplied revision. Only supplied fields change. Editable fields are title, description, progress, start, end, values, dependsOn, startAfter and ref. Set both dates to null to make an activity undated, or a milestone's start to null to make it undated. Returns 200 { id, revision, activity }.
A stale revision uses the ordinary three-way merge. If it is no longer kept, the route returns 409 stale_revision. If both sides changed the same field, 409 merge_conflicts carries the conflicts and the latest revision. Resend the same request with a choices map from conflict ID to mine or latest after resolving them. Explicitly setting progress: 100 checks required predecessor progress against the project about to be saved, including after a merge. 409 completion_blocked returns blockers with the predecessor IDs, titles, current and required percentages. Requires write access.
A progress edit that reaches 100 records the finish: an activity's end, or a milestone's start, becomes the current day in the plan's time zone (UTC when it has none), or the current minute for work with local times. A later start moves to the new finish, and work that waits for it moves as it does after an edited finish. Undated work stays undated. Dates sent in the same request are kept instead. Other progress edits, including reopening, change only progress. Start, end and estimated cost are the current values that a baseline is compared with; there are no separate actual or forecast fields.
PUT /organizations/:org/plans/:id/activities
Send { activity, assignee } to assign an activity or a milestone by ID or reference. Use the account ID of an organisation member who may edit the plan, or null to clear the assignment. Ineligible assignees return 400 not_assignable.
Send { activity, claim: true, takeOver? } to assign it to the acting member. A claim succeeds if the activity is unassigned or the member already holds it. If another member holds it, the claim returns 409 activity_claimed with their account ID in assignee. Set takeOver: true only on explicit user instruction. The check and the assignment happen together.
Both forms require write access in Tidigar Business or Tidigar Server. They return 200 { id, revision, activity, assignee } with the resolved activity ID and the plan revision the assignment wrote; an unchanged assignment writes nothing and returns the current revision. Assignment changes appear in activity history. The write is conditional on the revision just read: if the plan changes meanwhile, the activity is read and checked once more, and if it changes again the request returns 409 stale_revision. Read the activity before retrying.
POST /organizations/:org/plans/:id/baseline
Send { revision, capturedAt, viewId } in Tidigar Business or Server with plan write access. Use the revision read, a UTC instant in YYYY-MM-DDTHH:mm:ssZ and a new view UUID. The baseline is captured in one revision. If a saved List already shows tracking columns, it is reused and the supplied UUID is kept for retry acknowledgement. Otherwise a Follow-up List is created with that UUID in the same revision. Returns 200 with the plan and its canonical project.
If the reply is lost, repeat the same three values. Until the baseline changes, an accepted retry returns the current plan without committing again, even after the original revision has expired or the Follow-up view was deleted. A different request at a stale revision returns 409 stale_revision. A fresh request on a plan with a saved baseline returns 409 baseline_exists.
PATCH /organizations/:org/plans/:id/baseline
Send { revision, capturedAt } to save the current schedule and estimates as a new active baseline. Earlier baselines are kept. Use the revision read and a new UTC capture time in YYYY-MM-DDTHH:mm:ssZ. The baseline is named after its capture date. The response is 200 with the plan and its canonical project. Saved views are kept.
DELETE /organizations/:org/plans/:id/baseline
Send { revision } to remove the active baseline at the revision read. The newest remaining baseline becomes active. The response is 200 with the plan and its canonical project. Saved views are kept.
Saving and removing require plan write access. Agent requests require Tidigar Business or Server. Repeat the same method and body if the reply is lost. An accepted retry returns the current plan without making a revision, even after later edits or revision expiry. A change to the baselines ends this acknowledgement. A different request at a stale revision returns 409 stale_revision. A fresh request without a baseline returns 409 baseline_missing.
Named baselines: /organizations/:org/plans/:id/baselines
A plan keeps up to 20 baselines. Its project lists them in manifest.baseline: the active one, which follow-up compares with, and the others in earlier, oldest first. Plan reads return them to every reader with plan access. Each request names its baseline by ID and requires plan write access; agent requests require Tidigar Business or Server. Each returns 200 with the plan and its canonical project and keeps saved views.
POSTwith{ revision, baselineId, name, capturedAt }captures every activity and milestone, whatever a view shows, as a new baseline and makes it active. Use a new UUID, a name of up to 100 characters and a UTC capture time inYYYY-MM-DDTHH:mm:ssZ. A twenty-first baseline returns400 invalid_tracking, as does an invalid capture time.PUTwith{ revision, baselineId }makes that baseline active.DELETEwith{ revision, baselineId }removes that baseline. Removing the active one makes the newest remaining baseline active.
A repeated request is safe. When the plan already shows its outcome, the baseline exists with that name and capture time, is active or is gone, the request returns the current plan without making a revision, also at a stale revision. Otherwise a stale revision returns 409 stale_revision. A different baseline with the same ID returns 409 baseline_exists, and activating or removing an unknown baseline at the current revision returns 409 baseline_missing.
GET /organizations/:org/plans/:id/activities/:activity/comments
Members comment on an activity to say what was done, decided or found. A token reads and adds comments as its account; editing and deleting them is left to people in Tidigar. The comment examples use ACTIVITY_ID, an activity's id from the plan's project.
curl -sS -H "Authorization: Bearer $TOKEN" "$BASE/organizations/$ORG/plans/$PLAN_ID/activities/$ACTIVITY_ID/comments"
Response: 200.
{
"comments": [
{
"id": 1,
"activity": "55555555-5555-4555-8555-555555555555",
"at": 1792368000000,
"account": "account",
"body": "Built in abc123.",
"via": "token"
}
],
"people": [
{
"id": "account",
"name": null,
"email": "owner@example.com",
"picture": null,
"role": "owner"
}
],
"next": null,
"commentable": true,
"moderator": true
}
Comments come newest first, 30 a page; ?limit= takes 1–100, and next, when not null, is the ?before= of the following page. body is Markdown text. via is token or assistant for a comment an agent added. An edited comment has editedAt; a deleted one has a null body, deletedAt and deletedBy. people names the authors, those who deleted a comment and the current or former organisation members named in mention tokens. commentable says whether this caller may comment and moderator whether its account may delete anyone's comment in Tidigar. An activity removed from the plan keeps its comments.
POST /organizations/:org/plans/:id/activities/:activity/comments
curl -sS -X POST -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' -d '{"body":"Built in abc123."}' "$BASE/organizations/$ORG/plans/$PLAN_ID/activities/$ACTIVITY_ID/comments"
Response: 201.
{
"comment": {
"id": 1,
"activity": "55555555-5555-4555-8555-555555555555",
"at": 1792368000000,
"account": "account",
"body": "Built in abc123.",
"via": "token"
},
"people": [
{
"id": "account",
"name": null,
"email": "owner@example.com",
"picture": null,
"role": "owner"
}
]
}
Send body, Markdown of 1–12,000 characters; line ends become \n and outer blank lines are trimmed. The activity must be in the plan's current version. Everyone with the plan sees the comment. Include <@account-id> to mention a member using their account UUID. The server preserves the token and queues a notice if the member can read the plan and is someone other than the author. A comment changes no revision. Adding one is not idempotent. After a lost response, read the comments before sending it again.
DELETE /token
curl -sS -X DELETE -H "Authorization: Bearer $TOKEN" "$BASE/token"
Response: 204 with no body.
Limits
A normalized plan may be at most 1,048,576 bytes (1 MiB); the JSON request body may be at most 2,097,152 bytes. An organisation may keep 1,000 plans, including trash, and 1,073,741,824 bytes (1 GiB) across each plan's current revision, including trash. In Free, a personal space or a team, a plan may be at most 262,144 bytes (256 KiB) and all plans 10,485,760 bytes (10 MiB). Older revisions, archives and thumbnails are not counted. A save that does not make its plan larger is always accepted. A plan over its limit gets 413 plan_too_large, a full organisation 507 quota_exceeded. usage reports current counts and limits. A plan keeps at most 20,000 comments, deleted ones included.
Each token may make 600 reads and 60 writes per minute. Writes are create, update, merge, delete and restore, making, changing and deleting screens, and adding comments; every other public request is a read, and the two count apart. The hosted service counts approximately, per region, so a short burst may pass the limit before it applies. A request over the limit stores nothing and answers 429 rate_limited with Retry-After in whole seconds, at most 60; wait that long, then send it again unchanged. Requests that fail authentication do not count.
Errors
Errors are { "error": { "code": "…", "message": "…" } }. A stale update also includes plan, the latest complete plan, and its ETag. The table lists errors reachable from public token requests, including missing credentials and malformed addresses. Session-only management errors are outside this contract. No response body is available for HEAD.
| HTTP | Code | Meaning and action |
|---|---|---|
| 400 | ambiguous_credentials | Remove session cookies when sending a bearer token. |
| 400 | invalid_body | Send exactly one of plan or project for create/validate; project for update; base and project for merge; the documented screen or activity fields; a comment body. |
| 400 | invalid_choices | Map each conflict id to mine or latest, with choices that fit together. |
| 400 | invalid_plan | Correct the named record or field in the plan-v1 input. |
| 400 | not_assignable | Choose an organisation member who may edit the plan. |
| 400 | invalid_query | Use supported activity filters and an inclusive date range. |
| 400 | invalid_revision | Name one revision in If-Match, such as "3". |
| 400 | invalid_tracking | Supply a valid baseline change. |
| 400 | invalid_project | Correct the project according to the model specification. |
| 400 | plan_id_mismatch | Keep the project ID equal to the address ID. |
| 401 | invalid_token | Use a valid, unexpired, unrevoked token. |
| 401 | token_not_allowed | Use a public method and path. |
| 401 | not_signed_in | Plan request had no bearer token or valid session; send the token. |
| 402 | subscription_required | The organisation needs write entitlement, or, on the hosted service, is read only: a Business organisation that is not paid, or a free team with more than five people. Its plans cannot be read or written until that changes. |
| 403 | read_only_token | Use write scope for mutations. |
| 403 | read_only_role | The account role cannot write. |
| 403 | agent_screens_off | The organisation's owners keep making screens and reading their links to people. |
| 403 | business_required | Hosted screen management and activity tools require Business. |
| 403 | plans_kept | The organisation keeps its plans to itself and shares no screens. |
| 403 | cross_origin | Send mutations from the same origin or a non-browser client without origin headers. |
| 404 | no_such_organization | The token cannot access that organisation. |
| 404 | no_such_plan | The UUID is invalid, absent or in trash. |
| 404 | no_such_revision | That revision is no longer kept; merge without its base. |
| 404 | no_such_activity | The plan's current version has no such activity. |
| 404 | no_such_screen | That plan has no such screen. |
| 404 | no_such_view | Name a saved view from the project's sharedViews. |
| 404 | not_found | The address contains invalid percent encoding. |
| 409 | plan_exists | That project ID already exists; read it to check a retried create. |
| 409 | plan_in_trash | Restore the existing plan from the trash before writing it. |
| 409 | baseline_exists | The plan already has a baseline, or one with that ID. |
| 409 | baseline_missing | The plan has no baseline, or none with that ID. |
| 409 | stale_revision | Read the latest plan and reconcile before another update. |
| 409 | screen_limit | A plan has at most ten screens; delete one first. |
| 409 | ambiguous_activity | Choose an activity ID from the candidates. |
| 409 | completion_blocked | Meet the listed predecessor progress requirements before completing the activity. |
| 409 | activity_claimed | Another member holds the activity. Take over only on explicit instruction. |
| 409 | merge_conflicts | Ask the user about each listed conflict and send their choices. |
| 413 | plan_too_large | Reduce the normalized plan or request body. |
| 428 | revision_required | Send the base revision in If-Match. |
| 429 | rate_limited | Wait the Retry-After seconds, then repeat the request; nothing was stored. |
| 500 | internal | The server failed; check write outcome before retrying. |
| 501 | screens_unavailable | This server cannot publish screens. |
| 507 | quota_exceeded | Free space or reduce retained plans and history in Tidigar. |
| 507 | too_many_comments | The plan keeps no more comments. |
Conflicts
The server never chooses between two people's changes. When an update answers 409 stale_revision, either send the same project to POST /organizations/:org/plans/:id/merge with the revision you read as base, or merge yourself: use the base (from your read, or GET /organizations/:org/plans/:id/revisions/<base>), your project and the latest plan from the 409 response, settle conflicting changes with the user, and send the result with If-Match set to the latest revision.
Safe retries
For create from plan-v1, validate first and then create with the returned canonical project. Direct creates from plan-v1 generate fresh IDs on every request and cannot safely be retried after a lost response. For canonical create, persist manifest.projectId before sending the request. After a lost response, GET that ID. If it exists, compare the returned project with your intended normalized project; 409 plan_exists alone does not prove the content matches. If it is absent, retry the same ID. A trashed ID returns plan_in_trash on create and is not readable until it is restored from the trash.
For update, retain the base revision and intended project. After a lost response, GET the plan and compare it. Repeating a changed write with the old If-Match receives 409 stale_revision after the first write lands. An unchanged project at the current revision stays a no-op. Reconcile concurrent changes explicitly; the server never merges plans. Never retry with the latest revision merely to force an overwrite. Reads can be repeated; after a lost self-revocation response, GET /token answering invalid_token confirms that secret no longer works. For a server failure, use these outcome checks before retrying a mutation.