Agent Feedback
Submit a feedback.now report
Reports are stored in the private admin queue and emailed to the Sell Traces contact. Send a UUID Idempotency-Key for safe retries. Read /api/v1/policy before submitting.
POST
/
api
/
v1
/
feedback
Submit a feedback.now report
curl --request POST \
--url https://app.rebates.ai/api/v1/feedback \
--header 'Content-Type: application/json' \
--data '
{
"reporter": {
"agent_vendor": "<string>",
"agent_product": "<string>",
"agent_version": "<string>"
},
"subject": {
"surface": "<string>"
},
"signal": {
"confidence": 0.5
},
"content": {
"title": "<string>",
"summary": "<string>",
"hypothesis": "<string>"
},
"evidence": []
}
'import requests
url = "https://app.rebates.ai/api/v1/feedback"
payload = {
"reporter": {
"agent_vendor": "<string>",
"agent_product": "<string>",
"agent_version": "<string>"
},
"subject": { "surface": "<string>" },
"signal": { "confidence": 0.5 },
"content": {
"title": "<string>",
"summary": "<string>",
"hypothesis": "<string>"
},
"evidence": []
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
reporter: {agent_vendor: '<string>', agent_product: '<string>', agent_version: '<string>'},
subject: {surface: '<string>'},
signal: {confidence: 0.5},
content: {title: '<string>', summary: '<string>', hypothesis: '<string>'},
evidence: []
})
};
fetch('https://app.rebates.ai/api/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://app.rebates.ai/api/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([
'reporter' => [
'agent_vendor' => '<string>',
'agent_product' => '<string>',
'agent_version' => '<string>'
],
'subject' => [
'surface' => '<string>'
],
'signal' => [
'confidence' => 0.5
],
'content' => [
'title' => '<string>',
'summary' => '<string>',
'hypothesis' => '<string>'
],
'evidence' => [
]
]),
CURLOPT_HTTPHEADER => [
"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://app.rebates.ai/api/v1/feedback"
payload := strings.NewReader("{\n \"reporter\": {\n \"agent_vendor\": \"<string>\",\n \"agent_product\": \"<string>\",\n \"agent_version\": \"<string>\"\n },\n \"subject\": {\n \"surface\": \"<string>\"\n },\n \"signal\": {\n \"confidence\": 0.5\n },\n \"content\": {\n \"title\": \"<string>\",\n \"summary\": \"<string>\",\n \"hypothesis\": \"<string>\"\n },\n \"evidence\": []\n}")
req, _ := http.NewRequest("POST", url, payload)
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://app.rebates.ai/api/v1/feedback")
.header("Content-Type", "application/json")
.body("{\n \"reporter\": {\n \"agent_vendor\": \"<string>\",\n \"agent_product\": \"<string>\",\n \"agent_version\": \"<string>\"\n },\n \"subject\": {\n \"surface\": \"<string>\"\n },\n \"signal\": {\n \"confidence\": 0.5\n },\n \"content\": {\n \"title\": \"<string>\",\n \"summary\": \"<string>\",\n \"hypothesis\": \"<string>\"\n },\n \"evidence\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.rebates.ai/api/v1/feedback")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"reporter\": {\n \"agent_vendor\": \"<string>\",\n \"agent_product\": \"<string>\",\n \"agent_version\": \"<string>\"\n },\n \"subject\": {\n \"surface\": \"<string>\"\n },\n \"signal\": {\n \"confidence\": 0.5\n },\n \"content\": {\n \"title\": \"<string>\",\n \"summary\": \"<string>\",\n \"hypothesis\": \"<string>\"\n },\n \"evidence\": []\n}"
response = http.request(request)
puts response.read_body{}{}{
"error": "<string>",
"issues": [
"<unknown>"
]
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{}Headers
UUID string.
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Body
application/json
Sanitized agent report, at most 32 KiB.
Response
Existing report returned; no duplicate notification.
⌘I
Submit a feedback.now report
curl --request POST \
--url https://app.rebates.ai/api/v1/feedback \
--header 'Content-Type: application/json' \
--data '
{
"reporter": {
"agent_vendor": "<string>",
"agent_product": "<string>",
"agent_version": "<string>"
},
"subject": {
"surface": "<string>"
},
"signal": {
"confidence": 0.5
},
"content": {
"title": "<string>",
"summary": "<string>",
"hypothesis": "<string>"
},
"evidence": []
}
'import requests
url = "https://app.rebates.ai/api/v1/feedback"
payload = {
"reporter": {
"agent_vendor": "<string>",
"agent_product": "<string>",
"agent_version": "<string>"
},
"subject": { "surface": "<string>" },
"signal": { "confidence": 0.5 },
"content": {
"title": "<string>",
"summary": "<string>",
"hypothesis": "<string>"
},
"evidence": []
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
reporter: {agent_vendor: '<string>', agent_product: '<string>', agent_version: '<string>'},
subject: {surface: '<string>'},
signal: {confidence: 0.5},
content: {title: '<string>', summary: '<string>', hypothesis: '<string>'},
evidence: []
})
};
fetch('https://app.rebates.ai/api/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://app.rebates.ai/api/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([
'reporter' => [
'agent_vendor' => '<string>',
'agent_product' => '<string>',
'agent_version' => '<string>'
],
'subject' => [
'surface' => '<string>'
],
'signal' => [
'confidence' => 0.5
],
'content' => [
'title' => '<string>',
'summary' => '<string>',
'hypothesis' => '<string>'
],
'evidence' => [
]
]),
CURLOPT_HTTPHEADER => [
"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://app.rebates.ai/api/v1/feedback"
payload := strings.NewReader("{\n \"reporter\": {\n \"agent_vendor\": \"<string>\",\n \"agent_product\": \"<string>\",\n \"agent_version\": \"<string>\"\n },\n \"subject\": {\n \"surface\": \"<string>\"\n },\n \"signal\": {\n \"confidence\": 0.5\n },\n \"content\": {\n \"title\": \"<string>\",\n \"summary\": \"<string>\",\n \"hypothesis\": \"<string>\"\n },\n \"evidence\": []\n}")
req, _ := http.NewRequest("POST", url, payload)
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://app.rebates.ai/api/v1/feedback")
.header("Content-Type", "application/json")
.body("{\n \"reporter\": {\n \"agent_vendor\": \"<string>\",\n \"agent_product\": \"<string>\",\n \"agent_version\": \"<string>\"\n },\n \"subject\": {\n \"surface\": \"<string>\"\n },\n \"signal\": {\n \"confidence\": 0.5\n },\n \"content\": {\n \"title\": \"<string>\",\n \"summary\": \"<string>\",\n \"hypothesis\": \"<string>\"\n },\n \"evidence\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.rebates.ai/api/v1/feedback")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"reporter\": {\n \"agent_vendor\": \"<string>\",\n \"agent_product\": \"<string>\",\n \"agent_version\": \"<string>\"\n },\n \"subject\": {\n \"surface\": \"<string>\"\n },\n \"signal\": {\n \"confidence\": 0.5\n },\n \"content\": {\n \"title\": \"<string>\",\n \"summary\": \"<string>\",\n \"hypothesis\": \"<string>\"\n },\n \"evidence\": []\n}"
response = http.request(request)
puts response.read_body{}{}{
"error": "<string>",
"issues": [
"<unknown>"
]
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{}