> ## Documentation Index
> Fetch the complete documentation index at: https://arcpay-somnia.vercel.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Read ArcPay runtime status

> Checks Somnia RPC, deployed contract bytecode, x402 gateway health, Mintlify docs, and latest worker-indexed Supabase record.



## OpenAPI

````yaml /apps/frontend/public/openapi.json get /api/status
openapi: 3.1.0
info:
  title: ArcPay Somnia Developer API
  version: 0.1.2
  summary: >-
    Public developer surface for ArcPay's Somnia x402, workspace evidence, and
    agent integration flows.
  description: >-
    ArcPay Somnia exposes a wallet-first app, a live x402 payment server, an MCP
    server for local agent hosts, and OpenAPI-compatible endpoint docs for
    developers building on Somnia Testnet.
servers:
  - url: https://x402.20.208.46.195.nip.io
    description: Live ArcPay Somnia x402 server
  - url: https://arcpay-somnia.vercel.app
    description: ArcPay Somnia frontend and workspace API
security: []
tags:
  - name: x402
    description: HTTP 402 payment-gated agent work on Somnia.
  - name: Workspace
    description: Workspace authentication and evidence mirror endpoints.
  - name: Beta
    description: Public beta access requests for Somnia builders and operators.
  - name: Discovery
    description: Machine-readable docs and integration discovery.
  - name: Developer Tools
    description: HTTP wrapper around safe ArcPay MCP-style tools.
  - name: MCP
    description: Hosted MCP-style JSON-RPC bridge for agent clients.
  - name: Developer Keys
    description: Workspace-scoped bearer keys for hosted MCP access.
  - name: Admin
    description: Operator-only beta queue management endpoints.
  - name: Status
    description: Runtime health checks for ArcPay Somnia production surfaces.
paths:
  /api/status:
    get:
      tags:
        - Status
      summary: Read ArcPay runtime status
      description: >-
        Checks Somnia RPC, deployed contract bytecode, x402 gateway health,
        Mintlify docs, and latest worker-indexed Supabase record.
      operationId: getRuntimeStatus
      responses:
        '200':
          description: All runtime checks are healthy.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RuntimeStatus'
        '207':
          description: One or more runtime checks are degraded, down, or unknown.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RuntimeStatus'
components:
  schemas:
    RuntimeStatus:
      type: object
      properties:
        ok:
          type: boolean
        generatedAt:
          type: string
          format: date-time
        network:
          type: object
          properties:
            name:
              type: string
            chainId:
              type: integer
            rpcUrl:
              type: string
            explorerUrl:
              type: string
        checks:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              state:
                type: string
                enum:
                  - ok
                  - degraded
                  - down
                  - unknown
              summary:
                type: string
              detail:
                type: string
              checkedAt:
                type: string
                format: date-time

````