SRIFT Agent API

Zero-config endpoints designed for AI agents

GitHub OpenAPI

Operations 4

POST /quick-share ZERO-INSTALL delivery: ensure session + register file + return a public relay… #
POST /pubshare Register an additional file for public download in the current session #
GET /pubshare/list List every active public download link with usage counters #
POST /pubshare/revoke Invalidate a download token immediately #

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-agent-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-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Srift App Agent API
  version: 4.4.0
  contact:
    email: support@sripto.tech
  license:
    name: MIT
    identifier: MIT
  description: 'Operations tagged agent 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: Agent
  description: Zero-config endpoints designed for AI agents
paths:
  /quick-share:
    post:
      tags:
      - Agent
      summary: 'ZERO-INSTALL delivery: ensure session + register file + return a public relay…'
      description: 'Primary entry point for AI agents. If no session is active, creates one, then registers the file for public HTTP download. Returns a `downloadUrl` like `https://srift.app/d/` the recipient can fetch with any HTTP client (browser, `srift get`, wget, curl) — SRIFT install on the recipient side is NOT required. This is a relay link: when it is opened, this daemon streams the bytes on demand through the srift.app relay (pass-through, `Cache-Control: no-store`). Nothing is stored on any server, so the link works only while this daemon (or the process hosting it) runs. `encrypt: true` (or a `password`) makes it end-to-end encrypted with AES-256-GCM; the key is returned in the URL''s `#k=` fragment, which is never sent to a server. Without it the link is protected by TLS in transit only. Optional `maxDownloads` and `ttlMs` enforce sharing limits; failed/cancelled downloads do not count against the cap. Tokens survive transient signaler reconnects. Note: requires the local SRIFT daemon (http://127.0.0.1:3822) — filesystem access to `filePath` is not available on the public https://srift.app host. Several files: pass filePaths for one .tar.gz bundle link (default) or bundle:false for one link per path, created in parallel; the response then has links[] and errors[].'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                filePath:
                  type: string
                  description: Absolute path to a file or folder (folders are sent as .tar.gz). Use this OR filePaths.
                sessionName:
                  type: string
                  description: Optional label
                maxDownloads:
                  type: integer
                  minimum: 0
                  description: Cap after N completed downloads. 0 = unlimited.
                ttlMs:
                  type: integer
                  minimum: 0
                  description: Auto-expire the link after N milliseconds. 0 = never.
                encrypt:
                  type: boolean
                  description: 'End-to-end encrypt (AES-256-GCM). The key is carried in the returned URL''s #k= fragment and never sent to a server. Default false (TLS in transit only).'
                password:
                  type: string
                  description: Optional password the recipient must supply (PBKDF2-SHA256, 100,000 iterations). Implies encrypt.
                filePaths:
                  type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 500
                  description: Several absolute file/folder paths in one call. Use this OR filePath.
                bundle:
                  type: boolean
                  default: true
                  description: 'With filePaths: true = one .tar.gz link containing everything; false = one link per path, created in parallel.'
                bundleName:
                  type: string
                  description: 'With filePaths + bundle: archive name (.tar.gz is added).'
                exclude:
                  type: array
                  items:
                    type: string
                  description: Extra glob patterns skipped when packing folders (.git and node_modules always skipped).
                name:
                  type: string
                  description: Recipient-visible file name
                mode:
                  type: string
                  enum:
                  - relay
                  - auto
                  description: Accepted for older clients. Links are always relay links served by this daemon (nothing is stored on a server).
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuickShareResult'
      operationId: postQuickShare
    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)
  /pubshare:
    post:
      tags:
      - Agent
      summary: Register an additional file for public download in the current session
      description: 'Like /quick-share, but requires an already-active session. Use this to mint multiple download links from one daemon session. Note: requires the local SRIFT daemon (http://127.0.0.1:3822) — filesystem access to `filePath` is not available on the public https://srift.app host.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - filePath
              properties:
                filePath:
                  type: string
                maxDownloads:
                  type: integer
                  minimum: 0
                ttlMs:
                  type: integer
                  minimum: 0
                encrypt:
                  type: boolean
                  description: 'End-to-end encrypt; the key rides in the #k= fragment'
                password:
                  type: string
                  description: Password-protect (implies encrypt)
                name:
                  type: string
                  description: Recipient-visible file name
      responses:
        '200':
          description: OK
        '409':
          description: No active session
      operationId: postPubshare
    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)
  /pubshare/list:
    get:
      tags:
      - Agent
      summary: List every active public download link with usage counters
      description: 'Note: requires the local SRIFT daemon (http://127.0.0.1:3822) — lists shares registered in that daemon''s in-process session state, which is not available on the public https://srift.app host.'
      responses:
        '200':
          description: OK
      operationId: getPubshareList
    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)
  /pubshare/revoke:
    post:
      tags:
      - Agent
      summary: Invalidate a download token immediately
      description: 'Note: requires the local SRIFT daemon (http://127.0.0.1:3822) — revokes a token registered in that daemon''s in-process session state, which is not available on the public https://srift.app host.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - token
              properties:
                token:
                  type: string
      responses:
        '200':
          description: OK
        '404':
          description: Unknown token
      operationId: postPubshareRevoke
    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)
components:
  schemas:
    QuickShareResult:
      type: object
      properties:
        success:
          type: boolean
        mode:
          type: string
          enum:
          - relay
        sessionId:
          type: string
        fileId:
          type: string
        token:
          type: string
        downloadUrl:
          type: string
          description: 'Give this to the recipient. Encrypted links include the key after #k='
        shareUrl:
          type: string
          description: Same as downloadUrl (kept for older clients)
        fileName:
          type: string
        fileSize:
          type: number
        maxDownloads:
          type: number
        expiresAt:
          type:
          - number
          - 'null'
        encrypted:
          type: boolean
        passwordProtected:
          type: boolean
externalDocs:
  description: Full agent manual
  url: https://srift.app/AGENTS.md
x-refined-from:
- openapi.json
- srift-app-openapi.yml