Skip to main content
POST
/
api
/
v1
/
tasks
/
run
Start Task
curl --request POST \
  --url https://api.mindfort.app/api/v1/tasks/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "target_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

API key generated from the MindFort dashboard. Pass as Authorization: Bearer <your-api-key>.

Body

application/json
message
string
required

Natural-language instruction describing the security task to perform

target_id
string<uuid>
required

UUID of the target to run the task against

target_credential_id
string<uuid>

UUID of stored credentials to use for authenticated testing

task_model
enum<string>
default:MF1_FAST

Model to use for the task. MF1_FAST is optimized for speed, MF1_SMART for depth.

Available options:
MF1_FAST,
MF1_SMART

Response

Task started successfully

task_id
string<uuid>

UUID of the created task

status
string

Current status of the task