API reference
Track project knowledge
What one of your tracks in a project of yours is worked with from that project's knowledge - its documents, knowledge, flows and automations - pinned by you or suggested because they fit; pin, dismiss or forget them. 2 endpoints. Add your API key in the authentication panel to send test requests from this page.
Read what a track is worked with
/api/external/v1/tracks/{id}/project-knowledgeFor a track of yours in one of your projects: refs, the things of the project's knowledge it is worked with - each {ref: {kind, id}, state, title, path, why, byName, byAssistant, at} with kind DOCUMENT, KNOWLEDGE, FLOW or AUTOMATION and state PINNED (by you) or SUGGESTED (it fits the track's words; why the passage that fitted) - pinned first; canChange, whether you may pin and dismiss; shelf, whether the project has anything you may read. A track that is not yours, or in none of your projects, answers the empty state (refs empty, both flags false).
Parameters
idstringpathRequired
Responses
200OK
Pin, dismiss or forget a thing for a track
/api/external/v1/tracks/{id}/project-knowledgeSets one thing of the project's knowledge for the track: kind (DOCUMENT, KNOWLEDGE, FLOW, AUTOMATION) and id say which, state PINNED (work with it), DISMISSED (not this one: it is not suggested again) or null (forget what was set). At most 12 things per track. Answers as Read what a track is worked with.
Errors: 400 INVALID_REQUEST (no kind or id, a state that is none of these), 404 NOT_IN_PROJECT (a track that is not yours or in none of your projects), 404 NOT_FOUND (a thing you may not read), 403 FORBIDDEN, 409 FULL (the track has as many as it may).
Parameters
idstringpathRequired
Request body application/json
object
Responses
200OK