API

Read the source of truth over HTTPS.

Bearer token, JSON at /api/v1, optional signed webhooks. Official modules have in-app UI; community listings do not — you host the process and its interface.

bash
curl -s \
  -H "Authorization: Bearer $PROTOTYPE_TOKEN" \
  "$PROTOTYPE_URL/api/v1/projects"
json
{
  "ok": true,
  "data": [
    {
      "slug": "valkyrie-l2",
      "name": "Valkyrie L2",
      "status": "active"
    }
  ]
}

Start here

Three calls.

  1. 01

    Get a token

    Admin → Integrations → API tokens. Copy ptk_live_… once. Start with projects:read.

    Docs
  2. 02

    Call /api/v1

    GET /me, then /projects, then nested specs and components. Writes stay in the app.

    Docs
  3. 03

    Subscribe (optional)

    HTTPS webhook on spec.published. Verify the HMAC, then fetch whatever changed.

    Docs

Download

Markdown and OpenAPI