Watches
Create watch
Create a new watch for a REST, OpenAPI, or MCP endpoint.
Authorizations
Authorization
requiredstring
Bearer API key (dg_live_…) or use X-DriftGuard-Trial for trial session.
Body
application/json
url
requiredstring
Target URL to monitor — OpenAPI spec, API base, or MCP server.
label
string
Human-readable name shown in console and alerts.
watchType
string
rest, openapi, or mcp. Inferred when omitted.
Responses
201 — watch created. 422 — validation error or plan limit reached.