Getting started

Create an API key from MCP and API inside the WatchLLM workspace. The full key is shown once and is stored hashed at rest.

First request

curl http://localhost:3003/api/v2/validate \
  -H "X-API-Key: $WATCHLLM_API_KEY"

Organization-wide keys

Organization-wide keys can list and create projects without X-Project-Id.

curl http://localhost:3003/api/v2/projects \
  -H "Authorization: Bearer $WATCHLLM_ORG_KEY"

For monitors, prompts, personas, responses, citations, analytics, and content endpoints, pass X-Project-Id with an organization-wide key.

curl http://localhost:3003/api/v2/prompts \
  -H "Authorization: Bearer $WATCHLLM_ORG_KEY" \
  -H "X-Project-Id: $WATCHLLM_PROJECT_ID"