const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
request_id: '3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91',
category: 'bug',
note: 'Markdown drops the plan comparison table; expected all 4 rows.',
url: 'https://stripe.com/pricing'
})
};
fetch('https://api.context.dev/v1/feedback', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.context.dev/v1/feedback"
payload = {
"request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91",
"category": "bug",
"note": "Markdown drops the plan comparison table; expected all 4 rows.",
"url": "https://stripe.com/pricing"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)require 'uri'
require 'net/http'
url = URI("https://api.context.dev/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 \"request_id\": \"3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91\",\n \"category\": \"bug\",\n \"note\": \"Markdown drops the plan comparison table; expected all 4 rows.\",\n \"url\": \"https://stripe.com/pricing\"\n}"
response = http.request(request)
puts response.read_bodypackage main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.context.dev/v1/feedback"
payload := strings.NewReader("{\n \"request_id\": \"3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91\",\n \"category\": \"bug\",\n \"note\": \"Markdown drops the plan comparison table; expected all 4 rows.\",\n \"url\": \"https://stripe.com/pricing\"\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))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.context.dev/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([
'request_id' => '3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91',
'category' => 'bug',
'note' => 'Markdown drops the plan comparison table; expected all 4 rows.',
'url' => 'https://stripe.com/pricing'
]),
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;
}curl --request POST \
--url https://api.context.dev/v1/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91",
"category": "bug",
"note": "Markdown drops the plan comparison table; expected all 4 rows.",
"url": "https://stripe.com/pricing"
}
'{
"feedback_id": "fb_8f14e45fceea167a5a36dedd4bea2543",
"already_submitted": true,
"key_metadata": {
"credits_consumed": 0,
"credits_remaining": 9500
},
"request_id": "b9bec613-44ed-4ee5-9d5b-3a87da5f8efe"
}{
"feedback_id": "fb_8f14e45fceea167a5a36dedd4bea2543",
"already_submitted": false,
"key_metadata": {
"credits_consumed": 0,
"credits_remaining": 9500
},
"request_id": "b9bec613-44ed-4ee5-9d5b-3a87da5f8efe"
}{
"request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91",
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"required_permission": "logs:read",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91",
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"required_permission": "logs:read",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91",
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"required_permission": "logs:read",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91",
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"required_permission": "logs:read",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}Submit agent feedback
Report an API issue or documentation mismatch, including request IDs when available.
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
request_id: '3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91',
category: 'bug',
note: 'Markdown drops the plan comparison table; expected all 4 rows.',
url: 'https://stripe.com/pricing'
})
};
fetch('https://api.context.dev/v1/feedback', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.context.dev/v1/feedback"
payload = {
"request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91",
"category": "bug",
"note": "Markdown drops the plan comparison table; expected all 4 rows.",
"url": "https://stripe.com/pricing"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)require 'uri'
require 'net/http'
url = URI("https://api.context.dev/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 \"request_id\": \"3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91\",\n \"category\": \"bug\",\n \"note\": \"Markdown drops the plan comparison table; expected all 4 rows.\",\n \"url\": \"https://stripe.com/pricing\"\n}"
response = http.request(request)
puts response.read_bodypackage main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.context.dev/v1/feedback"
payload := strings.NewReader("{\n \"request_id\": \"3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91\",\n \"category\": \"bug\",\n \"note\": \"Markdown drops the plan comparison table; expected all 4 rows.\",\n \"url\": \"https://stripe.com/pricing\"\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))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.context.dev/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([
'request_id' => '3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91',
'category' => 'bug',
'note' => 'Markdown drops the plan comparison table; expected all 4 rows.',
'url' => 'https://stripe.com/pricing'
]),
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;
}curl --request POST \
--url https://api.context.dev/v1/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91",
"category": "bug",
"note": "Markdown drops the plan comparison table; expected all 4 rows.",
"url": "https://stripe.com/pricing"
}
'{
"feedback_id": "fb_8f14e45fceea167a5a36dedd4bea2543",
"already_submitted": true,
"key_metadata": {
"credits_consumed": 0,
"credits_remaining": 9500
},
"request_id": "b9bec613-44ed-4ee5-9d5b-3a87da5f8efe"
}{
"feedback_id": "fb_8f14e45fceea167a5a36dedd4bea2543",
"already_submitted": false,
"key_metadata": {
"credits_consumed": 0,
"credits_remaining": 9500
},
"request_id": "b9bec613-44ed-4ee5-9d5b-3a87da5f8efe"
}{
"request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91",
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"required_permission": "logs:read",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91",
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"required_permission": "logs:read",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91",
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"required_permission": "logs:read",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"request_id": "3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91",
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"required_permission": "logs:read",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}Authorizations
Send Authorization: Bearer <API_KEY>. Keys have full access unless restricted to scopes.
Body
Kind of issue.
bug, docs_mismatch, friction, feature_gap, quality_degradation, other What went wrong and what you expected instead.
1 - 4000"Markdown drops the plan comparison table; expected all 4 rows."
The request_id of the API call the feedback is about, from its response body or X-Request-Id header.
"3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91"
The page the feedback is about, such as one page of a crawl or a docs page.
2048"https://stripe.com/pricing"
Labels for filtering usage in the dashboard.
201 - 50["production", "team-alpha"]
Response
Feedback for this request_id was already recorded
ID of the stored feedback.
"fb_8f14e45fceea167a5a36dedd4bea2543"
True when feedback for this request_id was already recorded; the original feedback_id is returned.
Unique ID of this request, also in X-Request-Id. Include it when contacting support.
"3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91"
Credits this request used and your remaining balance.
Show child attributes
Show child attributes
Was this page helpful?