GET /— returns basic service metadata such as title, version, and base URL
GET /health— health check endpoint used to confirm the service is available
GET /promptorGET /prompts— returns metadata for the prompt table, including row count and columnsPOST /prompt— accepts a prompt payload and returns either cached output or a generated response from Gemini
GET /prospects— returns paginated prospects, with optional filtering and searchGET /prospects/{id}— returns one prospect and any related prompt recordsPATCH /prospects/{id}— updates flag and hide statePATCH /prospects/factoryreset— resets prospect flags and hidden state
GET /orders— returns paginated and filterable order data
The queue module exposes routes for creating, reading, deleting, emptying, and altering queue-related data.
GET /notify/email— returns usage information for the email endpointPOST /notify/email— sends an email through Resend
GET /github— returns GitHub-related table dataGET /flickr— returns Flickr-related table dataGET /youtube— returns YouTube-related table data
Most endpoints return a response object shaped like:
{
"meta": {
"status": "success",
"message": "..."
},
"data": {}
}Some routes depend on an API key header:
X-API-Key: your_keyThe key is validated through the shared authentication utility.