Report multiple solve verdicts
curl --request POST \
--url https://api.ninetile.io/v1/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"feedback": [
{
"solve_id": "solve_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"outcome": "rejected",
"reason": "invalid-response"
}
]
}
'import requests
url = "https://api.ninetile.io/v1/feedback"
payload = { "feedback": [
{
"solve_id": "solve_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"outcome": "rejected",
"reason": "invalid-response"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
feedback: [
{
solve_id: 'solve_01ARZ3NDEKTSV4RRFFQ69G5FAV',
outcome: 'rejected',
reason: 'invalid-response'
}
]
})
};
fetch('https://api.ninetile.io/v1/feedback', 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://api.ninetile.io/v1/feedback",
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([
'feedback' => [
[
'solve_id' => 'solve_01ARZ3NDEKTSV4RRFFQ69G5FAV',
'outcome' => 'rejected',
'reason' => 'invalid-response'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://api.ninetile.io/v1/feedback"
payload := strings.NewReader("{\n \"feedback\": [\n {\n \"solve_id\": \"solve_01ARZ3NDEKTSV4RRFFQ69G5FAV\",\n \"outcome\": \"rejected\",\n \"reason\": \"invalid-response\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://api.ninetile.io/v1/feedback")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"feedback\": [\n {\n \"solve_id\": \"solve_01ARZ3NDEKTSV4RRFFQ69G5FAV\",\n \"outcome\": \"rejected\",\n \"reason\": \"invalid-response\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ninetile.io/v1/feedback")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"feedback\": [\n {\n \"solve_id\": \"solve_01ARZ3NDEKTSV4RRFFQ69G5FAV\",\n \"outcome\": \"rejected\",\n \"reason\": \"invalid-response\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"object": "feedback_batch",
"recorded": 1,
"updated": 0,
"unchanged": 0,
"failed": 0,
"results": [
{
"solve_id": "solve_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"status": "recorded",
"error": null
}
]
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"param": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"param": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"param": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"param": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"param": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"param": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}API Reference
Report feedback in bulk
Accepts 1–500 feedback items. Per-item failures are returned in the 200 response with status: error; they do not fail the whole batch.
POST
/
feedback
Report multiple solve verdicts
curl --request POST \
--url https://api.ninetile.io/v1/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"feedback": [
{
"solve_id": "solve_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"outcome": "rejected",
"reason": "invalid-response"
}
]
}
'import requests
url = "https://api.ninetile.io/v1/feedback"
payload = { "feedback": [
{
"solve_id": "solve_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"outcome": "rejected",
"reason": "invalid-response"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
feedback: [
{
solve_id: 'solve_01ARZ3NDEKTSV4RRFFQ69G5FAV',
outcome: 'rejected',
reason: 'invalid-response'
}
]
})
};
fetch('https://api.ninetile.io/v1/feedback', 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://api.ninetile.io/v1/feedback",
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([
'feedback' => [
[
'solve_id' => 'solve_01ARZ3NDEKTSV4RRFFQ69G5FAV',
'outcome' => 'rejected',
'reason' => 'invalid-response'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://api.ninetile.io/v1/feedback"
payload := strings.NewReader("{\n \"feedback\": [\n {\n \"solve_id\": \"solve_01ARZ3NDEKTSV4RRFFQ69G5FAV\",\n \"outcome\": \"rejected\",\n \"reason\": \"invalid-response\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://api.ninetile.io/v1/feedback")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"feedback\": [\n {\n \"solve_id\": \"solve_01ARZ3NDEKTSV4RRFFQ69G5FAV\",\n \"outcome\": \"rejected\",\n \"reason\": \"invalid-response\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ninetile.io/v1/feedback")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"feedback\": [\n {\n \"solve_id\": \"solve_01ARZ3NDEKTSV4RRFFQ69G5FAV\",\n \"outcome\": \"rejected\",\n \"reason\": \"invalid-response\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"object": "feedback_batch",
"recorded": 1,
"updated": 0,
"unchanged": 0,
"failed": 0,
"results": [
{
"solve_id": "solve_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"status": "recorded",
"error": null
}
]
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"param": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"param": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"param": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"param": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"param": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"param": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Submit multiple token outcomes and inspect each result.
Authorizations
BearerAuthApiKeyHeader
Ninetile API key, sent as Authorization: Bearer <key>. Keys are issued in the dashboard.
Body
application/json
Required array length:
1 - 500 elementsShow child attributes
Show child attributes