cody.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Bots
list
bots.list
Get all bots with optional keyword filtering
Risk: read
Output
data full type
data full type
meta full type
meta full type
Conversations
create
conversations.create
Create a new conversation with a specified bot and optional focus mode documents
Risk: write
Output
data full type
data full type
delete
conversations.delete
Delete a conversation by its ID
Risk: write
Output
get
conversations.get
Fetch a conversation by its ID from Cody AI
Risk: read
Output
data full type
data full type
list
conversations.list
Get all conversations with optional filtering by bot, keyword, or includes
Risk: read
Output
data full type
data full type
meta full type
meta full type
update
conversations.update
Update a conversation by its ID including name, bot_id, and document_ids
Risk: write
Output
data full type
data full type
Documents
create
documents.create
Create a new document with text or HTML content in Cody AI
Risk: write
Output
data full type
data full type
createFromFile
documents.createFromFile
Create a document by uploading a file (up to 100 MB)
Risk: write
Output
data full type
data full type
createFromWebpage
documents.createFromWebpage
Create a document from a publicly accessible webpage URL
Risk: write
Output
data full type
data full type
delete
documents.delete
Delete a document by id
Risk: write
Output
get
documents.get
Retrieve a specific document by its identifier from Cody AI
Risk: read
Output
data full type
data full type
list
documents.list
Retrieve all documents from Cody AI account with optional filtering
Risk: read
Output
data full type
data full type
meta full type
meta full type
Folders
create
folders.create
Create a new folder in Cody AI for organizing content
Risk: write
Output
data full type
data full type
get
folders.get
Retrieve a specific folder by its identifier
Risk: read
Output
data full type
data full type
list
folders.list
Retrieve all folders with optional keyword filtering
Risk: read
Output
data full type
data full type
meta full type
meta full type
update
folders.update
Update a folder by its ID
Risk: write
Output
data full type
data full type
Messages
get
messages.get
Fetch a specific message by its ID from Cody AI
Risk: read
Output
data full type
data full type
list
messages.list
Retrieve a paginated list of messages from Cody, optionally filtered by conversation
Risk: read
Output
data full type
data full type
meta full type
meta full type
send
messages.send
Send a message to Cody AI and receive an AI-generated response
Risk: write
Output
data full type
data full type
sendForStream
messages.sendForStream
Send a message to Cody AI and receive a Server-Sent Events (SSE) stream URL for the AI response
Risk: write
Output
data full type
data full type
Uploads
getSignedUrl
uploads.getSignedUrl
Get an AWS S3 signed upload URL for file uploads
Risk: read
Output
data full type
data full type