Skip to main content
Every writer.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.

Applications

list

applications.list List no-code applications Risk: read
Input Output

Chat

create

chat.create Generate chat completions Risk: write
Input
Output

Completions

create

completions.create Generate text completions Risk: write
Input Output

Files

delete

files.delete Delete file Risk: destructive
Input Output

download

files.download Download file contents Risk: read
Input Output: any

get

files.get Get file details Risk: read
Input Output

list

files.list List uploaded files Risk: read
Input Output

upload

files.upload Upload file Risk: write
Input Output

Knowledge Graphs

addFile

knowledgeGraphs.addFile Add file to graph Risk: write
Input Output

askQuestion

knowledgeGraphs.askQuestion Ask question to knowledge graph Risk: read
Input Output

create

knowledgeGraphs.create Create knowledge graph Risk: write
Input Output

delete

knowledgeGraphs.delete Delete knowledge graph Risk: destructive
Input Output

list

knowledgeGraphs.list List knowledge graphs Risk: read
Input Output

removeFile

knowledgeGraphs.removeFile Remove file from graph Risk: destructive
Input Output

retrieve

knowledgeGraphs.retrieve Retrieve knowledge graph Risk: read
Input Output

update

knowledgeGraphs.update Update knowledge graph Risk: write
Input Output

Models

list

models.list List available models Risk: read
Input: empty object Output

Tools

analyzeImages

tools.analyzeImages Analyze images with vision models Risk: write
Input Output

detectAiContent

tools.detectAiContent Detect AI-generated content likelihood Risk: read
Input Output: object

medicalComprehend

tools.medicalComprehend Extract structured medical entities from text Risk: write
Input Output: any

parsePdf

tools.parsePdf Parse PDF file Risk: read
Input Output

translateText

tools.translateText Translate text between languages Risk: write
Input Output

webSearch

tools.webSearch Search the web Risk: read
Input Output