Skip to main content
New to Corsair? See API access, authentication, and error handling.

Account

me

account.me The user the API key belongs to and their workspace. Risk: read
Input: empty object GET /me Output

Ask

deleteContent

ask.deleteContent Delete a custom content from AskX usage. Risk: destructive
Input DELETE /ask/index Output

getThread

ask.getThread Read an ask/agent thread back as question / answer rounds. This is both the poll endpoint for a processing answer (GET /ask returns the threadId to poll) and a general way to read a past conversation: it returns every round’s question and answer, without the intermediate events. While the run is still working the response is 202 with status: "processing" — poll again after `retryAfter… Risk: read
Input GET /threads/{threadId} Output

indexContent

ask.indexContent Add or replace a custom document (markdown or HTML) that ask.question can answer from, under a root id you choose. Risk: write
Input POST /ask/index Output

listContent

ask.listContent List custom content ids from AskX usage. Risk: read
Input GET /ask/index Output

question

ask.question Ask a question in natural language; Slite answers from the notes the key’s user can see, with sources. With wait=false a long answer returns a threadId to poll with ask.getThread. Uses the workspace’s AI quota. Risk: read
Input GET /ask Output: object

Change Requests

create

changeRequests.create Open a change request: an agent reads the docs you name, turns your command into proposed changes, and leaves them for review. Nothing is applied until a reviewer approves it in Slite. The response comes back as soon as the request is queued, with status: "processing" and the url to hand to the reviewers. Beta: change requests are not yet available to every workspace. Where they are not… Risk: write
Input POST /change-requests
Output: object

get

changeRequests.get Read a change request you opened or review. While the agent is still working the response is 202 with status: "processing" — check again after retryAfterSeconds / the Retry-After header. status: "completed" means no change waits for review, whether the reviewers approved or rejected them. To learn what they decided, read changes: one entry per proposed change, with its outcome and… Risk: read
Input GET /change-requests/{changeRequestId} Output: object

Groups

get

groups.get Get a group by ID Risk: read
Input GET /groups/{groupId} Output
groups.search Search for groups by name Risk: read
Input GET /groups Output

Knowledge Management

emptyNotes

knowledgeManagement.emptyNotes List empty notes for knowledge management. Risk: read
Input GET /knowledge-management/notes/empty Output

inactiveNotes

knowledgeManagement.inactiveNotes List inactive notes for knowledge management. Risk: read
Input GET /knowledge-management/notes/inactive Output

notes

knowledgeManagement.notes List notes for knowledge management. Risk: read
Input GET /knowledge-management/notes Output

publicNotes

knowledgeManagement.publicNotes List public notes for knowledge management. Risk: read
Input GET /knowledge-management/notes/public Output

Notes

archive

notes.archive Update the archived state of a note Risk: write
Input PUT /notes/{noteId}/archived Output: object

children

notes.children Return note children by parent note id Risk: read
Input GET /notes/{noteId}/children Output

create

notes.create Create a note from markdown, html, or sliteml content, with a templateId or just an empty one. If no parentNoteId is specified, it will be created in your personal channel. Risk: write
Input POST /notes Output: object

delete

notes.delete Delete a note and all its child notes. Cannot be undone. Risk: destructive
Input DELETE /notes/{noteId} Output: any

flagOutdated

notes.flagOutdated Set Outdated status on a note with optional reason Risk: write
Input PUT /notes/{noteId}/flag-as-outdated Output: object

get

notes.get Get a note with its content as Markdown, HTML or SliteML. Risk: read
Input GET /notes/{noteId} Output: object

list

notes.list List notes, optionally by owner or parent, 50 at a time with a cursor. Risk: read
Input GET /notes Output

owner

notes.owner Update the owner of a note, it can be a user or a group Risk: write
Input PUT /notes/{noteId}/owner Output: object

search

notes.search Search notes based on a query. The scope of the notes is restricted to the authenticated user. Various optional filters are available to restrict the scope of the search even more. Risk: read
Input GET /search-notes Output

tile

notes.tile Update or create tile. A tile is rendered with a structured header and a markdown content. You can create a tile by copying a tile id from Slite by clicking on Copy block id on an empty line setting in the editor. Risk: write
Input PUT /notes/{noteId}/tiles/{tileId}
Output

update

notes.update Update note content with markdown, html, or sliteml, its title, and/or its tags Risk: write
Input PUT /notes/{noteId} Output: object

verify

notes.verify Set Verified status on a note with optional verification expiration Risk: write
Input PUT /notes/{noteId}/verify Output: object

Tags

create

tags.create Create a tag in the workspace. Members can, unless an admin allowed only admins to. Risk: write
Input POST /tags Output

delete

tags.delete Delete a tag; it is removed from every note. Risk: destructive
Input DELETE /tags/{tagId} Output: any

list

tags.list List the workspace’s tags Risk: read
Input: empty object GET /tags Output

merge

tags.merge Merge tags into one: notes get the target tag and the merged tags are deleted. Risk: destructive
Input POST /tags/merge Output

update

tags.update Update a tag. Members can, unless an admin allowed only admins to. Risk: write
Input PUT /tags/{tagId} Output

Users

get

users.get Get a user by ID Risk: read
Input GET /users/{userId} Output

search

users.search Search for users by email, name, or username Risk: read
Input GET /users Output