Trigger.dev · Schema

Trigger.dev Waitpoint Token

A waitpoint token used for human-in-the-loop and external-completion workflows. A run pauses until the token is completed via API, callback URL, or the useWaitToken React hook.

Developer-FirstWorkflow-AutomationBackground JobsDurable ExecutionTypeScriptAI AgentsReal-TimeOpen-Source

Properties

Name Type Description
id string Unique waitpoint token identifier (prefixed with waitpoint_)
status string Current state of the waitpoint token
url string Callback URL for completing this waitpoint via HTTP POST
tags array
idempotencyKey string Idempotency key used at creation to prevent duplicate tokens
ttl string Time-to-live string (e.g. 24h, 7d) controlling token expiry
expiresAt stringnull
completedAt stringnull
createdAt string
data object Completion payload returned to the waiting run when the token is completed
View JSON Schema on GitHub

JSON Schema

trigger-dev-waitpoint-token-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/trigger-dev/main/json-schema/trigger-dev-waitpoint-token-schema.json",
  "title": "Trigger.dev Waitpoint Token",
  "description": "A waitpoint token used for human-in-the-loop and external-completion workflows. A run pauses until the token is completed via API, callback URL, or the useWaitToken React hook.",
  "type": "object",
  "required": ["id", "status"],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^waitpoint_",
      "description": "Unique waitpoint token identifier (prefixed with waitpoint_)"
    },
    "status": {
      "type": "string",
      "enum": ["WAITING", "COMPLETED", "TIMED_OUT", "CANCELLED"],
      "description": "Current state of the waitpoint token"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Callback URL for completing this waitpoint via HTTP POST"
    },
    "tags": {
      "type": "array",
      "items": { "type": "string", "maxLength": 128 },
      "maxItems": 10
    },
    "idempotencyKey": {
      "type": "string",
      "description": "Idempotency key used at creation to prevent duplicate tokens"
    },
    "ttl": {
      "type": "string",
      "description": "Time-to-live string (e.g. 24h, 7d) controlling token expiry"
    },
    "expiresAt": {
      "type": ["string", "null"],
      "format": "date-time"
    },
    "completedAt": {
      "type": ["string", "null"],
      "format": "date-time"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "data": {
      "description": "Completion payload returned to the waiting run when the token is completed"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/trigger-dev-waitpoint-token"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.