Pentest Chat Ask a question about a pentest
POST
/api/pentests/{pentest_id}/chat

Authentication

Bearer Token (BearerAuth)

Path Parameters

pentest_idstringrequired

Pentest identifier (e.g. covert-nova-tracks)


Headers

X-Target-Serverstringrequired

Internal IP and port of the pt-agent instance (e.g. 10.10.0.26:9741)


Request Body

Required

questionstringrequired

Example:

{
  "question": "string"
}

Responses

200
Chat response

Response Fields:

  • answer (string)

  • error (string)

  • pentest_id (string)

  • success (boolean)

Example:

{
  "answer": "string",
  "error": "string",
  "pentest_id": "string",
  "success": true
}