uploads.sh Live links API

A live, newest-first page of files for one repo or pull request. The API calls a live link a feed.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 4

POST /v1/workspaces/{workspace}/feeds Create a live link #
GET /v1/workspaces/{workspace}/feeds List live links #
GET /v1/workspaces/{workspace}/feeds/{feedId} Get a live link #
DELETE /v1/workspaces/{workspace}/feeds/{feedId} Delete a live link #

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/uploads-sh:uploads-sh-live-links-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

uploads-sh-live-links-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: uploads.sh Live links API
  version: 1.0.0
  description: 'Workspace-scoped file hosting for agents and humans. The canonical public hierarchy is `/v1/workspaces/{workspace}/...`. Full narrative docs: https://uploads.sh/docs/api'
  contact:
    url: https://github.com/buildinternet/uploads
  license:
    name: Apache-2.0
    url: https://github.com/buildinternet/uploads/blob/main/LICENSE
servers:
- url: https://api.uploads.sh
  description: Production API
security:
- bearerAuth: []
tags:
- name: Live links
  description: A live, newest-first page of files for one repo or pull request. The API calls a live link a feed.
paths:
  /v1/workspaces/{workspace}/feeds:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    post:
      operationId: createFeed
      security:
      - bearerAuth:
        - files:write
      summary: Create a live link
      description: Creates a public newest-first screenshot feed for a GitHub owner/repo, optionally scoped to one pull request or issue. The same scope returns the existing feed.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FeedCreate'
      responses:
        '200':
          description: The existing feed for this scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Feed'
        '201':
          description: The feed was created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Feed'
        '400':
          $ref: '#/components/responses/Validation'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Live links
    get:
      operationId: listFeeds
      security:
      - bearerAuth:
        - files:read
      summary: List live links
      parameters:
      - $ref: '#/components/parameters/GalleryLimit'
      - $ref: '#/components/parameters/Cursor'
      responses:
        '200':
          description: A page of feed summaries.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeedList'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
      tags:
      - Live links
  /v1/workspaces/{workspace}/feeds/{feedId}:
    parameters:
    - $ref: '#/components/parameters/Workspace'
    - $ref: '#/components/parameters/FeedId'
    get:
      operationId: getFeed
      security:
      - bearerAuth:
        - files:read
      summary: Get a live link
      responses:
        '200':
          description: The feed and its current newest-first items.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Feed'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
      tags:
      - Live links
    delete:
      operationId: deleteFeed
      security:
      - bearerAuth:
        - files:write
      summary: Delete a live link
      responses:
        '200':
          description: The feed record was deleted. Uploaded objects stay.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteResult'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Live links
