Skip to main content
This quickstart uses the REST API directly. You will create a server-side key, start a browser task, and poll the durable run until it finishes. Prefer the TypeScript SDK or Python SDK when you want typed helpers and managed polling.

Prerequisites

  • An Infragrid workspace
  • Permission to manage developer API keys
  • curl and jq
An Infragrid API key is a server credential. Run these commands in a trusted terminal or backend environment—never in browser JavaScript.
1

Create an API key

Open Developer settings, choose the Browser runs preset, and create a key. Copy the ig_live_… value immediately; it is shown only once.
2

Export the credential

Store the key in your secret manager for production. For this terminal session:
3

Start a browser task

Use a stable idempotency key for this logical request:
The API returns 202 Accepted with a run whose status is usually queued or running.
4

Poll the durable run

Copy the returned id and request the run until it reaches completed, failed, or cancelled:

Read the result

A completed run returns a bounded result:

Make the task repeatable

Build and publish a programmable Runbook.

Add an SDK

Install the TypeScript or Python client from its public registry.

Review production behavior

Handle retries, timeouts, and terminal failures.
Last modified on August 28, 2026