Skip to content

Record product feedback

POST
/feedback
import { FloraClient } from '@flora-ai/flora';
const client = new FloraClient({ apiKey: process.env['FLORA_API_KEY'] });
const feedback = await client.feedback.record({
kind: 'missing_capability',
summary: 'Need support for Instagram CDN asset URLs',
detail: 'upload-asset rejected an image hosted on scontent-lga3-1.cdninstagram.com.',
});
console.log(feedback);

Records product feedback from the authenticated user. Use kind=missing_capability for blocked public API workflows such as unsupported upload-asset source hosts, and include attempted_tools when relevant. Feedback can be optionally linked to a workspace, project, or run. Mutating public API requests support an optional Idempotency-Key header for client retries; duplicate keys within two hours return idempotency_duplicate.

Error responses use the standard error body.

Media type application/json
object
kind
required

Feedback kind. Use missing_capability for blocked API workflows such as unsupported asset source hosts.

string
Allowed values: feature_request bug technique_request missing_capability
summary
required

Short summary

string
>= 1 characters
detail
required

Detailed description

string
>= 1 characters
attempted_tools

Tools or capabilities attempted before submitting feedback

Array<string>
workspace_id

Workspace identifier. Use the public API ID returned by list workspaces; it must start with ws_.

string
project_id

Project identifier. Use the public API ID returned by list projects; it must start with prj_.

string
run_id

Run identifier. It must start with run_.

string

Feedback recorded.

Media type application/json
object
feedback_id
required

Feedback identifier

string
/^fb_\S+$/
received_at
required
integer
Example
{
"feedback_id": "fb_abc123"
}