curl --request POST \
--url https://three.arcprize.org/api/scorecard/close \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"card_id": "8bb3b1b8-4b46-4a29-a13b-ad7850a0f916"
}
'import requests
url = "https://three.arcprize.org/api/scorecard/close"
payload = { "card_id": "8bb3b1b8-4b46-4a29-a13b-ad7850a0f916" }
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({card_id: '8bb3b1b8-4b46-4a29-a13b-ad7850a0f916'})
};
fetch('https://three.arcprize.org/api/scorecard/close', 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/scorecard/close",
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([
'card_id' => '8bb3b1b8-4b46-4a29-a13b-ad7850a0f916'
]),
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/scorecard/close"
payload := strings.NewReader("{\n \"card_id\": \"8bb3b1b8-4b46-4a29-a13b-ad7850a0f916\"\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/scorecard/close")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"card_id\": \"8bb3b1b8-4b46-4a29-a13b-ad7850a0f916\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://three.arcprize.org/api/scorecard/close")
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 \"card_id\": \"8bb3b1b8-4b46-4a29-a13b-ad7850a0f916\"\n}"
response = http.request(request)
puts response.read_body{
"card_id": "8ae52f21-b40c-457b-9f4e-65bd8381e67f",
"score": 100,
"source_url": "https://sandbox.internal.arc-prize.com",
"tags": [
"human"
],
"user_name": "distracted_poincare",
"user_id": "102214435702678430912@google",
"published_at": "2026-01-26T23:34:57.097896Z",
"environments": [
{
"id": "am92-80effacb",
"runs": [
{
"id": "am92-80effacb",
"guid": "4a38a278-796b-4f42-a28b-a27a68dbf862",
"score": 100,
"levels_completed": 5,
"actions": 136,
"resets": 0,
"state": "WIN",
"completed": true,
"level_scores": [
100,
100,
100,
100,
100
],
"level_actions": [
12,
34,
41,
26,
23
],
"level_baseline_actions": [
20,
40,
50,
55,
60
],
"number_of_levels": 0,
"number_of_environments": 0
}
],
"score": 100,
"actions": 136,
"levels_completed": 5,
"completed": true,
"level_count": 5,
"resets": 0
}
],
"tags_scores": [
{
"id": "change9",
"guid": "d3a0a4d8-536c-479d-b5a8-10bf1dc8aee3",
"score": 100,
"levels_completed": 5,
"actions": 136,
"resets": 0,
"state": "NOT_FINISHED",
"completed": false,
"number_of_levels": 5,
"number_of_environments": 1
},
{
"id": "example",
"guid": "66fe6b58-adf8-45b1-ac73-70ed486e22d0",
"score": 100,
"levels_completed": 5,
"actions": 136,
"resets": 0,
"state": "NOT_FINISHED",
"completed": false,
"number_of_levels": 5,
"number_of_environments": 1
}
],
"open_at": "2026-01-26T23:34:18.213873Z",
"last_update": "2026-01-26T23:34:53.229182Z",
"total_environments_completed": 1,
"total_environments": 1,
"total_levels_completed": 5,
"total_levels": 5,
"total_actions": 136
}Close scorecard
Finalises a previously opened scorecard, locking its data and
returning the aggregate results.
After a scorecard is closed, additional RESET or ACTION commands
using its card_id are rejected.
You must supply the card_id obtained from /scorecard/open.
curl --request POST \
--url https://three.arcprize.org/api/scorecard/close \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"card_id": "8bb3b1b8-4b46-4a29-a13b-ad7850a0f916"
}
'import requests
url = "https://three.arcprize.org/api/scorecard/close"
payload = { "card_id": "8bb3b1b8-4b46-4a29-a13b-ad7850a0f916" }
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({card_id: '8bb3b1b8-4b46-4a29-a13b-ad7850a0f916'})
};
fetch('https://three.arcprize.org/api/scorecard/close', 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/scorecard/close",
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([
'card_id' => '8bb3b1b8-4b46-4a29-a13b-ad7850a0f916'
]),
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/scorecard/close"
payload := strings.NewReader("{\n \"card_id\": \"8bb3b1b8-4b46-4a29-a13b-ad7850a0f916\"\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/scorecard/close")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"card_id\": \"8bb3b1b8-4b46-4a29-a13b-ad7850a0f916\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://three.arcprize.org/api/scorecard/close")
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 \"card_id\": \"8bb3b1b8-4b46-4a29-a13b-ad7850a0f916\"\n}"
response = http.request(request)
puts response.read_body{
"card_id": "8ae52f21-b40c-457b-9f4e-65bd8381e67f",
"score": 100,
"source_url": "https://sandbox.internal.arc-prize.com",
"tags": [
"human"
],
"user_name": "distracted_poincare",
"user_id": "102214435702678430912@google",
"published_at": "2026-01-26T23:34:57.097896Z",
"environments": [
{
"id": "am92-80effacb",
"runs": [
{
"id": "am92-80effacb",
"guid": "4a38a278-796b-4f42-a28b-a27a68dbf862",
"score": 100,
"levels_completed": 5,
"actions": 136,
"resets": 0,
"state": "WIN",
"completed": true,
"level_scores": [
100,
100,
100,
100,
100
],
"level_actions": [
12,
34,
41,
26,
23
],
"level_baseline_actions": [
20,
40,
50,
55,
60
],
"number_of_levels": 0,
"number_of_environments": 0
}
],
"score": 100,
"actions": 136,
"levels_completed": 5,
"completed": true,
"level_count": 5,
"resets": 0
}
],
"tags_scores": [
{
"id": "change9",
"guid": "d3a0a4d8-536c-479d-b5a8-10bf1dc8aee3",
"score": 100,
"levels_completed": 5,
"actions": 136,
"resets": 0,
"state": "NOT_FINISHED",
"completed": false,
"number_of_levels": 5,
"number_of_environments": 1
},
{
"id": "example",
"guid": "66fe6b58-adf8-45b1-ac73-70ed486e22d0",
"score": 100,
"levels_completed": 5,
"actions": 136,
"resets": 0,
"state": "NOT_FINISHED",
"completed": false,
"number_of_levels": 5,
"number_of_environments": 1
}
],
"open_at": "2026-01-26T23:34:18.213873Z",
"last_update": "2026-01-26T23:34:53.229182Z",
"total_environments_completed": 1,
"total_environments": 1,
"total_levels_completed": 5,
"total_levels": 5,
"total_actions": 136
}Body
Identifier of the scorecard to close.
Response
scorecard closed; final aggregate results returned.
Aggregate results for an entire scorecard run.
Returned when closing a scorecard or when retrieving a scorecard (open or closed).
Includes cumulative totals, optional metadata echoed from the open request
(e.g. source_url, tags, opaque), user identity (user_name, user_id),
timestamps (open_at, last_update, published_at), and a per-environment
breakdown in environments. The tags_scores array provides per-tag aggregates
for runs that were tagged.
Was this page helpful?

