New to Corsair? See API access, authentication, and error handling.
Account
getConfig
account.getConfig
Get account-specific converter configuration. https://api.conversiontools.io/openapi.yaml
Risk: read
multiTenancy: true, bind a tenant first (const tenant = corsair.withTenant('acme')) and replace corsair with tenant in the API calls. The converters sit under data.conversions in the live response. An option’s type is 'string', 'boolean', 'enum' or 'number' today, and the schema also accepts a type the catalog adds later.
Output
data full type
data full type
getInfo
account.getInfo
Get authenticated account information. https://api.conversiontools.io/openapi.yaml
Risk: read
verify
account.verify
Verify the API token at the API root. https://conversiontools.io/llms-full.txt
Risk: read
Conversions
get
conversions.get
Get one conversion type and its options. https://api.conversiontools.io/openapi.yaml
Risk: read
An option’s
type is 'string', 'boolean', 'enum' or 'number' today, and the schema also accepts a type the catalog adds later.
Output
conversion full type
conversion full type
list
conversions.list
List conversion types with optional format and AI filters. https://conversiontools.io/api-documentation#building-a-connector
Risk: read
An option’s
type is 'string', 'boolean', 'enum' or 'number' today, and the schema also accepts a type the catalog adds later.
Output
conversions full type
conversions full type
Files
createDownloadLink
files.createDownloadLink
Mint a temporary download credential for a file. https://conversiontools.io/llms-full.txt
Risk: write
Output
createUploadSession
files.createUploadSession
Create a one-time upload session for a large file. https://conversiontools.io/llms-full.txt
Risk: write
Output
downloadById
files.downloadById
Download file bytes by file ID as base64 with response metadata. https://conversiontools.io/llms-full.txt
Risk: read
The JSON/base64 download response is capped at 10 MiB of raw file bytes. For larger files, create a temporary download link and have the consumer GET
https://api.conversiontools.io/v1/files/{download_id}/download directly without an Authorization header.
Output
downloadFromLink
files.downloadFromLink
Download file bytes using a temporary download ID; the ID is sent without API-key auth. https://conversiontools.io/llms-full.txt
Risk: read
The JSON/base64 download response is capped at 10 MiB of raw file bytes. For larger files, create a temporary download link and have the consumer GET
https://api.conversiontools.io/v1/files/{download_id}/download directly without an Authorization header.
Output
getInfo
files.getInfo
Get file metadata and a text preview when available. https://api.conversiontools.io/openapi.yaml
Risk: read
Output
upload
files.upload
Upload a file as multipart form data. https://conversiontools.io/api-documentation#upload-file-to-server
Risk: write
Output
uploadToSession
files.uploadToSession
Upload raw file bytes to a one-time session URL. https://conversiontools.io/llms-full.txt
Risk: write
Output
Tasks
create
tasks.create
Create an asynchronous conversion task. https://conversiontools.io/api-documentation#run-conversion-task
Risk: destructive
Provide exactly one of
file_id or url inside options; the plugin rejects requests with both or neither. callbackUrl is not accepted because this plugin does not implement callbacks. The options type remains Record<string, JsonValue> so converter-specific options stay open-ended.
Output
get
tasks.get
Get the current state of a conversion task. https://conversiontools.io/api-documentation#get-task-status
Risk: read
Output
conversionResult full type
conversionResult full type
list
tasks.list
List recent tasks, optionally filtered by status, with page and limit (up to 100 a page). https://api.conversiontools.io/openapi.yaml
Risk: read
Output
data full type
data full type
pagination full type
pagination full type
remove
tasks.remove
Permanently schedule deletion of task files. https://api.conversiontools.io/openapi.yaml
Risk: destructive
Output
updateRetention
tasks.updateRetention
Update task file retention mode. https://api.conversiontools.io/openapi.yaml
Risk: write
Output