Skip to content
GigAI Tools

Developer API / docs

Format JSON API

Pretty-print or minify JSON. indent=0 minifies.

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

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

Options

  • indent - integer, 0..8

Limits

  • Input: json (one file, checked by content, never by extension).
  • Max input size: 10 MB.
  • Output: json.
  • Time budget: 60 seconds, then the task fails with the timeout code.
  • Engine: native.

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