cURL
curl --request POST \ --url https://api.clarityq.ai/api/v1/products/{product_id}/ask \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "prompt": "<string>" } '
{ "status": "IN_PROGRESS", "message": "<string>", "conversation_id": "<string>" }
Submit a natural-language question to the ClarityQ agent. The request is processed asynchronously; use the returned conversation_id to poll for results.
API key obtained from the ClarityQ dashboard.
Question to send to the ClarityQ agent.
Successful Response
Current status of the request.
IN_PROGRESS
COMPLETED
ERROR
Human-readable status message.
Conversation ID for tracking the request.