Base URL https://api.tilion.dev. Every request needs Authorization: Bearer $TILION_API_KEY.
Any endpoint that accepts async_mode returns a job_id immediately instead of holding the
connection open. Fetch, inspect, and agent runs all use the same job system.
When to go async
A synchronous call that outruns its deadline returns 504. For slow sites and long agent
runs, request a job instead:
Polling
status is pending, done, or error. kind is fetch, inspect, or agent, and it
determines the shape of result. Poll every second or two with backoff.
GET /v1/fetch/job/{job_id} accepts the same ids but returns a bare fetch response instead of
the job envelope. Prefer /v1/job/{job_id}, which works for every job kind.