curl --request POST \
--url https://three.arcprize.org/api/cmd/ACTION1 \
--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"
}
}
'import requests
url = "https://three.arcprize.org/api/cmd/ACTION1"
payload = {
"game_id": "ls20-016295f7601e",
"guid": "2fa5332c-2e55-4825-b5c5-df960d504470",
"reasoning": { "policy": "π_left" }
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
game_id: 'ls20-016295f7601e',
guid: '2fa5332c-2e55-4825-b5c5-df960d504470',
reasoning: {policy: 'π_left'}
})
};
fetch('https://three.arcprize.org/api/cmd/ACTION1', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://three.arcprize.org/api/cmd/ACTION1",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'game_id' => 'ls20-016295f7601e',
'guid' => '2fa5332c-2e55-4825-b5c5-df960d504470',
'reasoning' => [
'policy' => 'π_left'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://three.arcprize.org/api/cmd/ACTION1"
payload := strings.NewReader("{\n \"game_id\": \"ls20-016295f7601e\",\n \"guid\": \"2fa5332c-2e55-4825-b5c5-df960d504470\",\n \"reasoning\": {\n \"policy\": \"π_left\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://three.arcprize.org/api/cmd/ACTION1")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"game_id\": \"ls20-016295f7601e\",\n \"guid\": \"2fa5332c-2e55-4825-b5c5-df960d504470\",\n \"reasoning\": {\n \"policy\": \"π_left\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://three.arcprize.org/api/cmd/ACTION1")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"game_id\": \"ls20-016295f7601e\",\n \"guid\": \"2fa5332c-2e55-4825-b5c5-df960d504470\",\n \"reasoning\": {\n \"policy\": \"π_left\"\n }\n}"
response = http.request(request)
puts response.read_body{
"game_id": "ls20-016295f7601e",
"guid": "2fa5332c-2e55-4825-b5c5-df960d504470",
"frame": [
[
[
0,
0,
1,
"…"
],
[
"…"
]
]
],
"state": "NOT_FINISHED",
"levels_completed": 3,
"win_levels": 254,
"action_input": {
"id": 1
},
"available_actions": [
1,
2,
3,
4
]
}Execute simple action 1
Issues ACTION 1 to the specified game session.
This is a single-parameter command (no X/Y coordinates): the exact
in-game effect depends on the title—for example, it might
represent “move up” or “select option A”.
The request must include:
• game_id — which game to act on
• guid — the active session identifier returned from RESET
An optional reasoning JSON blob (≤ 16 KB) can be attached for
audit or research purposes.
A successful call returns the next visual frame(s) and updated score/state.
curl --request POST \
--url https://three.arcprize.org/api/cmd/ACTION1 \
--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"
}
}
'import requests
url = "https://three.arcprize.org/api/cmd/ACTION1"
payload = {
"game_id": "ls20-016295f7601e",
"guid": "2fa5332c-2e55-4825-b5c5-df960d504470",
"reasoning": { "policy": "π_left" }
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
game_id: 'ls20-016295f7601e',
guid: '2fa5332c-2e55-4825-b5c5-df960d504470',
reasoning: {policy: 'π_left'}
})
};
fetch('https://three.arcprize.org/api/cmd/ACTION1', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://three.arcprize.org/api/cmd/ACTION1",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'game_id' => 'ls20-016295f7601e',
'guid' => '2fa5332c-2e55-4825-b5c5-df960d504470',
'reasoning' => [
'policy' => 'π_left'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://three.arcprize.org/api/cmd/ACTION1"
payload := strings.NewReader("{\n \"game_id\": \"ls20-016295f7601e\",\n \"guid\": \"2fa5332c-2e55-4825-b5c5-df960d504470\",\n \"reasoning\": {\n \"policy\": \"π_left\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://three.arcprize.org/api/cmd/ACTION1")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"game_id\": \"ls20-016295f7601e\",\n \"guid\": \"2fa5332c-2e55-4825-b5c5-df960d504470\",\n \"reasoning\": {\n \"policy\": \"π_left\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://three.arcprize.org/api/cmd/ACTION1")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"game_id\": \"ls20-016295f7601e\",\n \"guid\": \"2fa5332c-2e55-4825-b5c5-df960d504470\",\n \"reasoning\": {\n \"policy\": \"π_left\"\n }\n}"
response = http.request(request)
puts response.read_body{
"game_id": "ls20-016295f7601e",
"guid": "2fa5332c-2e55-4825-b5c5-df960d504470",
"frame": [
[
[
0,
0,
1,
"…"
],
[
"…"
]
]
],
"state": "NOT_FINISHED",
"levels_completed": 3,
"win_levels": 254,
"action_input": {
"id": 1
},
"available_actions": [
1,
2,
3,
4
]
}Body
Game/session identifiers plus optional reasoning data.
Issues a one-parameter action (ACTION1 - ACTION5 or ACTION7) to a running
game instance identified by guid.
Important: Include any cookies (especially AWSALB* cookies) received from previous RESET or ACTION responses to ensure session affinity.
Response
Frame returned after executing the action.
Snapshot returned after every RESET or ACTION command.
Includes the latest visual frame(s), cumulative progress, the
current game state, and an echo of the triggering action.
Was this page helpful?

