cURL
curl --request POST \ --url https://api.projectdiscovery.io/v1/template/ai \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "prompt": "<string>", "retest": true, "disableAutoSave": false, "images": [ "<string>" ] }'
{ "template_id": "<string>", "message": "<string>", "completion": "<string>", "name": "<string>", "canRun": true, "comment": "<string>", "is_valid": true, "retry_count": 123, "feedback": "<string>", "targets": [ "<string>" ], "retest": [ { "target": "<string>", "matched": true, "vuln_id": "<string>" } ] }
Generate a private template with AI Engine
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Example response
The response is of type object.
object
Was this page helpful?