cURL
curl --request POST \ --url https://guard-api.metatext.ai/v1/tests/run-scan \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "application": "<string>", "probes": [ "promptinject" ] } '
{}
Run a test scan for vulnerabilities.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
List of probes to run
Successful Response
The response is of type Response Testing-Run Test Scan · object.
Response Testing-Run Test Scan · object