cURL
curl --request POST \ --url https://api.peec.ai/customer/v1/prompts/suggestions/{prompt_suggestion_id}/accept \ --header 'X-API-Key: <api-key>'
{ "id": "pr_93f790de-5b7a-45ee-b782-61103c81f20d" }
Accept a prompt suggestion by ID, creating a new prompt from it
Prompt suggestion accepted and prompt created
"pr_93f790de-5b7a-45ee-b782-61103c81f20d"