SRIFT Discovery API

Discovery / health

GitHub OpenAPI

Operations 8

GET /d/{token} Public download tunnel — recipient downloads the file via standard HTTP #
HEAD /d/{token} Metadata probe (size, filename, mime, X-SRIFT-Downloads, X-SRIFT-Expires) #
GET /healthz Liveness probe #
GET /readyz Readiness probe #
GET /.well-known/mcp/server-card.json MCP server card #
GET /.well-known/ai-plugin.json OpenAI plugin manifest #
GET /.well-known/agent.json Google A2A agent card #
GET /.well-known/agent-skills/index.json SRIFT Agent Skills index (SRIFT convention, proposed) #

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/srift-app:srift-app-discovery-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

srift-app-discovery-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Srift App Discovery API
  version: 4.4.0
  contact:
    email: support@sripto.tech
  license:
    name: MIT
    identifier: MIT
  description: 'Operations tagged discovery across 2 of this provider''s published API definitions: openapi.json, srift-app-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://127.0.0.1:3822
  description: Local daemon (zero-auth, recommended for AI agents)
- url: https://srift.app
  description: Public signaling server (browser clients)
security: []
tags:
- name: Discovery
  description: Discovery / health
paths:
  /d/{token}:
    parameters:
    - name: token
      in: path
      required: true
      schema:
        type: string
      description: Issued by POST /quick-share or /pubshare
    get:
      tags:
      - Discovery
      summary: Public download tunnel — recipient downloads the file via standard HTTP
      description: 'Streams the file as a standard HTTP response from the seeder''s daemon via the signaler. `Content-Disposition: attachment; filename="…"` so browsers and `curl -fLOJ` / `wget --content-disposition` auto-name the file. Supports HTTP Range (`Accept-Ranges: bytes`) for resume. Honours `maxDownloads` and `ttlMs` set at registration time. Concurrent recipients each get an independent parallel stream.'
      responses:
        '200':
          description: Full file
          headers:
            X-SRIFT-Size:
              description: Total file size in bytes (the body may be streamed without Content-Length)
              schema:
                type: integer
            X-SRIFT-Encrypted:
              description: 'SRE1 = end-to-end encrypted payload (decrypt with the #k= key), none = plain'
              schema:
                type: string
                enum:
                - SRE1
                - none
            X-SRIFT-Mode:
              schema:
                type: string
                enum:
                - relay
        '206':
          description: Partial content (Range)
        '404':
          description: Token unknown / expired / sender offline
        '410':
          description: Token expired or exhausted (max-downloads reached)
        '416':
          description: Range not satisfiable
        '424':
          description: The sender's file was deleted or changed after the link was created (permanent)
          content:
            text/plain:
              schema:
                type: string
          headers:
            X-SRIFT-Error:
              schema:
                type: string
                enum:
                - sender-file
        '502':
          description: The sender dropped mid-stream; retry
          content:
            text/plain:
              schema:
                type: string
        '503':
          description: Sender offline
        '504':
          description: Timed out waiting for first byte from sender
      servers:
      - url: https://srift.app
      operationId: getDByToken
    head:
      tags:
      - Discovery
      summary: Metadata probe (size, filename, mime, X-SRIFT-Downloads, X-SRIFT-Expires)
      responses:
        '200':
          description: OK
          headers:
            X-SRIFT-Size:
              description: Total file size in bytes (the body may be streamed without Content-Length)
              schema:
                type: integer
            X-SRIFT-Encrypted:
              description: 'SRE1 = end-to-end encrypted payload (decrypt with the #k= key), none = plain'
              schema:
                type: string
                enum:
                - SRE1
                - none
            X-SRIFT-Mode:
              schema:
                type: string
                enum:
                - relay
        '404':
          description: Token unknown
        '410':
          description: Expired or exhausted
        '424':
          description: The sender's file was deleted or changed after the link was created (permanent)
          content:
            text/plain:
              schema:
                type: string
          headers:
            X-SRIFT-Error:
              schema:
                type: string
                enum:
                - sender-file
        '503':
          description: Sender offline
      servers:
      - url: https://srift.app
      operationId: headDByToken
    servers:
    - url: http://127.0.0.1:3822
      description: Local daemon (zero-auth, recommended for AI agents)
    - url: https://srift.app
      description: Public signaling server (browser clients)
  /healthz:
    get:
      tags:
      - Discovery
      summary: Liveness probe
      responses:
        '200':
          description: OK
      operationId: getHealthz
    servers:
    - url: http://127.0.0.1:3822
      description: Local daemon (zero-auth, recommended for AI agents)
    - url: https://srift.app
      description: Public signaling server (browser clients)
  /readyz:
    get:
      tags:
      - Discovery
      summary: Readiness probe
      responses:
        '200':
          description: OK
      operationId: getReadyz
    servers:
    - url: http://127.0.0.1:3822
      description: Local daemon (zero-auth, recommended for AI agents)
    - url: https://srift.app
      description: Public signaling server (browser clients)
  /.well-known/mcp/server-card.json:
    get:
      tags:
      - Discovery
      summary: MCP server card
      responses:
        '200':
          description: OK
      operationId: getWellKnownMcpServerCardJson
    servers:
    - url: http://127.0.0.1:3822
      description: Local daemon (zero-auth, recommended for AI agents)
    - url: https://srift.app
      description: Public signaling server (browser clients)
  /.well-known/ai-plugin.json:
    get:
      tags:
      - Discovery
      summary: OpenAI plugin manifest
      responses:
        '200':
          description: OK
      operationId: getWellKnownAiPluginJson
    servers:
    - url: http://127.0.0.1:3822
      description: Local daemon (zero-auth, recommended for AI agents)
    - url: https://srift.app
      description: Public signaling server (browser clients)
  /.well-known/agent.json:
    get:
      tags:
      - Discovery
      summary: Google A2A agent card
      responses:
        '200':
          description: OK
      operationId: getWellKnownAgentJson
    servers:
    - url: http://127.0.0.1:3822
      description: Local daemon (zero-auth, recommended for AI agents)
    - url: https://srift.app
      description: Public signaling server (browser clients)
  /.well-known/agent-skills/index.json:
    get:
      tags:
      - Discovery
      summary: SRIFT Agent Skills index (SRIFT convention, proposed)
      responses:
        '200':
          description: OK
      operationId: getWellKnownAgentSkillsIndexJson
    servers:
    - url: http://127.0.0.1:3822
      description: Local daemon (zero-auth, recommended for AI agents)
    - url: https://srift.app
      description: Public signaling server (browser clients)
externalDocs:
  description: Full agent manual
  url: https://srift.app/AGENTS.md
x-refined-from:
- openapi.json
- srift-app-openapi.yml