GET /v1/agent/tasks lists available task names and parameter schemas. POST /v1/agent runs one task in an existing session.
With TILION_API_KEY and TILION_SESSION_ID set, this example reads the heading from a public test page.
Herman Melville - Moby-Dick in data.heading. The response also contains a steps trace and an error field.
A task can return HTTP
200 with ok: false. With async_mode: true, the initial ok: false and status: "pending" indicate that work is still running. Poll the returned job_id for the task result.