cURL
curl --request POST \ --url https://api.critique-labs.ai/v1/design-api \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "id": 123, "original_prompt": "<string>", "template_prompt": "<string>", "inputs": [ {} ], "output_format": {}, "api_name": "<string>", "stub": "<string>", "nodes": [ { "id": "<string>", "type": "<string>", "name": "<string>", "system_prompt": "<string>", "output_format": {}, "configuration": {} } ], "edges": [ { "id": "<string>", "source": "<string>", "target": "<string>" } ] }'
"<any>"
Your API key for authentication. Get one at https://critique-labs.ai/en/dashboard
Successful Response
The response is of type any.
any