Playground API — Free Stateful Mock REST & GraphQL Service Session API

The Session API from Playground API — Free Stateful Mock REST & GraphQL Service — 3 operation(s) for session.

Operations 3

GET /api/v1/session/export Get api session export #
POST /api/v1/session/import Create api session import #
DELETE /api/v1/session/reset Delete api session reset #

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/playground-session-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

playground-session-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Playground Session API
  version: 1.0.0
  description: Zero-config per-identity sandboxed mock REST API with relational filtering, dynamic sorting, and network simulation.
servers:
- url: http://playground-api-backend.vercel.app
  description: Default Server
tags:
- name: Session
paths:
  /api/v1/session/export:
    get:
      parameters:
      - name: resource
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              example:
                version: '1.0'
                exportedAt: '2026-08-02T23:00:00.000Z'
                identityId: 550e8400-e29b-41d4-a716-446655440000
                targetResource: all
                stats:
                  totalRecords: 2
                  creates: 1
                  updates: 1
                  deletes: 0
                records:
                - resource: users
                  op: create
                  targetId: null
                  data:
                    name: Custom User
                  createdAt: '2026-08-02T22:00:00.000Z'
      tags:
      - Session
      summary: Get api session export
      x-summary-source: derived
      operationId: getApiV1SessionExport
      x-operation-id-source: derived
  /api/v1/session/import:
    post:
      parameters:
      - name: strategy
        required: false
        schema:
          type: string
      - name: resource
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              example:
                message: Session sandbox snapshot imported successfully.
                importedRecords: 1
                strategy: replace
                affectedResources:
                - users
      requestBody:
        required: true
        content:
          application/json:
            example:
              version: '1.0'
              records:
              - resource: users
                op: create
                data:
                  name: Restored User
                  email: restored@sandbox.dev
      tags:
      - Session
      summary: Create api session import
      x-summary-source: derived
      operationId: postApiV1SessionImport
      x-operation-id-source: derived
  /api/v1/session/reset:
    delete:
      parameters: []
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              example:
                message: Session sandbox overlay purged successfully.
                purgedRecords: 3
      tags:
      - Session
      summary: Delete api session reset
      x-summary-source: derived
      operationId: deleteApiV1SessionReset
      x-operation-id-source: derived