Hatchet · JSON Structure

Hatchet Worker Structure

Hatchet Worker entity, derived from the Hatchet OpenAPI spec.

Type: object Properties: 0
Task QueueWorkflow EngineDurable ExecutionBackground TasksAI AgentsOrchestrationPostgreSQLOpen-Source

Worker is a JSON Structure definition published by Hatchet. It conforms to the https://api-evangelist.github.io/json-structure/0.1/schema.json meta-schema.

Meta-schema: https://api-evangelist.github.io/json-structure/0.1/schema.json

JSON Structure

Raw ↑
{
  "$schema": "https://api-evangelist.github.io/json-structure/0.1/schema.json",
  "specification": "JSON Structure",
  "specificationVersion": "0.1",
  "id": "hatchet:worker",
  "name": "Worker",
  "description": "Hatchet Worker entity, derived from the Hatchet OpenAPI spec.",
  "type": "object",
  "fields": [
    {
      "name": "metadata",
      "type": "object",
      "required": true
    },
    {
      "name": "name",
      "description": "The name of the worker.",
      "type": "string",
      "required": true
    },
    {
      "name": "type",
      "type": "string",
      "enum": [
        "SELFHOSTED",
        "MANAGED",
        "WEBHOOK"
      ],
      "required": true
    },
    {
      "name": "lastHeartbeatAt",
      "description": "The time this worker last sent a heartbeat.",
      "type": "string",
      "format": "date-time"
    },
    {
      "name": "lastListenerEstablished",
      "description": "The time this worker last sent a heartbeat.",
      "type": "string",
      "format": "date-time"
    },
    {
      "name": "actions",
      "description": "The actions this worker can perform.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    {
      "name": "registeredWorkflows",
      "description": "The workflow ids registered on this worker.",
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    {
      "name": "slots",
      "description": "The semaphore slot state for the worker.",
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    {
      "name": "recentStepRuns",
      "description": "The recent step runs for the worker.",
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    {
      "name": "status",
      "description": "The status of the worker."
    },
    {
      "name": "slotConfig",
      "description": "Slot availability and limits for this worker (slot_type -> { available, limit }).",
      "type": "object"
    },
    {
      "name": "dispatcherId",
      "description": "the id of the assigned dispatcher, in UUID format",
      "type": "string",
      "format": "uuid"
    },
    {
      "name": "labels",
      "description": "The current label state of the worker.",
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    {
      "name": "webhookUrl",
      "description": "The webhook URL for the worker.",
      "type": "string"
    },
    {
      "name": "webhookId",
      "description": "The webhook ID for the worker.",
      "type": "string",
      "format": "uuid"
    },
    {
      "name": "runtimeInfo"
    }
  ]
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/hatchet-worker-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.