cURL
curl --request GET \ --url https://api.enkryptai.com/redteam/list-tasks \ --header 'apikey: <api-key>'
{ "tasks": [ { "status": "Finished", "model_name": "Mistral-7B-Instruct-v0.1", "task_id": "red-team-94f40d84-5b4e-4e97-a793-48357b71490a", "test_name": "Test 1" }, { "status": "Queued", "model_name": "Mistral-7B-Instruct-v0.1", "task_id": "red-team-6c3babbe-3bc4-4553-a0b7-454df720579f", "test_name": "Test 2" } ] }
The status of the task
Queued
Running
Finished
Failed
Successful Response
The response is of type object.
object