Storm MCP Active Sessions API

The ActiveSessions API from Storm MCP — 3 operation(s) for activesessions.

Operations 4

GET /api/v1/sessions/active Gets all active sessions for the current user with detailed usage information #
GET /api/v1/sessions/active/{sessionId} Gets detailed information about a specific active session #
DELETE /api/v1/sessions/active/{sessionId} Terminates an active session #
GET /api/v1/sessions/active/count Gets the count of active sessions for the current user #

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/stormmcp:stormmcp-activesessions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

stormmcp-activesessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MCP Gateway Active Sessions API
  description: API for MCP Gateway operations
  version: v1
servers:
- url: https://dev.stormmcp.ai/
tags:
- name: ActiveSessions
paths:
  /api/v1/sessions/active:
    get:
      tags:
      - ActiveSessions
      summary: Gets all active sessions for the current user with detailed usage information
      parameters:
      - name: includeUsageDetails
        in: query
        description: 'Whether to include detailed tool usage information (default: true).'
        schema:
          type: boolean
          default: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ActiveSessionResponse'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ActiveSessionResponse'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ActiveSessionResponse'
            text/csv:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ActiveSessionResponse'
            application/csv:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ActiveSessionResponse'
        '401':
          description: Unauthorized
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: getApiV1SessionsActive
      x-operation-id-source: derived
  /api/v1/sessions/active/{sessionId}:
    get:
      tags:
      - ActiveSessions
      summary: Gets detailed information about a specific active session
      parameters:
      - name: sessionId
        in: path
        description: The session ID to get details for.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ActiveSessionResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ActiveSessionResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ActiveSessionResponse'
            text/csv:
              schema:
                $ref: '#/components/schemas/ActiveSessionResponse'
            application/csv:
              schema:
                $ref: '#/components/schemas/ActiveSessionResponse'
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: getApiV1SessionsActiveBySessionId
      x-operation-id-source: derived
    delete:
      tags:
      - ActiveSessions
      summary: Terminates an active session
      parameters:
      - name: sessionId
        in: path
        description: The session ID to terminate.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: deleteApiV1SessionsActiveBySessionId
      x-operation-id-source: derived
  /api/v1/sessions/active/count:
    get:
      tags:
      - ActiveSessions
      summary: Gets the count of active sessions for the current user
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema: {}
            application/json:
              schema: {}
            text/json:
              schema: {}
            text/csv:
              schema: {}
            application/csv:
              schema: {}
        '401':
          description: Unauthorized
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/csv:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: getApiV1SessionsActiveCount
      x-operation-id-source: derived
components:
  schemas:
    ActiveSessionResponse:
      type: object
      properties:
        sessionId:
          type: string
          description: Gets or sets the session ID (grain primary key).
        gatewayId:
          type: string
          description: Gets or sets the gateway configuration ID.
          format: uuid
        registeredAt:
          type: string
          description: Gets or sets the timestamp when the session was registered.
          format: date-time
        lastActiveAt:
          type: string
          description: Gets or sets the timestamp when the session was last active.
          format: date-time
        durationMinutes:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
          type:
          - number
          - string
          description: Gets or sets the duration of the session in minutes.
          format: double
        totalRequests:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          description: Gets or sets the total number of requests made in this session.
          format: int32
        methodCounts:
          type: object
          additionalProperties:
            pattern: ^-?(?:0|[1-9]\d*)$
            type:
            - integer
            - string
            format: int32
          description: Gets or sets the methods called during this session.
        toolUsage:
          type: object
          additionalProperties:
            pattern: ^-?(?:0|[1-9]\d*)$
            type:
            - integer
            - string
            format: int32
          description: Gets or sets the specific tools/assets used in this session.
        lastUsedTool:
          type:
          - 'null'
          - string
          description: Gets or sets the most recently used tool/asset.
        lastToolUsedAt:
          type:
          - 'null'
          - string
          description: Gets or sets the timestamp of the last tool usage.
          format: date-time
      description: Response model for active session information.
    ProblemDetails:
      type: object
      properties:
        type:
          type:
          - 'null'
          - string
        title:
          type:
          - 'null'
          - string
        status:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - 'null'
          - integer
          - string
          format: int32
        detail:
          type:
          - 'null'
          - string
        instance:
          type:
          - 'null'
          - string