POST
/
v1
/
tests
/
run-scan
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"
  ]
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
application
string
required
probes
string[]

List of probes to run

Example:
["promptinject"]

Response

200
application/json
Successful Response

The response is of type object.