Skip to main content

3 docs tagged with "api"

View All Tags

Async Job Polling

Wait for a long-running job without holding a request open. Submit the work, poll until it reports done, and suspend the run between polls so nothing is held open and a restart does not lose it.

JWT Verification Starter

Verify JWTs three ways - against a provider's JWKS (Auth0, Clerk, Cognito, Firebase), a static PEM public key, or an HS256 shared secret - then protect a real per-user Postgres resource scoped to the token's sub claim. Reference endpoints for every is_valid_jwt mode plus a working, owner-scoped notes API and a one-call multi:true migration.

Reusable Modules Starter

Define a database connection and an auth check once, reference them everywhere. A Postgres starter that showcases Air Pipe reusable modules.