GET
/
detection
/
{id}
/
aql-questions
Get AQL questions for detection
curl --request GET \
  --url https://api.wirespeed.co/detection/{id}/aql-questions \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "aqlSampleId": "<string>",
    "question": "ESCALATED_CORRECTLY",
    "defectReason": "SHOULD_HAVE_BEEN_ESCALATED",
    "aqlBatchId": "<string>",
    "detectionId": "<string>",
    "reviewedBy": {},
    "defect": true,
    "defectLevel": "NONE",
    "comment": "<string>",
    "userEmail": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Detection identifier

Response

id
string
required

Unique identifier for the AQL question

aqlSampleId
string
required

ID of the AQL sample this question belongs to

question
enum<string>
required

The specific AQL question being asked

Available options:
ESCALATED_CORRECTLY,
CATEGORIZED_CORRECTLY,
DESCRIPTION_CORRECT,
NEXT_STEPS_CORRECT,
TIMELINE_CORRECT
aqlBatchId
string
required

ID of the AQL batch this question belongs to

detectionId
string
required

ID of the detection being reviewed

defect
boolean
required

Whether this sample has a defect

defectReason
enum<string>

Reason for the defect if one exists

Available options:
SHOULD_HAVE_BEEN_ESCALATED,
SHOULD_NOT_HAVE_BEEN_ESCALATED,
INCORRECT_CATEGORY,
INCORRECT_DESCRIPTION,
INCORRECT_TIMELINE,
INCORRECT_NEXT_STEPS
reviewedBy
object

User ID who reviewed this question

defectLevel
enum<string>

Severity level of the defect

Available options:
NONE,
CRITICAL,
MAJOR,
MINOR
comment
string

Additional comments about the inspection

userEmail
string

Email of the user who reviewed this question