Skip to content
GigAI Tools

Developer API / docs

Add Page Numbers API

Stamp a page number on every page. Choose the corner and the starting number.

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

Runs as the add-page-numbers operation inside a job. Needs a key with the jobs:write scope.

Options

  • position - string, one of bottom-center, bottom-left, bottom-right, top-center, top-left, top-right
  • start - integer, 0..9999
  • size - integer, 6..36

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": "add-page-numbers", "input": ["previous-task"] }
Was this page helpful?