taskhold-com Events API

The Events API from taskhold-com — 2 operation(s) for events.

GitHub OpenAPI

Operations 2

GET /api/events List events #
GET /api/events/stream Live events (SSE) #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/taskhold-com:taskhold-com-events-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

taskhold-com-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Taskhold Events API
  version: 1.2.0
  description: 'REST API behind Taskhold, a task list shared by a person and their coding agents. The same API key works for the MCP server at https://taskhold.com/api/mcp, which is the easier way to connect an agent. Changes made with an API key are recorded as made by an agent. Changelog: https://taskhold.com/changelog'
  contact:
    email: hello@greatwork.company
  termsOfService: https://taskhold.com/terms
servers:
- url: https://taskhold.com
security:
- bearer: []
tags:
- name: Events
paths:
  /api/events:
    get:
      summary: List events
      description: 'What happened, oldest first after `since` (an event id), with the cursor to pass next time. Without since: the latest `limit` events. Filter by actor (human or agent) or task_id (a top-level task: its own and its steps'' events).'
      parameters:
      - name: since
        in: query
        schema:
          type: integer
        description: Return events after this id
      - name: actor
        in: query
        schema:
          type: string
          enum:
          - human
          - agent
        description: Only events by a person or by an agent
      - name: task_id
        in: query
        schema:
          type: string
          format: uuid
        description: Only events for this task and its steps (a step id means its task)
      - name: project
        in: query
        schema:
          type: string
        description: Only events on tasks in this project, by name (case-insensitive) or id
      - name: wait
        in: query
        schema:
          type: integer
          minimum: 0
          maximum: 50
        description: 'With since: hold the request up to this many seconds until a matching event lands (long poll)'
      - name: limit
        in: query
        schema:
          type: integer
          default: 100
          maximum: 500
        description: Most events to return (max 500); a full page means call again with the returned cursor
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  events:
                    type: array
                    items:
                      $ref: '#/components/schemas/Event'
                  cursor:
                    type: integer
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Events
      operationId: getApiEvents
      x-operation-id-source: derived
  /api/events/stream:
    get:
      summary: Live events (SSE)
      description: 'Server-Sent Events: an `event: ready` frame with the cursor, then one `event: task` frame per event (`id:` is the event id, `data:` the Event JSON). Resumes from Last-Event-ID or ?since=. A comment every 15 s keeps the connection open; the server ends the stream after 10 minutes and clients reconnect. Example: curl -N -H "Authorization: Bearer atd_sk_..." ${APP_URL}/api/events/stream'
      parameters:
      - name: since
        in: query
        schema:
          type: integer
        description: 'Start after this event id (default: now)'
      responses:
        '200':
          description: text/event-stream
          content:
            text/event-stream:
              schema:
                type: string
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Events
      operationId: getApiEventsStream
      x-operation-id-source: derived
components:
  schemas:
    AuthError:
      type: object
      properties:
        error:
          type: string
        reason:
          type: string
        message:
          type: string
        url:
          type: string
          format: uri
    Event:
      type: object
      properties:
        id:
          type: integer
          description: Increasing; use as the cursor
        task_id:
          type:
          - string
          - 'null'
          format: uuid
        root_task_id:
          type:
          - string
          - 'null'
          format: uuid
          description: The top-level task (the task itself, or a step's parent)
        type:
          type: string
          enum:
          - task.created
          - task.status
          - task.progress
          - task.note
          - task.updated
          - task.deleted
          - subtasks.planned
        actor:
          type: string
          enum:
          - human
          - agent
          - system
        actor_name:
          type:
          - string
          - 'null'
        summary:
          type: string
          description: One line, readable as is
        data:
          type:
          - object
          - 'null'
        created_at:
          type: string
          format: date-time
        task_title:
          type:
          - string
          - 'null'
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        details: {}
  responses:
    Unauthorized:
      description: Missing, malformed or unknown API key. `reason` is one of missing_key, bad_header, not_a_taskhold_key, unknown_key; `message` says what to do and `url` links to Settings.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AuthError'
    SubscriptionRequired:
      description: The key is valid but the account has no active subscription. `url` links to Billing.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AuthError'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: An atd_sk_ API key from https://taskhold.com/dashboard/settings (or a setup URL, which creates one for you).
externalDocs:
  description: Setup per agent
  url: https://taskhold.com/for