Skip to content
GigAI Tools

Developer API / docs

Rotate PDF API

Rotate all pages, or just the pages you name, by 90, 180 or 270 degrees.

POSThttps://api.gigai.tools/v1/jobsAsync

Runs as the rotate-pdf operation inside a job. Needs a key with the jobs:write scope. Try it in the browser

Options

  • angle - integer, one of 90, 180, 270, required
  • pages - string

Limits

  • Input: pdf (one file, checked by content, never by extension).
  • Max input size: 100 MB.
  • Output: pdf.
  • Time budget: 120 seconds, then the task fails with the timeout code.
  • Engine: pdf-lib.

Inside a bigger job

Chain it: any task can consume this one's output by naming it in input. The recipes show working pipelines.

as one task in a graph

"step": { "operation": "rotate-pdf", "input": ["previous-task"], "angle": ... }
Was this page helpful?