API reference

Track parts

The parts of your tracks: the questions your assistant needs you to answer, the steps on the way (with promised dates your assistant chases), what is known and still missing (facts and gaps), and how your tracks relate - parents, prerequisites, alternatives, duplicates. 12 endpoints. Add your API key in the authentication panel to send test requests from this page.

Answer a question on a track

POST/api/external/v1/tracks/{id}/asks/{askId}/answer

Answers an open question with answer (your words) and/or, for a DECISION, option (one of its options). Your assistant takes the track up again with it. The answer is yours, noted as given through an app of yours (answeredVia AI_APP). Answers the track in full.

Errors: 404 TRACK_NOT_FOUND, 404 PART_NOT_FOUND (no such question on the track), 400 INVALID_REQUEST (settled already, nothing sent, an option it does not offer), 409 PLAN_FEATURE.

Parameters

  • idstringpathRequired
  • askIdstringpathRequired
  • langstringquery

    The language of the texts the answer words for people (event lines, stage names, playbooks) and of error messages: en, de, es, fr, it, nl, pt or tr. Default: the account's app language.

Request body application/json

object

Responses

  • 200OK

Withdraw a question on a track

POST/api/external/v1/tracks/{id}/asks/{askId}/withdraw

Takes an open question back: it is no longer needed. Answers the track in full.

Errors: 404 TRACK_NOT_FOUND, 404 PART_NOT_FOUND, 400 INVALID_REQUEST (settled already), 409 PLAN_FEATURE.

Parameters

  • idstringpathRequired
  • askIdstringpathRequired
  • langstringquery

    The language of the texts the answer words for people (event lines, stage names, playbooks) and of error messages: en, de, es, fr, it, nl, pt or tr. Default: the account's app language.

Responses

  • 200OK

Note a fact or a gap on a track

POST/api/external/v1/tracks/{id}/facts

Notes what is known or what is still missing. Answers the track in full (201); the new one is among its facts (gaps first).

  • kind FACT with label and value: something you state (yours, confirmed); fills: the id of the gap it answers.
  • kind GAP with label: something still to find out; why, required (closing as done waits for it), approach (how your assistant may find it: ASK_PERSON, ASK_PARTY, LOOK_UP or INFER).

A fact reads back with state CANDIDATE, CONFIRMED or REJECTED, a gap OPEN, FILLED or DROPPED; assertedBy PERSON, KI, THIRD_PARTY or APP.

Errors: 400 MISSING_FIELD (no kind or label), 400 INVALID_REQUEST, 404 TRACK_NOT_FOUND, 409 PLAN_FEATURE.

Parameters

  • idstringpathRequired
  • langstringquery

    The language of the texts the answer words for people (event lines, stage names, playbooks) and of error messages: en, de, es, fr, it, nl, pt or tr. Default: the account's app language.

Request body application/json

object

Responses

  • 200OK

Change a fact or a gap on a track

PATCH/api/external/v1/tracks/{id}/facts/{factId}

Confirms (CONFIRMED), rejects (REJECTED) or corrects (value: then it is yours, confirmed) a fact; drops (DROPPED) or reopens (OPEN) a gap - with state and/or value. Answers the track in full.

Errors: 404 TRACK_NOT_FOUND, 404 PART_NOT_FOUND (no such fact on the track), 400 INVALID_REQUEST (a state of the other kind, an empty value), 409 PLAN_FEATURE.

Parameters

  • idstringpathRequired
  • factIdstringpathRequired
  • langstringquery

    The language of the texts the answer words for people (event lines, stage names, playbooks) and of error messages: en, de, es, fr, it, nl, pt or tr. Default: the account's app language.

Request body application/json

object

Responses

  • 200OK

Remove a fact or a gap from a track

DELETE/api/external/v1/tracks/{id}/facts/{factId}

Removes it from the track (noted in its history). Answers 204.

Errors: 404 TRACK_NOT_FOUND, 404 PART_NOT_FOUND, 409 PLAN_FEATURE.

Parameters

  • idstringpathRequired
  • factIdstringpathRequired
  • langstringquery

    The language of the texts the answer words for people (event lines, stage names, playbooks) and of error messages: en, de, es, fr, it, nl, pt or tr. Default: the account's app language.

Responses

  • 200OK

Find tracks to relate a track to

GET/api/external/v1/tracks/{id}/relation-options

Your other tracks matching q (closed ones too, archived ones and this one not), at most 20: each {id, title, stageKind, stageName, closed}. Answers {items}.

Errors: 404 TRACK_NOT_FOUND.

Parameters

  • idstringpathRequired
  • qstringquery
  • langstringquery

    The language of the texts the answer words for people (event lines, stage names, playbooks) and of error messages: en, de, es, fr, it, nl, pt or tr. Default: the account's app language.

Responses

  • 200OK

List a track's relations

GET/api/external/v1/tracks/{id}/relations

The track's relations to your other tracks, active and suggested, read from it ("this track verb the other"): each {relationId, verb, group, other: {id, title, stageKind, stageName, closureMode, archived}, status, gate, depState, reason, source, createdBy, createdAt, gateOverride}.

verb: PARENT_OF / CHILD_OF, DEPENDS_ON / BLOCKS, CONTRIBUTES_TO / HAS_CONTRIBUTOR, RELATED_TO, ALTERNATIVE_TO, CONFLICTS_WITH, DUPLICATE_OF / HAS_DUPLICATE, SUPERSEDES / SUPERSEDED_BY, DERIVED_FROM / LED_TO; group STRUCTURE, DEPENDENCIES, CONTEXT, CHOICES or LINEAGE; status SUGGESTED, ACTIVE, DISMISSED or REMOVED; gate (a DEPENDS_ON: what waits for the prerequisite) NONE, START, COMPLETE or BOTH; depState SATISFIED, WAITING, BROKEN (it was dropped) or OVERRIDDEN; source PERSON, KI, MCP, IMPORT or SYSTEM. Answers {items}.

