API reference · Scans & reports
List scans
get
/runs| Authentication | Customer token (Bearer) |
|---|---|
| Access | Free user · Pro user Customer token (Bearer) — free and paid users |
All runs of the brand, newest first.
Responses
200 — RunSummary[]
| Field | Type | Description |
|---|---|---|
id* | integer | Unique ID. |
kind* | string | |
status* | string | Current status. |
engines* | any[] | AI assistants included. |
started_at* | string | null | When it started (ISO 8601). |
finished_at* | string | null | When it finished (ISO 8601). |
done* | integer | |
total* | integer |
json
[
{
"id": 38,
"kind": "scheduled",
"status": "complete",
"engines": [
"chatgpt"
],
"started_at": "2026-11-25T10:16:00Z",
"finished_at": "2026-11-25T10:30:00Z",
"done": 10,
"total": 10
},
{
"id": 37,
"kind": "scheduled",
"status": "complete",
"engines": [
"chatgpt"
],
"started_at": "2026-10-25T10:16:00Z",
"finished_at": "2026-10-25T10:30:00Z",
"done": 10,
"total": 10
}
]
401 — Missing/invalid token, or a token of the wrong owner (admin token on a user route or vice versa): {"message":"…","code":"unauthenticated"} (message in the request language)
| Field | Type |
|---|---|
message* | string |
code | string |
json
{
"message": "Please sign in to continue; your session has ended or is not valid.",
"code": "unauthenticated"
}
404 — No brand yet
| Field | Type |
|---|---|
message* | string |
json
{
"message": ""
}
curl example
bash
curl -X GET 'http://127.0.0.1:8010/api/runs' \
-H 'Accept: application/json' \
-H "Authorization: Bearer $RAWI_USER_TOKEN"