POST
/
v1
/
template
/
ai
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>"
}'
{
  "template_id": "<string>",
  "message": "<string>",
  "completion": "<string>",
  "name": "<string>"
}

Authorizations

X-API-Key
string
header
required

Headers

X-Team-Id
string

Body

application/json
prompt
string
required

Response

200
application/json
Example response
message
string
required
template_id
string
completion
string
name
string