Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
prd
/
refine
Refine PRD
curl --request POST \
  --url https://api.example.com/v1/projects/{projectId}/prd/refine
projectId
string
required
Project UUID.
Send feedback on specific sections to refine the PRD. The response streams as Server-Sent Events (SSE) with the updated document.
curl -X POST https://api.getkommit.ai/v1/projects/a1b2c3d4-e5f6-7890-abcd-ef1234567890/prd/refine \
  -H "Authorization: Bearer km_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "message": "Expand the security requirements section to include rate limiting and input validation."
  }'
Refinement messages are saved to the conversation history and inform future refinements.