StakPak Recovery API

The Recovery API from StakPak — 3 operation(s) for recovery.

Operations 3

GET /v1/recovery/sessions/{session_id}/recoveries Get Recoveries #
GET /v1/recovery/sessions/{session_id}/recovery/{recovery_id} Get Recovery By ID #
POST /v1/recovery/sessions/{session_id}/recovery/{recovery_id}/action #

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/stakpak-recovery-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

stakpak-recovery-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stakpak Account Recovery API
  description: API for the Stakpak platform
  license:
    name: ''
  version: 1.0.0
servers:
- url: https://apiv2.stakpak.dev
  description: Production server
- url: http://localhost:4000
  description: Local server
tags:
- name: Recovery
paths:
  /v1/recovery/sessions/{session_id}/recoveries:
    get:
      tags:
      - Recovery
      summary: Get Recoveries
      operationId: get_recoveries_handler
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: status
        in: query
        description: 'Optional status filter: "pending", "approved", "rejected", "applied"'
        required: false
        schema:
          type:
          - string
          - 'null'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRecoveriesResponse'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - Api Key: []
  /v1/recovery/sessions/{session_id}/recovery/{recovery_id}:
    get:
      tags:
      - Recovery
      summary: Get Recovery By ID
      operationId: get_recovery_by_id_handler
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: recovery_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionRecoveryResponse'
        '403':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - Api Key: []
  /v1/recovery/sessions/{session_id}/recovery/{recovery_id}/action:
    post:
      tags:
      - Recovery
      operationId: update_recovery_action_handler
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: recovery_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateRecoveryActionPayload'
        required: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                default: null
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - Api Key: []
components:
  schemas:
    UpdateRecoveryActionPayload:
      type: object
      required:
      - action
      properties:
        action:
          $ref: '#/components/schemas/UserRecoveryAction'
        selected_option_id:
          type:
          - string
          - 'null'
          format: uuid
    UserRecoveryAction:
      type: string
      enum:
      - approve
      - reject
    RecoveryStatus:
      type: string
      enum:
      - PENDING
      - APPROVED
      - REJECTED
      - APPLIED
    ErrorBody:
      type: object
      required:
      - key
      - message
      properties:
        key:
          type: string
        message:
          type: string
    SessionRef:
      type: object
      required:
      - id
      properties:
        id:
          type: string
          format: uuid
    CheckpointRef:
      type: object
      required:
      - id
      properties:
        id:
          type: string
          format: uuid
    SessionRecoveryResponse:
      type: object
      required:
      - id
      - session
      - source_checkpoint
      - recovery_status
      - cooldown_counter
      - recovery_options
      - created_at
      - updated_at
      properties:
        applied_at_checkpoint:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/CheckpointRef'
        cooldown_counter:
          type: integer
          format: int32
        created_at:
          type: string
        id:
          type: string
          format: uuid
        recovery_options: {}
        recovery_status:
          $ref: '#/components/schemas/RecoveryStatus'
        selected_recovery_option:
          type:
          - string
          - 'null'
          format: uuid
        session:
          $ref: '#/components/schemas/SessionRef'
        source_checkpoint:
          $ref: '#/components/schemas/CheckpointRef'
        updated_at:
          type: string
    GetRecoveriesResponse:
      type: object
      properties:
        result:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/SessionRecoveryResponse'
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
  securitySchemes:
    Api_Key:
      type: http
      scheme: bearer
      bearerFormat: JWT
    Token:
      type: http
      scheme: bearer
      bearerFormat: JWT
    cookie:
      type: apiKey
      in: cookie
      name: .idToken