cURL
curl --request GET \ --url https://api.enkryptai.com/redteam/get-task \ --header 'apikey: <api-key>'
{ "data": { "created_at": "2024-12-04T06:56:51.451307+00:00", "task_id": "red-team-6c3babbe-3bc4-4553-a0b7-454df720579f", "test_name": "Test 2", "status": "Queued", "model_name": "Mistral-7B-Instruct-v0.1" } }
The Redteam task ID
"red-team-94f40d84-5b4e-4e97-a793-48357b71490a"
The test name
"Test 1"
Successful Response
The response is of type object.
object