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
Ask
deleteContent
ask.deleteContent
Delete a custom content from AskX usage.
Risk: destructive
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
GET /threads/{threadId}
Output
rounds full type
rounds full type
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
POST /ask/index
Output
listContent
ask.listContent
List custom content ids from AskX usage.
Risk: read
GET /ask/index
Output
hits full type
hits full type
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
GET /ask
Output:
object
Output full type
Output full type
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
POST /change-requests
sourceRoots full type
sourceRoots full type
object
Output full type
Output full type
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
GET /change-requests/{changeRequestId}
Output:
object
Output full type
Output full type
Groups
get
groups.get
Get a group by ID
Risk: read
GET /groups/{groupId}
Output
search
groups.search
Search for groups by name
Risk: read
GET /groups
Output
groups full type
groups full type
Knowledge Management
emptyNotes
knowledgeManagement.emptyNotes
List empty notes for knowledge management.
Risk: read
GET /knowledge-management/notes/empty
Output
notes full type
notes full type
inactiveNotes
knowledgeManagement.inactiveNotes
List inactive notes for knowledge management.
Risk: read
GET /knowledge-management/notes/inactive
Output
notes full type
notes full type
notes
knowledgeManagement.notes
List notes for knowledge management.
Risk: read
GET /knowledge-management/notes
Output
notes full type
notes full type
publicNotes
knowledgeManagement.publicNotes
List public notes for knowledge management.
Risk: read
GET /knowledge-management/notes/public
Output
notes full type
notes full type
Notes
archive
notes.archive
Update the archived state of a note
Risk: write
PUT /notes/{noteId}/archived
Output:
object
Output full type
Output full type
children
notes.children
Return note children by parent note id
Risk: read
GET /notes/{noteId}/children
Output
notes full type
notes full type
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
POST /notes
Output:
object
Output full type
Output full type
delete
notes.delete
Delete a note and all its child notes. Cannot be undone.
Risk: destructive
DELETE /notes/{noteId}
Output:
any
flagOutdated
notes.flagOutdated
Set Outdated status on a note with optional reason
Risk: write
PUT /notes/{noteId}/flag-as-outdated
Output:
object
Output full type
Output full type
get
notes.get
Get a note with its content as Markdown, HTML or SliteML.
Risk: read
GET /notes/{noteId}
Output:
object
Output full type
Output full type
list
notes.list
List notes, optionally by owner or parent, 50 at a time with a cursor.
Risk: read
GET /notes
Output
notes full type
notes full type
owner
notes.owner
Update the owner of a note, it can be a user or a group
Risk: write
PUT /notes/{noteId}/owner
Output:
object
Output full type
Output full type
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
GET /search-notes
Output
hits full type
hits full type
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
PUT /notes/{noteId}/tiles/{tileId}
status full type
status full type
update
notes.update
Update note content with markdown, html, or sliteml, its title, and/or its tags
Risk: write
PUT /notes/{noteId}
Output:
object
Output full type
Output full type
verify
notes.verify
Set Verified status on a note with optional verification expiration
Risk: write
PUT /notes/{noteId}/verify
Output:
object
Output full type
Output full type
Tags
create
tags.create
Create a tag in the workspace. Members can, unless an admin allowed only admins to.
Risk: write
POST /tags
Output
delete
tags.delete
Delete a tag; it is removed from every note.
Risk: destructive
DELETE /tags/{tagId}
Output:
any
list
tags.list
List the workspace’s tags
Risk: read
merge
tags.merge
Merge tags into one: notes get the target tag and the merged tags are deleted.
Risk: destructive
POST /tags/merge
Output
tag full type
tag full type
update
tags.update
Update a tag. Members can, unless an admin allowed only admins to.
Risk: write
PUT /tags/{tagId}
Output
Users
get
users.get
Get a user by ID
Risk: read
GET /users/{userId}
Output
search
users.search
Search for users by email, name, or username
Risk: read
GET /users
Output
users full type
users full type