This endpoint targets a single monitor by itsDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/LENINMORENO13/OpsMind/llms.txt
Use this file to discover all available pages before exploring further.
name field and executes a real-time HTTP probe against the monitor’s registered URL. The name lookup is performed with Prisma’s mode: "insensitive" option, so the match is always case-insensitive. Once the monitor is located, checker.js fires an HTTP GET with a 5-second timeout and analyzer.js derives the operational state and trend by comparing the fresh probe against the most recent existing log entry. The outcome is written to the Log table via prisma.log.create, and the resulting saved record — the Log row — is returned directly to the caller.
Endpoint
A valid JWT issued by the
Format:
/api/v1/auth/login endpoint.Format:
Bearer <token>Path Parameters
The
name value assigned to the monitor at creation time. The lookup uses a case-insensitive match, so "myservice", "MyService", and "MYSERVICE" all resolve to the same monitor. Returns 404 if no monitor with that name exists.Request
This endpoint takes no query parameters or request body.Example
Response
200 — Success
Returns a JSON object with asuccess flag and a data object containing the persisted Log record created by this health check run.
Always
true on a successful response.The
Log record written to the database during this health check. Fields match the Log model in schema.prisma.Sample Response
Error Responses
404 — Site Not Monitored
Returned when no monitor with the givenname exists in the database.
401 — Unauthorized
Returned when theAuthorization header is missing, malformed, or contains an expired or invalid JWT.