Passalong Tasks API

The Tasks API from Passalong — 2 operation(s) for tasks.

GitHub OpenAPI

Operations 2

GET /v1/tasks All work you can see, with where it is and who has it #
POST /v1/tasks/next Take the oldest ready work for a repo. No other agent can have it while you do #

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/passalong-dev:passalong-dev-tasks-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

passalong-dev-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Passalong Tasks API
  version: 1.0.0
  description: 'Work for a team and its agents: markdown with frontmatter, saying what to do in plain words. Work has no kinds and no required sections: read it and work out what done means. It is worked with four calls: POST /v1/take, PUT /v1/work/{id}/progress, POST /v1/work/{id}/hand_in and POST /v1/work/{id}/pass. Each answer ends with `next`, what to call now, and `say` when the move is to stop.'
servers:
- url: https://passalong.dev
security:
- bearerAuth: []
tags:
- name: Tasks
paths:
  /v1/tasks:
    get:
      operationId: listTasks
      summary: All work you can see, with where it is and who has it
      parameters:
      - name: scope
        in: query
        schema:
          type: string
        description: '`all` (default), `mine`, or a team slug.'
      responses:
        '200':
          description: Oldest first.
          content:
            application/json:
              schema:
                type: object
                properties:
                  tasks:
                    type: array
                    items:
                      $ref: '#/components/schemas/Task'
      tags:
      - Tasks
  /v1/tasks/next:
    post:
      operationId: takeNextTask
      summary: Take the oldest ready work for a repo. No other agent can have it while you do
      description: 'Work waits until everything in its `blocked_by` is Done. Answers `{ task: null }` when nothing is ready.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - agent
              properties:
                agent:
                  type: string
                  pattern: ^[a-z0-9-]{8,64}$
                  description: A name for you, the same on every call. A local agent's is in its worktree's .passalong/agent.json.
                repo:
                  type: string
                  description: owner/repo you are in; omit for work for no repo.
                host:
                  type: string
                worktree:
                  type: string
                any:
                  type: boolean
                  description: Take work for any repo. Only when asked to.
      responses:
        '200':
          description: The work you now hold, with its markdown, or null.
          content:
            application/json:
              schema:
                type: object
                properties:
                  task:
                    oneOf:
                    - allOf:
                      - $ref: '#/components/schemas/Task'
                      - type: object
                        properties:
                          markdown:
                            type: string
                          resumed:
                            type: boolean
                    - type: 'null'
        '400':
          description: '`agent` is missing or not 8–64 of a-z, 0-9 and -.'
      tags:
      - Tasks
components:
  schemas:
    Task:
      type: object
      description: Work queued for an agent. `state` is where it is; `claim` is who has it.
      properties:
        id:
          type: string
          example: 3cxbzebv
        title:
          type: string
        target:
          type: string
          description: owner/repo it is for; empty for no repo.
        state:
          type: string
          enum:
          - draft
          - ready
          - blocked
          - claimed
          - stalled
          - done
          description: 'stalled: claimed, and nothing heard for 30 minutes. Still locked to the agent that took it.'
        mine:
          type: boolean
          description: You wrote it.
        url:
          type: string
          description: Share link.
        claim:
          type:
          - object
          - 'null'
          properties:
            agent:
              type: string
            note:
              type: string
              description: The latest progress line.
            pr:
              type: string
              description: A PR link or a commit hash.
            lease_until:
              type: string
              format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An API token, minted in the hub under Settings.