Send feedback
Tells Samva what was confusing, broken, or missing in the API.
POST
Tells Samva what was confusing, broken, or missing in the API. Programs and coding agents can call it the moment something goes wrong, naming the operation and resource involved. Samva's team reads every report; the answer is a receipt, not a reply.
apiKeyheader
x-api-key<token>application/json- body
message*stringWhat happened and what you expected, in plain language (at most 4000 characters).
Match
\SLength
length <= 4000category?|nullcontext?|nullFeedbackReceipt
application/json- response
id*FeedbackIdMatch
^fdbk_[0-9a-hjkmnp-tv-z]{16,24}$createdAt*stringimport { createClient } from "samva";
const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });
const result = await samva.feedback.send({
"message": "example"
});Example Response
{
"id": "string",
"createdAt": "string"
}