studiobyai21labs.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.
Chat
completions
chat.completions
Generate a Jamba chat completion from a conversation history
Risk: write
messages full type
messages full type
tools full type
tools full type
documents full type
documents full type
response_format full type
response_format full type
choices full type
choices full type
usage full type
usage full type
Library
delete
library.delete
Delete a library file
Risk: write
Output:
undefined
download
library.download
Get a signed download URL for a library file
Risk: read
Output:
string
get
library.get
Get metadata for a library file
Risk: read
Output
list
library.list
List workspace library files with optional filters
Risk: read
Output:
object[]
Output full type
Output full type
update
library.update
Update a library file public URL or labels
Risk: write
Output:
undefined
upload
library.upload
Upload a file or register a public URL in the library
Risk: write
Output
Maestro
createRun
maestro.createRun
Create an AI21 Maestro run
Risk: write
input full type
input full type
requirements full type
requirements full type
tools full type
tools full type
requirements_result full type
requirements_result full type
data_sources full type
data_sources full type
error full type
error full type
retrieveRun
maestro.retrieveRun
Retrieve an AI21 Maestro run by id
Risk: read
Output
requirements_result full type
requirements_result full type
data_sources full type
data_sources full type
error full type
error full type