curl --request POST \
--url https://api.snowleopard.ai/v1/instances/{instance_id}/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"feedbackText": "The revenue column in the orders table should be labeled 'gross revenue before discounts', not 'net revenue'."
}
EOF{
"ok": true,
"feedbackId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"gateStatus": "raw",
"truncated": true
}{
"__type__": "apiError",
"callId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"responseStatus": "<string>",
"description": "<string>"
}{
"__type__": "apiError",
"callId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"responseStatus": "<string>",
"description": "<string>"
}{
"__type__": "apiError",
"callId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"responseStatus": "<string>",
"description": "<string>"
}{
"__type__": "apiError",
"callId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"responseStatus": "<string>",
"description": "<string>"
}Feedback
Give Snow Leopard feedback in plain text so it can understand your business logic and ontology better for more accurate answers
curl --request POST \
--url https://api.snowleopard.ai/v1/instances/{instance_id}/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"feedbackText": "The revenue column in the orders table should be labeled 'gross revenue before discounts', not 'net revenue'."
}
EOF{
"ok": true,
"feedbackId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"gateStatus": "raw",
"truncated": true
}{
"__type__": "apiError",
"callId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"responseStatus": "<string>",
"description": "<string>"
}{
"__type__": "apiError",
"callId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"responseStatus": "<string>",
"description": "<string>"
}{
"__type__": "apiError",
"callId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"responseStatus": "<string>",
"description": "<string>"
}{
"__type__": "apiError",
"callId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"responseStatus": "<string>",
"description": "<string>"
}from snowleopard import SnowLeopardClient
client = SnowLeopardClient(api_key="{api_key}")
response = client.feedback(
instance_id="{instance_id}",
feedback_text="The revenue column should be labeled 'gross revenue before discounts'."
)
Authorizations
Bearer authentication header of the form Bearer <api_key>. API keys are created per instance in Snow Leopard Cloud.
Path Parameters
Unique identifier for the instance
Body
Plain-text description of the correction. Maximum 2000 characters; longer values are silently truncated and the response will include truncated: true.
"The revenue column in the orders table should be labeled 'gross revenue before discounts', not 'net revenue'."
Response
Feedback accepted and queued for processing. It is processed asynchronously and can take up to 5 minutes to be applied.
Always true for a 202 response.
true Unique identifier for the submitted feedback
Acknowledgment state at submission time. Always 'raw'. Snow Leopard processes feedback asynchronously; there is no polling endpoint to track status changes.
raw Only present when feedbackText exceeded 2000 characters and was silently truncated to fit.