Send feedback
Tells Samva what was confusing, broken, or missing in the API.
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.
apiKeyx-api-key<token>application/json- body
message*stringWhat happened and what you expected, in plain language (at most 4000 characters).
\Slength <= 4000category?|nullcontext?|nullFeedbackReceipt
application/json- response
id*FeedbackId^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"});{ "id": "string", "createdAt": "string"}Related documentation
Retry an asynchronous operation
Retries a failed operation in place when its error is retryable. Retrying an organization deletion additionally requires `organization:delete`.
Get the calling credential
Returns the organization the request acts in and the credential it presents: an API key with its name, prefix, and access, or a signed-in user with their role.