API Reference
Monitors
A monitor is a configured daily run. Each monitor binds a set of prompts to one or more AI engines in a chosen country and language. While a monitor is active, Pineprompt runs it once per day on your behalf.
Endpoints
-
GET
/api/v1/monitorsList monitorsReturns every monitor belonging to the active project. The response is paginated.
-
POST
/api/v1/monitorsCreate a monitorCreates a new monitor in the active project. Every monitor binds a set of prompts to one or more AI engines, in a chosen country and language.
-
GET
/api/v1/monitors/{monitor}Get a monitorReturns a single monitor. The monitor must belong to the active project.
-
PUT
/api/v1/monitors/{monitor}Update a monitorReplaces every field on a monitor. Since this endpoint uses PUT semantics, every field is required on update.
-
DELETE
/api/v1/monitors/{monitor}Delete a monitorDeletes a monitor. The delete cascades to every prompt the monitor owns.