Archal Sessions API

Hosted clone session lifecycle.

Operations 18

GET /api/sessions List environment sessions #
POST /api/sessions Create environments with optional initial state #
GET /api/sessions/{sessionId} Inspect readiness and environment connection URLs #
DELETE /api/sessions/{sessionId} Destroy a session and release its runtime resources #
POST /api/sessions/{sessionId}/renew Extend an active environment session #
POST /api/sessions/{sessionId}/reset Reset every stateful environment in a session #
GET /api/sessions/{sessionId}/environments/{environmentId}/state Inspect environment state #
PUT /api/sessions/{sessionId}/environments/{environmentId}/state Replace environment state and its reset baseline #
POST /api/sessions/{sessionId}/environments/{environmentId}/reset Reset one environment to its baseline #
POST /api/sessions/{sessionId}/environments/{environmentId}/state/diff Compare explicit prior state with current state #
GET /api/sessions/{sessionId}/evidence Get bounded request metadata and retention status #
GET /v1/sessions/{sessionId}/environments/{environmentId}/api/{providerPath} Send a GET request to an environment #
POST /v1/sessions/{sessionId}/environments/{environmentId}/api/{providerPath} Send a POST request to an environment #
PUT /v1/sessions/{sessionId}/environments/{environmentId}/api/{providerPath} Send a PUT request to an environment #
PATCH /v1/sessions/{sessionId}/environments/{environmentId}/api/{providerPath} Send a PATCH request to an environment #
DELETE /v1/sessions/{sessionId}/environments/{environmentId}/api/{providerPath} Send a DELETE request to an environment #
HEAD /v1/sessions/{sessionId}/environments/{environmentId}/api/{providerPath} Send a HEAD request to an environment #
POST /v1/sessions/{sessionId}/environments/{environmentId}/mcp Send a Streamable HTTP MCP request to an environment #

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/archal:archal-sessions-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

archal-sessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Archal Sessions API
  version: 1.0.0
  summary: Stateful testing environments with separate lifecycle and provider-scoped credentials
  description: Use a workspace credential for lifecycle operations. Each created environment returns a short-lived provider-shaped credential for its isolated data plane; the workspace credential is never forwarded to or accepted by provider-compatible endpoints.
servers:
- url: https://api.archal.ai
tags:


# --- truncated at 32 KB (310 KB total) ---
# Full source: https://artifacts.apis.io/archal/openapi/archal-sessions-api-openapi.yml