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
Output
data full type
data full type
Chat
create
chat.create
Generate chat completions
Risk: write
messages full type
messages full type
choices full type
choices full type
usage full type
usage full type
Completions
create
completions.create
Generate text completions
Risk: write
Output
choices full type
choices full type
Files
delete
files.delete
Delete file
Risk: destructive
Output
download
files.download
Download file contents
Risk: read
Output:
any
get
files.get
Get file details
Risk: read
Output
list
files.list
List uploaded files
Risk: read
Output
data full type
data full type
upload
files.upload
Upload file
Risk: write
Output
Knowledge Graphs
addFile
knowledgeGraphs.addFile
Add file to graph
Risk: write
Output
askQuestion
knowledgeGraphs.askQuestion
Ask question to knowledge graph
Risk: read
Output
create
knowledgeGraphs.create
Create knowledge graph
Risk: write
Output
delete
knowledgeGraphs.delete
Delete knowledge graph
Risk: destructive
Output
list
knowledgeGraphs.list
List knowledge graphs
Risk: read
Output
data full type
data full type
removeFile
knowledgeGraphs.removeFile
Remove file from graph
Risk: destructive
Output
retrieve
knowledgeGraphs.retrieve
Retrieve knowledge graph
Risk: read
Output
update
knowledgeGraphs.update
Update knowledge graph
Risk: write
Output
Models
list
models.list
List available models
Risk: read
models full type
models full type
Tools
analyzeImages
tools.analyzeImages
Analyze images with vision models
Risk: write
Output
detectAiContent
tools.detectAiContent
Detect AI-generated content likelihood
Risk: read
Output:
object
Output full type
Output full type
medicalComprehend
tools.medicalComprehend
Extract structured medical entities from text
Risk: write
Output:
any
parsePdf
tools.parsePdf
Parse PDF file
Risk: read
Output
translateText
tools.translateText
Translate text between languages
Risk: write
Output
webSearch
tools.webSearch
Search the web
Risk: read
Output