List All Tasks
Retrieve a paginated list of all redteam tasks in your account.Query Parameters
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
status | string | No | - | Filter tasks by status. Valid values: Queued , Running , Finished , Failed |
page | integer | No | 1 | Page number (must be >= 1) |
per_page | integer | No | 10 | Number of items per page (must be between 1 and 100) |
Example Request
Example Response
Error Responses
400 Bad Request - Invalid Pagination Parameters
Pagination
The response includes pagination metadata to help you navigate through the results:page
: Current page numberper_page
: Number of items per pagetotal_count
: Total number of items across all pagestotal_pages
: Total number of pageshas_next
: Boolean indicating if thereβs a next pagehas_previous
: Boolean indicating if thereβs a previous page
page
parameter. For example, to get page 2:
Status Filtering
You can filter tasks by their status using thestatus
parameter:
Queued
: Tasks waiting to be processedRunning
: Tasks currently being processedFinished
: Completed tasksFailed
: Tasks that failed to complete
Authorizations
Query Parameters
The status of the task
Available options:
Queued
, Running
, Finished
, Failed
Page number (must be >= 1)
Required range:
x >= 1
Example:
1
Number of items per page (must be between 1 and 100)
Required range:
1 <= x <= 100
Example:
10