Rawi

API reference · Scans & reports

List scans

get/runs
AuthenticationCustomer token (Bearer)
AccessFree user · Pro user

Customer token (Bearer) — free and paid users

All runs of the brand, newest first.

Responses

200 — RunSummary[]

FieldTypeDescription
id*integerUnique ID.
kind*string
status*stringCurrent status.
engines*any[]AI assistants included.
started_at*string | nullWhen it started (ISO 8601).
finished_at*string | nullWhen 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)

FieldType
message*string
codestring
json
{
  "message": "Please sign in to continue; your session has ended or is not valid.",
  "code": "unauthenticated"
}

404 — No brand yet

FieldType
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"

Try it in the console