Skip to main content
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
Input: empty object These snippets use a single-tenant client. With 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

getInfo

account.getInfo Get authenticated account information. https://api.conversiontools.io/openapi.yaml Risk: read
Input: empty object Output

verify

account.verify Verify the API token at the API root. https://conversiontools.io/llms-full.txt Risk: read
Input: empty object Output

Conversions

get

conversions.get Get one conversion type and its options. https://api.conversiontools.io/openapi.yaml Risk: read
Input An option’s type is 'string', 'boolean', 'enum' or 'number' today, and the schema also accepts a type the catalog adds later. Output

list

conversions.list List conversion types with optional format and AI filters. https://conversiontools.io/api-documentation#building-a-connector Risk: read
Input An option’s type is 'string', 'boolean', 'enum' or 'number' today, and the schema also accepts a type the catalog adds later. Output

Files

files.createDownloadLink Mint a temporary download credential for a file. https://conversiontools.io/llms-full.txt Risk: write
Input Output

createUploadSession

files.createUploadSession Create a one-time upload session for a large file. https://conversiontools.io/llms-full.txt Risk: write
Input Output

downloadById

files.downloadById Download file bytes by file ID as base64 with response metadata. https://conversiontools.io/llms-full.txt Risk: read
Input 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
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
Input 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
Input Output

upload

files.upload Upload a file as multipart form data. https://conversiontools.io/api-documentation#upload-file-to-server Risk: write
Input Output

uploadToSession

files.uploadToSession Upload raw file bytes to a one-time session URL. https://conversiontools.io/llms-full.txt Risk: write
Input Output

Tasks

create

tasks.create Create an asynchronous conversion task. https://conversiontools.io/api-documentation#run-conversion-task Risk: destructive
Input 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
Input Output

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
Input Output

remove

tasks.remove Permanently schedule deletion of task files. https://api.conversiontools.io/openapi.yaml Risk: destructive
Input Output

updateRetention

tasks.updateRetention Update task file retention mode. https://api.conversiontools.io/openapi.yaml Risk: write
Input Output