GET /api/oast-interactions — List OAST Interactions
Returns paginated OAST interactions. Heavy fields (raw_request, raw_response) are excluded from list responses for performance.
Query parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | int | 50 | Number of interactions to return (max 500) |
offset | int | 0 | Offset for pagination |
scan_id | string | Filter by scan UUID | |
protocol | string | Filter by protocol (e.g. dns, http, smtp) | |
module_id | string | Filter by module ID | |
search | string | Search across target URL, parameter name, unique ID |
Note: The fieldsraw_requestandraw_responseare excluded from list responses. UseGET /api/oast-interactions/:idto access full interaction data.
GET /api/oast-interactions/:id — Get OAST Interaction Detail
Returns a single OAST interaction by its numeric ID, including fullraw_request and raw_response fields.
| Code | Condition |
|---|---|
| 400 | Invalid ID (not a number) |
| 404 | OAST interaction not found |
| 503 | Database unavailable |
DELETE /api/oast-interactions/:id — Delete OAST Interaction
Deletes a single OAST interaction by its numeric ID. Returns404 if the interaction does not exist.
| Code | Condition |
|---|---|
| 400 | Invalid ID (not a number) |
| 404 | OAST interaction not found |
| 503 | Database unavailable |
