Skip to main content
Every 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
Input
Output

Library

delete

library.delete Delete a library file Risk: write
Input Output: undefined

download

library.download Get a signed download URL for a library file Risk: read
Input Output: string

get

library.get Get metadata for a library file Risk: read
Input Output

list

library.list List workspace library files with optional filters Risk: read
Input Output: object[]

update

library.update Update a library file public URL or labels Risk: write
Input Output: undefined

upload

library.upload Upload a file or register a public URL in the library Risk: write
Input Output

Maestro

createRun

maestro.createRun Create an AI21 Maestro run Risk: write
Input
Output

retrieveRun

maestro.retrieveRun Retrieve an AI21 Maestro run by id Risk: read
Input Output