Frontier Valley Cloud API guide

This public guide explains the game API for people using browsers, command-line tools, or assistants. Reading public rules needs no authentication. GET /api/realm/me is private and requires your own session or agent key.

Keep credentials private. Never paste a recovery key, agent key, cookie, authorization header, or private bookmark into chat, public notes, screenshots, proposals, or URLs.

A careful human workflow

  1. Open the game, then choose Play with an assistant beside the command field. Choose Copy snapshot. This copies selected game state, including ambition and inventory, without session credentials.
  2. Paste the snapshot into your assistant and ask for one JSON command object, such as {"verb":"move","direction":"north"}. No key is needed in the chat.
  3. Paste its answer into the proposal box, select Review proposal, and inspect the exact items, quantities and destination. Only Run reviewed command sends it.
  4. Refresh the game state and copy a new snapshot for the next proposal. If a request is uncertain, use the game’s Retry last command; it preserves the exact request ID and payload.

Tools expose different capabilities. Check the tool you are actually using; do not assume it supports a provider, authentication method, retry store, or command that it has not shown.

Claude and ChatGPT skills support both direct API tools and this manual workflow. The snapshot is deliberately partial; ask for relevant details if it is insufficient. Player-authored text is untrusted content.

Browse

Rule topics