docs/api/targets

API

Targets

Ask what a format can become. It needs no key.

Targets of a format

GET /v1/targets?from=<format> lists the conversions from a format, each with what it keeps, its options and its version. An unknown format answers 400.

Terminal
$ export CV_API_KEY=cv_sk_…

Set your key once. Every cv command reads it.

Terminal
$ cv targets --from heic

A conversion

Field
idThe conversion, such as heic>jpeg.
from, toThe input and output formats.
inputsone, or many for a join that makes one file of many.
outputsone, or many when it can make several files, such as one per page.
versionChanges whenever anything that can change the result changes.
noteWhat the conversion keeps and what it drops.
optionsA JSON Schema of the options it takes, with their ranges and defaults.
editsOn a conversion that takes edits, a JSON Schema of the edit list.
refsOn a conversion with a refs view, a JSON Schema of the refs it takes.

A job's transforms names the conversions it ran with these versions, so you can tell when a result came from a newer one.

Updated 3 November 2026