components:
  schemas:
    Metadata:
      type: object
      additionalProperties:
        type: string
    FeedSummary:
      type: object
      required:
      - id
      - url
      - workspace
      - repo
      - title
      - createdAt
      - updatedAt
      properties:
        id:
          type: string
          pattern: ^feed_
        url:
          type: string
          format: uri
          description: Canonical public page (`/c/<id>`).
        workspace:
          type: string
        repo:
          type: string
        path:
          type:
          - string
          - 'null'
        number:
          type:
          - integer
          - 'null'
          minimum: 1
        kind:
          type:
          - string
          - 'null'
          enum:
          - pull
          - issue
        title:
          type: string
        source:
          type:
          - string
          - 'null'
          enum:
          - comment
          - user
          - null
          description: 'Who created the feed: PR comment sync or a user. Null for feeds created before this field.'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    FeedList:
      type: object
      required:
      - feeds
      - nextCursor
      properties:
        feeds:
          type: array
          items:
            $ref: '#/components/schemas/FeedSummary'
        nextCursor:
          type:
          - string
          - 'null'
    DeleteResult:
      type: object
      required:
      - deleted
      properties:
        id:
          type: string
        key:
          type: string
        deleted:
          const: true
      anyOf:
      - required:
        - id
      - required:
        - key
    Feed:
      allOf:
      - $ref: '#/components/schemas/FeedSummary'
      - type: object
        required:
        - items
        properties:
          items:
            type: array
            items:
              $ref: '#/components/schemas/FeedItem'
    VideoDimensions:
      type: object
      required:
      - width
      - height
      properties:
        width:
          type: integer
          minimum: 1
        height:
          type: integer
          minimum: 1
    FeedItem:
      type: object
      required:
      - id
      - filename
      - status
      - url
      - embedUrl
      properties:
        id:
          type: string
        objectKey:
          type: string
        filename:
          type: string
        status:
          type: string
          enum:
          - available
          - missing
          - withheld
        url:
          type:
          - string
          - 'null'
          format: uri
        embedUrl:
          type:
          - string
          - 'null'
          format: uri
        pageUrl:
          type: string
          format: uri
          description: Owner-only item page (`/c/<id>/<item>`).
        contentType:
          type:
          - string
          - 'null'
        size:
          type:
          - integer
          - 'null'
          minimum: 0
        uploaded:
          type:
          - string
          - 'null'
          format: date-time
        modified:
          type:
          - string
          - 'null'
          format: date-time
        path:
          type:
          - string
          - 'null'
        state:
          type:
          - string
          - 'null'
        metadata:
          $ref: '#/components/schemas/Metadata'
        posterUrl:
          type: string
          format: uri
        videoDimensions:
          $ref: '#/components/schemas/VideoDimensions'
    ErrorEnvelope:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - type
          - message
          properties:
            code:
              type: string
            type:
              type: string
            message:
              type: string
            details: {}
    FeedCreate:
      type: object
      required:
      - repo
      properties:
        repo:
          type: string
          description: GitHub owner/repo.
        path:
          type:
          - string
          - 'null'
          description: Optional exact page-path metadata filter.
        number:
          type:
          - integer
          - 'null'
          minimum: 1
          description: Optional pull request or issue number. Filters on gh.number.
        kind:
          type:
          - string
          - 'null'
          enum:
          - pull
          - issue
          description: Display-only. Set automatically when you pass pr or issue.
        pr:
          type:
          - integer
          - 'null'
          minimum: 1
          description: Alias for number with kind=pull. Mutually exclusive with number and issue.
        issue:
          type:
          - integer
          - 'null'
          minimum: 1
          description: Alias for number with kind=issue. Mutually exclusive with number and pr.
  parameters:
    Workspace:
      name: workspace
      in: path
      required: true
      schema:
        type: string
    FeedId:
      name: feedId
      in: path
      required: true
      schema:
        type: string
        pattern: ^feed_
    GalleryLimit:
      name: limit
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 50
    Cursor:
      name: cursor
      in: query
      schema:
        type: string
      description: Opaque cursor returned by the previous page.
  responses:
    Validation:
      description: Invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Forbidden:
      description: The credential lacks the required scope or role.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Unauthorized:
      description: Missing or invalid credential.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    NotFound:
      description: The resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    RateLimited:
      description: The workspace rate limit or upload budget was exceeded.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Conflict:
      description: The request conflicts with current resource state.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Workspace token from `uploads login` or `/account/developers`. Canonical routes can also accept an uploads.sh browser session, but public API integrations should use a workspace token. Tokens carry named scopes `files:read`, `files:write`, and `files:delete`; each operation lists the required scope as a role name on this scheme. REST v1 does not accept OAuth access tokens (those are for the hosted MCP). Scope catalog: https://api.uploads.sh/.well-known/oauth-protected-resource'
    oauth2:
      type: oauth2
      description: 'Named permission scopes for workspace tokens (this API) and for OAuth 2.1 access tokens on the hosted MCP at https://agents.uploads.sh/mcp. REST v1 authenticates with `bearerAuth` only. Request the scopes listed on each operation. Discovery: https://uploads.sh/.well-known/oauth-authorization-server and https://api.uploads.sh/.well-known/oauth-protected-resource'
      flows:
        authorizationCode:
          authorizationUrl: https://uploads.sh/api/auth/oauth2/authorize
          tokenUrl: https://auth.uploads.sh/api/auth/oauth2/token
          scopes:
            files:read: List, search, read metadata, usage, galleries, and feeds.
            files:write: Upload, update metadata, galleries, feeds, and usage reconcile.
            files:delete: Delete stored objects and purge expired objects.
x-tagGroups:
- name: Core
  tags:
  - Files
  - Review
- name: Sharing
  tags:
  - Galleries
  - Live links
  - Public
- name: Workspace
  tags:
  - GitHub
  - Usage
  - Maintenance