Skip to content
Menu · Limits

API reference

Limits

How many calls, documents, pages and bytes the Composa API takes, and how long its links and records last.

Your plan sets how many pages you print a month, how many print calls a minute the API takes from your Team, and how many documents of a batch print at once. See Pricing for each plan's numbers. Everything below is the same on every plan.

Calls

LimitValuePast it
Documents per call to /v1/run1413 too_large: send a batch
Items per batch50,000413 too_large
Request body50 MB413 too_large
Reads a minute, per Team: reading a batch, canceling one, reading template fields300429 rate_limited
Print calls a minute, per Team: /v1/run, /v1/run/batches, /v1/uploadsSet by your plan429 rate_limited

A 429 answer carries Retry-After, in seconds. Reads are counted apart from print calls, so polling a batch never spends a print call.

Documents

LimitValuePast it
Time for a call to /v1/run50 seconds422 deadline_exceeded: send a batch
Pages drawn as pictures in one document50400: ask for a PDF, or "pages": "1-50"
One picture16 million pixels400
A file in an answer25 MB413 too_large: ask for "output": "url"
A picture sent in data5 MB400
Pictures in one call, together20 MB400
An uploaded file of batch items64 MB400

A PDF has no page limit.

How long things last

WhatHow long
A link from /v1/run1 hour
A link from a batch24 hours
A batch's record and list of links24 hours after it ends
An upload link1 hour to upload; the upload can be used for a day