Trigger.dev · JSON Structure
Trigger Dev Run Structure
Structure documentation for Trigger.dev task run entities
Type:
Properties: 0
Developer-FirstWorkflow-AutomationBackground JobsDurable ExecutionTypeScriptAI AgentsReal-TimeOpen-Source
Trigger Dev Run Structure is a JSON Structure definition published by Trigger.dev.
Meta-schema:
JSON Structure
{
"title": "Trigger.dev Run Structure",
"description": "Structure documentation for Trigger.dev task run entities",
"structure": {
"id": "string — Unique run identifier with run_ prefix (e.g., run_abc123xyz456)",
"status": "enum — Current run state (QUEUED, EXECUTING, COMPLETED_SUCCESSFULLY, etc.)",
"taskIdentifier": "string — The task's export identifier (kebab-case by convention)",
"version": "string — Deployment version string (e.g., 20260503.1)",
"createdAt": "string — ISO 8601 datetime when the run was enqueued",
"updatedAt": "string — ISO 8601 datetime of last status change",
"startedAt": "string|null — ISO 8601 datetime when execution began",
"finishedAt": "string|null — ISO 8601 datetime when execution completed",
"isTest": "boolean — Whether triggered as a test run from the dashboard",
"payload": "any — The JSON payload passed to task.run(payload)",
"output": "any — The return value of task.run() (only on COMPLETED_SUCCESSFULLY)",
"tags": "array<string> — Up to 10 tags, each max 128 chars",
"metadata": "object — Arbitrary key-value metadata",
"relatedRuns": {
"root": "object — The root/top-level run in a chain",
"parent": "object — The direct parent run (for child tasks)",
"children": "array — Child runs triggered from within this run"
},
"attempts": {
"_type": "array",
"_item": {
"id": "string — Attempt identifier",
"status": "string — Attempt status",
"startedAt": "string — Attempt start time",
"completedAt": "string|null — Attempt end time",
"error": "object — Error details on failed attempts"
}
}
},
"runStatuses": {
"terminal": ["COMPLETED_SUCCESSFULLY", "COMPLETED_WITH_ERRORS", "CANCELLED", "CRASHED", "FAILED_TO_RUN", "TIMED_OUT", "EXPIRED"],
"active": ["QUEUED", "EXECUTING", "REATTEMPTING", "WAITING_FOR_DEPLOY", "WAITING_TO_RESUME", "DELAYED"],
"retrying": ["REATTEMPTING"]
},
"notes": [
"payload and output are omitted when using Public API keys",
"Presigned URLs are provided for payload/output exceeding response size limits",
"Tag filtering uses exact string match",
"Pagination uses run IDs (not page numbers) for consistent ordering"
]
}
Work with this as data
Every JSON Structure 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 json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure 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.
Call it yourself
curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/trigger-dev-run-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.