SaintDB

Documentation

API Reference

GET/api/saints

Paginated browse with optional filters.

Query Parameters

ParamTypeDescription
limitintegerRecords per page (max 200)(default: 20)
offsetintegerPagination offset(default: 0)
letterstringFilter by starting letter (A–Z)
tagstringFilter by category tag (repeatable)
GET/api/search

Full-text search with trigram fallback for typo tolerance.

Query Parameters

ParamTypeDescription
q*stringSearch query
limitintegerResults per page(default: 20)
offsetintegerPagination offset(default: 0)
GET/api/saints/{id}

Retrieve a single saint record by integer ID.

PATCH/api/saints/{id}

Update a single field on a saint record.

Request Body

ParamTypeDescription
field*stringField name to update
valueanyNew value for the field
reasonstringOptional audit note
POST/api/jobs/enqueue

Enqueue background jobs for one or more saint records.

Request Body

ParamTypeDescription
job_type*stringJob type identifier
saint_idsinteger[]Specific saint IDs to target (omit to enqueue all)
GET/api/jobs/stats

Return counts of pending, running, and completed jobs.

Query Parameters

ParamTypeDescription
job_typestringFilter stats to a specific job type
GET/api/health

Lightweight health check. Returns `{ "status": "ok" }`.