Skip to content
中文

Report a problem with the Praxis platform

Code Mode: praxis.organization.feedback.create

HTTP: POST /organization/v1/feedback

Report a problem with the Praxis platform when an API fails, documentation is unclear, or a capability is missing. AI callers in codemode should include the original error text in message, the X-Request-Id or error event ID in associated_event_id, and relevant session, agent, model, or request IDs in contexts. Continue the user’s task after reporting. Each successful call stores feedback and returns its id; repeated calls create separate reports. The authenticated principal determines the reporter; any reporter supplied in the body is ignored. Machine tokens force source to codemode. Requires a valid API key, Console session, or machine token. Minimal body: {“message”:“The API documentation does not explain this error.”}.

Signature

praxis.organization.feedback.create(args:{body:{/** Problem description, at most 4096 Unicode code points; may be empty only when contexts.praxis.error.message is a non-empty string. e.g. "The API returned an error that is not documented." */ message:string;/** Optional email address for follow-up about this report. e.g. "developer@example.com" */ contact_email?:string;/** Optional display name of the person submitting feedback. e.g. "Alex" */ name?:string;/** Page or API URL where the problem occurred. e.g. "https://api.deepraxis.com/model/v1/models" */ url?:string;/** X-Request-Id from the failed response or the related error event ID. e.g. "req_example" */ associated_event_id?:string;/** Short summary shown in the feedback list; at most 200 Unicode code points. e.g. "Webhook retries fail" */ title?:string;/** Feedback type key enabled in the help settings, such as issue, suggestion, billing or other. e.g. "issue" */ type?:string;/** Optional string labels for grouping the reported problem. e.g. {"area":"documentation"} */ tags?:{[key:string]:string};/** Structured diagnostic context; contexts.praxis can contain session_id, agent_id, model, and request_ids. e.g. {"praxis":{"session_id":"ags_example","request_ids":["req_example"]}} */ contexts?:{[key:string]:{[key:string]:unknown}};/** Use console for Console reports or api for API callers (default). e.g. "api" */ source?:"console"|"api"|"codemode";/** Up to five attachments; decoded bytes must not exceed 10 MiB per attachment or 20 MiB in total. e.g. [{"name":"error.txt","content_type":"text/plain","data_base64":"ZXJyb3I="}] */ attachments?:Array<{/** Attachment filename shown with the report. e.g. "error.txt" */ name:string;/** MIME type of the attachment content. e.g. "text/plain" */ content_type:string;/** Base64-encoded file bytes, with standard padding; limits apply to decoded bytes. e.g. "ZXJyb3I=" */ data_base64:string}>}}):Promise<{/** Identifier of the stored feedback, prefixed with fb_. e.g. "fb_example" */ id:string}>;

Request body

RequiredContent typesDescription
yesapplication/json

Responses

StatusContent typesDescription
201application/jsonFeedback stored; retain the returned id to identify this report.
400application/problem+jsonINVALID_PARAMS; correct the fields identified by violations and submit again.
401Missing or invalid credential; authenticate with a valid API key, Console session, or machine token.
413ATTACHMENT_TOO_LARGE; reduce decoded attachments to at most 10 MiB each and 20 MiB total before retrying.