Rawi

API reference · Settings

Get scan & language settings

get/settings/run
AuthenticationCustomer token (Bearer)
AccessFree user · Pro user

Customer token (Bearer) — free and paid users

Run frequency, panel language, question language, next run and the frequencies the plan allows.

Responses

200 — RunSettings

FieldType
run_frequency*string ("weekly", "monthly")
panel_locale*string ("en", "fa")
question_language*string ("en", "fa")
next_run_at*string | null
allowed_frequencies*any[]
json
{
  "run_frequency": "monthly",
  "panel_locale": "fa",
  "question_language": "fa",
  "next_run_at": "2026-12-25T10:30:00Z",
  "allowed_frequencies": [
    "monthly"
  ]
}

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

curl example

bash
curl -X GET 'http://127.0.0.1:8010/api/settings/run' \
  -H 'Accept: application/json' \
  -H "Authorization: Bearer $RAWI_USER_TOKEN"

Try it in the console