Stable Hosts

Runtime config for a tenant host, as JSON

The same object /_run402/config.js assigns, as JSON. Cache-Control: public, max-age=60. Never carries service_key. Not served from api.run402.com.

get/_run402/config.json

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/_run402/config.json
  • Auth: none required

Response

Runtime config for this tenant host.

project_idstring required

Run402 project ID. Public IDs are not UUIDs.

api_basestring uri required
anon_keystring required

The project's public anon key (a JWT). Public by design; the service key is never served here.

mcp_urlstring uri nullable

The URL to give an MCP client (ChatGPT, Claude, Codex) to connect to this app: this host's /_run402/mcp, or on a *.run402.com host the same app's *.run402.app address (sign-in cannot complete on run402.com); null when there is none.

Example response

{
  "project_id": "prj_1741340000_0042",
  "api_base": "https://api.run402.com"
}

Changes

No recorded changes to this operation across all 1 revision of this API.