POST
/
api
/
cmd
/
ACTION5
Execute simple action 5
curl --request POST \
  --url https://three.arcprize.org/api/cmd/ACTION5 \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "game_id": "ls20-016295f7601e",
  "guid": "2fa5332c-2e55-4825-b5c5-df960d504470",
  "reasoning": {
    "policy": "π_left"
  }
}'
{
  "game_id": "ls20-016295f7601e",
  "guid": "2fa5332c-2e55-4825-b5c5-df960d504470",
  "frame": [
    [
      [
        0,
        0,
        1,
        "…"
      ],
      [
        "…"
      ]
    ]
  ],
  "state": "NOT_FINISHED",
  "score": 3,
  "win_score": 254,
  "action_input": {
    "id": 5
  }
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Game/session identifiers plus optional reasoning data.

Issues a one-parameter action (ACTION1 - ACTION5) to a running game instance identified by guid.

Response

200
application/json

Frame returned after executing the action.

Snapshot returned after every RESET or ACTION command.
Includes the latest visual frame(s), cumulative score details, the current game state, and an echo of the triggering action.