Errors: 404 TRACK_NOT_FOUND.

Parameters

  • idstringpathRequired
  • langstringquery

    The language of the texts the answer words for people (event lines, stage names, playbooks) and of error messages: en, de, es, fr, it, nl, pt or tr. Default: the account's app language.

Responses

  • 200OK

Relate a track to another

POST/api/external/v1/tracks/{id}/relations

Relates the track to another of yours: verb read from this track (see List a track's relations), otherId the other track, gate (DEPENDS_ON only: NONE, START, COMPLETE or BOTH) and reason (optional). Yours, so it is active at once. Answers the track's relations (201, {items}).

Errors: 400 MISSING_FIELD (no verb or otherId), 400 INVALID_ID, 400 INVALID_REQUEST with why it cannot be (a cycle, a duplicate, too many, too deep), 404 TRACK_NOT_FOUND (this track or the other), 409 PLAN_FEATURE.

Parameters

  • idstringpathRequired
  • langstringquery

    The language of the texts the answer words for people (event lines, stage names, playbooks) and of error messages: en, de, es, fr, it, nl, pt or tr. Default: the account's app language.

Request body application/json

object

Responses

  • 200OK

Act on a track's relation

PATCH/api/external/v1/tracks/{id}/relations/{relationId}

action: ACCEPT or DISMISS a suggested relation, REMOVE one, GATE (with gate) to change what a DEPENDS_ON holds back, OVERRIDE (with reason) to let a prerequisite go, CLEAR_OVERRIDE. Answers the track's relations ({items}).

Errors: 400 MISSING_FIELD (no action), 400 INVALID_REQUEST, 404 TRACK_NOT_FOUND, 404 PART_NOT_FOUND (no such relation on the track), 409 PLAN_FEATURE.

Parameters

  • idstringpathRequired
  • relationIdstringpathRequired
  • langstringquery

    The language of the texts the answer words for people (event lines, stage names, playbooks) and of error messages: en, de, es, fr, it, nl, pt or tr. Default: the account's app language.

Request body application/json

object

Responses

  • 200OK

Note a step on a track

POST/api/external/v1/tracks/{id}/steps

Notes a step on the way ("I called them, they promised Friday"). Answers the track in full (201); the new step is among its steps (open ones first).

  • kind (required): ACTION, REQUEST (asked someone for something), FOLLOW_UP (chasing a request: followUpOf its id, default the track's latest request), WAIT, CHECK or VERIFY.
  • title (required, at most 300).
  • actor: who it is on - PERSON (default), KI (your assistant) or THIRD_PARTY; party their name.
  • channel: EMAIL, CALL, SMS, WHATSAPP, CHAT, LETTER, IN_PERSON, WEB or OTHER.
  • state: PLANNED (default), ATTEMPTED, AWAITING, CONFIRMED, VERIFIED, FAILED, DISPUTED or CANCELLED.
  • expectedBy: when a reply or the result is expected (a time as Create a track takes it); promised: the other side named that date themselves (your assistant chases it when it passes).
  • result (at most 2,000): what came of it.

At most 30 open steps per track; a closed track or a suggestion takes none.

Errors: 400 MISSING_FIELD (no kind or title), 400 INVALID_REQUEST with the reason, 404 TRACK_NOT_FOUND, 409 PLAN_FEATURE.

Parameters

  • idstringpathRequired
  • langstringquery

    The language of the texts the answer words for people (event lines, stage names, playbooks) and of error messages: en, de, es, fr, it, nl, pt or tr. Default: the account's app language.

Request body application/json

object

Responses

  • 200OK

Change a step on a track

PATCH/api/external/v1/tracks/{id}/steps/{stepId}

Changes what you send of state (as in Note a step), result (null clears it), expectedBy (null clears it) and promised. A VERIFIED, FAILED or CANCELLED step keeps its state. Answers the track in full.

Errors: 404 TRACK_NOT_FOUND, 404 PART_NOT_FOUND (no such step on the track), 400 INVALID_REQUEST, 409 PLAN_FEATURE.

Parameters

  • idstringpathRequired
  • stepIdstringpathRequired
  • langstringquery

    The language of the texts the answer words for people (event lines, stage names, playbooks) and of error messages: en, de, es, fr, it, nl, pt or tr. Default: the account's app language.

Request body application/json

object

Responses

  • 200OK

List the questions waiting for you

GET/api/external/v1/tracks/asks

The decisions inbox: questions your assistant asked you on your tracks (accepted, not archived), the oldest first, with their track - each {ask, trackTitle, trackStageKey, trackStageKind, trackPriority, trackDueAt}. An ask is {id, trackId, kind, question, options, why, status, answer, option, answeredBy, answeredVia, createdBy, createdAt, dueAt, expiresAt, resolvedAt, heldUntil} with kind DECISION (pick one of options), INFO (tell it something), ACTION (do something) or CONFIRM, and status OPEN, ANSWERED, WITHDRAWN or EXPIRED. A question you put off for later (heldUntil, when it comes back) waits for nobody until then and is not listed among the OPEN ones. status filters (default OPEN); limit 1-100 (default 50). Answers {items}.

Errors: 400 INVALID_REQUEST (a status that is none of these).

Parameters

  • statusstringquery

    OPEN (default), ANSWERED, WITHDRAWN or EXPIRED.

  • limitinteger (int32)query

    1-100, default 50.

  • langstringquery

    The language of the texts the answer words for people (event lines, stage names, playbooks) and of error messages: en, de, es, fr, it, nl, pt or tr. Default: the account's app language.

Responses

  • 200OK