Passalong Uploads API

The Uploads API from Passalong — 2 operation(s) for uploads.

GitHub OpenAPI

Operations 2

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-uploads-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-uploads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Passalong Uploads 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: Uploads
paths:
  /v1/uploads:
    post:
      operationId: createUploadLink
      summary: Get a one-time link that takes a screenshot, file or project file
      description: For an agent's code sandbox that holds a file but cannot send your token with it. Set project to an accessible project id to store an image or file there. The link works once and expires in 10 minutes.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                kind:
                  type: string
                  enum:
                  - image
                  - file
                project:
                  type: string
                  description: Store the upload in this project instead.
      responses:
        '201':
          description: The link, as upload_url, and when it expires.
        '429':
          description: Too many unused links are open.
      tags:
      - Uploads
  /v1/uploads/{token}:
    put:
      operationId: sendToUploadLink
      summary: Send raw bytes to an upload link. POST works too
      description: The minted link decides whether to store a screenshot (5 MB), a file on work (10 MB), or a project file (10 MB). Types are checked from the bytes. Returns the stored item.
      security: []
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/octet-stream: {}
      responses:
        '201':
          description: Stored.
        '410':
          description: The link expired or was already used.
        '415':
          description: Not an image type we store.
      tags:
      - Uploads
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An API token, minted in the hub under Settings.