SRIFT Monitor API

Progress + state monitoring

GitHub OpenAPI

Operations 8

GET /status Session, transfers, pending join requests and members #
GET /state Raw .srift-state.json snapshot #
GET /api/v1/monitor/events SSE event stream #
GET /health Daemon liveness (version, uptime) #
GET /v1/diag Network diagnosis: which transports work on this machine, with fixes (same as… #
GET /metrics Prometheus metrics (text/plain) #
GET /logs Recent daemon log lines (one JSON object per line) #
POST /daemon/stop Stop the daemon (same as `srift daemon stop`) #

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-monitor-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-monitor-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Srift App Monitor API
  version: 4.4.0
  contact:
    email: support@sripto.tech
  license:
    name: MIT
    identifier: MIT
  description: 'Operations tagged monitor 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: Monitor
  description: Progress + state monitoring
paths:
  /status:
    get:
      tags:
      - Monitor
      summary: Session, transfers, pending join requests and members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DaemonStatus'
      operationId: getStatus
    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)
  /state:
    get:
      tags:
      - Monitor
      summary: Raw .srift-state.json snapshot
      responses:
        '200':
          description: OK
      operationId: getState
    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)
  /api/v1/monitor/events:
    get:
      tags:
      - Monitor
      summary: SSE event stream
      description: 'Server-sent events. Event types: `connection_state`, `join_request`, `file_offer`, `transfer_progress`, `chat_received`.'
      responses:
        '200':
          description: text/event-stream
      operationId: getApiV1MonitorEvents
    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)
  /health:
    get:
      servers:
      - url: http://127.0.0.1:3822
        description: Local daemon
      tags:
      - Monitor
      summary: Daemon liveness (version, uptime)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
      operationId: getHealth
    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)
  /v1/diag:
    get:
      servers:
      - url: http://127.0.0.1:3822
        description: Local daemon
      tags:
      - Monitor
      summary: 'Network diagnosis: which transports work on this machine, with fixes (same as…'
      parameters:
      - name: fresh
        in: query
        description: Re-probe instead of using the cached result
        schema:
          type: string
          enum:
          - '1'
          - 'true'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  verdict:
                    type: string
                    enum:
                    - ok
                    - degraded
                    - blocked
                  rungs:
                    type: array
                    items:
                      type: object
                  plan:
                    type: object
      operationId: getV1Diag
    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)
  /metrics:
    get:
      servers:
      - url: http://127.0.0.1:3822
        description: Local daemon
      tags:
      - Monitor
      summary: Prometheus metrics (text/plain)
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
      operationId: getMetrics
    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)
  /logs:
    get:
      servers:
      - url: http://127.0.0.1:3822
        description: Local daemon
      tags:
      - Monitor
      summary: Recent daemon log lines (one JSON object per line)
      parameters:
      - name: lines
        in: query
        schema:
          type: integer
          default: 100
      responses:
        '200':
          description: OK
          content:
            application/x-ndjson:
              schema:
                type: string
      operationId: getLogs
    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)
  /daemon/stop:
    post:
      servers:
      - url: http://127.0.0.1:3822
        description: Local daemon
      tags:
      - Monitor
      summary: Stop the daemon (same as `srift daemon stop`)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
      operationId: postDaemonStop
    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:
    Participant:
      type: object
      description: A session member. Pass userId to /session/kick.
      properties:
        userId:
          type: string
        username:
          type: string
        isHost:
          type: boolean
        online:
          type: boolean
    Transfer:
      type: object
      properties:
        fileId:
          type: string
        name:
          type: string
        size:
          type: number
        progress:
          type: number
          description: 0-100
        speedKBps:
          type: number
        etaSeconds:
          type: number
        protocol:
          type: string
          enum:
          - websocket
          - webtorrent
        status:
          type: string
          enum:
          - pending
          - uploading
          - downloading
          - completed
          - cancelled
          - error
        direction:
          type: string
          enum:
          - upload
          - download
        bytesTransferred:
          type: number
    PendingJoin:
      type: object
      properties:
        tempUserId:
          type: string
          description: Pass to /session/approve or /session/reject
        username:
          type: string
    DaemonStatus:
      type: object
      properties:
        session:
          type: object
          properties:
            id:
              type:
              - string
              - 'null'
            name:
              type:
              - string
              - 'null'
            role:
              type:
              - string
              - 'null'
              enum:
              - host
              - guest
              - null
            isConnected:
              type: boolean
            userId:
              type:
              - string
              - 'null'
        activeTransfers:
          type: array
          items:
            $ref: '#/components/schemas/Transfer'
        pendingJoins:
          type: array
          items:
            $ref: '#/components/schemas/PendingJoin'
        participants:
          type: array
          items:
            $ref: '#/components/schemas/Participant'
        lastUpdated:
          type: string
externalDocs:
  description: Full agent manual
  url: https://srift.app/AGENTS.md
x-refined-from:
- openapi.json
- srift-app-openapi.yml