ระบุคำขอที่รายงานเกี่ยวข้องด้วยค่า x-request-id หรือรหัสการเชื่อมต่อของเซสชันสด เพื่อให้ทีมตามรอยในบันทึกของบัญชีได้ หากผลลัพธ์ผิด ให้แนบตัวอย่างที่มีข้อมูลที่ส่งตามจริง ผลลัพธ์ที่ได้รับ และผลลัพธ์ที่คาดไว้
คะแนนที่ระบุรหัสคำขออย่างน้อยหนึ่งรายการถือเป็นรายงานที่ครบ และเป็นวิธีส่งสัญญาณที่เร็วที่สุดหลังตรวจผลลัพธ์ คะแนนใช้วัดคุณภาพและคงสถานะรอดำเนินการ ส่วนรายงานที่มีข้อความหรือตัวอย่างจะได้รับการพิจารณา และ GET /v1/feedback จะคืนสถานะพร้อมข้อความจากทีม
การส่งความคิดเห็นไม่ใช้เครดิตและไม่นับรวมในอัตราจำกัดคำขอ แต่ละบัญชีส่งรายงานที่มีข้อความได้ 50 รายงาน และรายงานที่มีเพียงคะแนนได้ 1,000 รายงานในทุกช่วง 24 ชั่วโมง เมื่อเกินโควตาใดโควตาหนึ่ง คำขอจะตอบ 429 feedback_limit และไม่บันทึกรายงาน รายงานไม่รองรับ Idempotency-Key จึงควรเรียก GET /v1/feedback พร้อม request_id ก่อนส่งซ้ำ
เฮดเดอร์#
authorizationBearer pxa_...จำเป็นAuthorization: Bearer pxa_... (recommended).
x-api-keypxa_...Alternative to the Authorization header. Ignored when Authorization is present.
เนื้อหา#
kind"model" or "api" or "platform" or "other"จำเป็นWhat the report is about. Use model when an output was wrong or poor, api when the API misbehaved, platform for the dashboard, billing, or docs, and other for anything else.
rating"good" or "bad"Your judgment of the output the request ids name. A rating alone is a complete report when request_ids names at least one request.
messagestringWhat happened and what you expected, in plain text or Markdown.
request_idsarray of stringsUp to 20 x-request-id values the report is about, or the connection id of a live session. They link the report to the requests in your logs.
exampleobjectA worked case as text, with the exact input, the output you received, and the output you expected.
ดูฟิลด์ย่อยซ่อนฟิลด์ย่อย
example.inputstringThe input you sent.
example.outputstringThe output you received.
example.expectedstringThe output you expected instead.
การตอบกลับ#
One feedback report.
idstringจำเป็นReport id. Pass it as before to list older reports.
kind"model" or "api" or "platform" or "other"จำเป็นWhat the report is about.
rating"good" or "bad" or nullจำเป็นThe rating sent, or null.
messagestring or nullจำเป็นThe message as stored, or null.
request_idsarray of stringsจำเป็นThe request ids sent, lowercased, deduplicated, and sorted.
exampleobjectจำเป็นThe example as stored; every field is null without one.
ดูฟิลด์ย่อยซ่อนฟิลด์ย่อย
example.inputstring or nullจำเป็นThe example input, or null.
example.outputstring or nullจำเป็นThe example output, or null.
example.expectedstring or nullจำเป็นThe expected output, or null.
source"api" or "app"จำเป็นapi: sent to this endpoint with a key. app: sent from the dashboard.
status"open" or "resolved"จำเป็นA report is open until the team has acted on it, and resolved from then on. A report that carries only a rating feeds quality measures and stays open.
resolutionstring or nullจำเป็นThe team's note on the outcome; null when none was written.
created_atstringจำเป็นCreation time, ISO 8601.
resolved_atstring or nullจำเป็นResolution time, ISO 8601; null while open.