Developers · API v1.0.0

RegWatch API for AI agents

Looking up what changed in California employment law is free and needs no credential. The weekly briefing, deadline tracking and alerts read one company's own data and need a connected RegWatch account.

RegWatch checks California state agency and legislative sources every day, has a person verify each change against the official source, and publishes it in plain English with a citation. The free endpoints answer questions about that public archive. The account endpoints answer questions about one subscriber's own obligations.

For agents: start here

  1. Read the capabilities manifest at GET https://regwatch.us/api/connector/v1/capabilities. It says what RegWatch can answer and, just as important, when not to call it.
  2. Load the tool definitions from the OpenAPI document at GET https://regwatch.us/api/connector/v1/openapi.json.
  3. Answer questions about California employment-law changes with the free endpoints. They need no key.
  4. Relay answer (or answer_short), keep the official source link, and pass on the disclaimer.
  5. For the user’s own briefing, deadlines or alerts, ask them to connect their account at regwatch.us/account/connections and paste the key back to you. Never present the free statewide data as their obligations.
  6. When a response includes agent_guidance, follow it.

Quick start

A free question, no key:

curl "https://regwatch.us/api/connector/v1/whats-changed?since=90d&agency=Cal/OSHA&limit=5"

An account question, with a connector key:

curl "https://regwatch.us/api/connector/v1/my-deadlines" \
  -H "Authorization: Bearer rw_ck_…"

When to use it, and when not to

Call RegWatch when:

  • The user asks whether anything has changed in California employment or HR law, recently or since a particular date.
  • The user asks about a specific California wage, leave, scheduling or workplace-safety rule and wants its current state and source.
  • The user asks what California compliance deadlines are coming up, or what they need to post, file or update.
  • The user asks which California agencies or sources RegWatch watches, or how current its archive is.
  • The user already has a RegWatch subscription and asks for their briefing, their deadlines or their alerts.

Don’t call RegWatch when:

  • The user wants legal advice, or an answer to 'am I compliant?' / 'what should I do?'. RegWatch reports what changed and cites the source; it does not advise, and it cannot see the user's facts.
  • The question is about a state other than California, or about federal law. Coverage is California only — there is no partial or approximate answer to give from this data.
  • The question is about case law, a court ruling, or how a judge has interpreted a rule. RegWatch monitors agency and legislative sources, not courts, so silence here does not mean nothing happened.
  • The user wants something filed, submitted, or acted on for them. Every endpoint is read-only.
  • The user is asking about their own company's specific obligations and has no connected RegWatch account. Do not assemble an answer from the free statewide endpoints and present it as their obligations.

Free endpoints

Anyone can call these, with no key. They answer from RegWatch’s public archive of verified changes.

GET/api/connector/v1/whats-changedFree, no key

Verified California employment-law changes in a window, optionally filtered by agency, topic, keyword or whether action is required.

ParameterTypeWhat it does
sincestringHow far back to look: a preset window (7d, 14d, 30d, 90d, 180d, 365d), 'all' for the full archive, or a YYYY-MM-DD date. Defaults to 30d.
agencystringRestrict to one agency, named as RegWatch names it (for example 'Cal/OSHA' or 'Labor Commissioner'). Omit to search every agency.
topicstringRestrict to one subject area, for example 'wages', 'leave' or 'safety'. Omit to search every topic.
action_requiredtrue | false | anyRestrict to changes that do ('true') or do not ('false') require an employer to act. Defaults to 'any'.
qstringKeyword to match against headlines and summaries, 2 to 120 characters. Omit for no keyword filter.
limitinteger, 1 to 25How many changes to return, 1 to 25. Defaults to 5, which is about as many as an agent can usefully read aloud.

Questions it answers: Has anything changed in California employment law in the last month? Any new Cal/OSHA requirements this quarter? What California wage rules changed since June 1st?

GET/api/connector/v1/explain-changeFree, no key

The full plain-English explanation of one published change, with its official source citation.

ParameterTypeWhat it does
slugrequiredstringThe identifier of the change, copied exactly from the 'slug' field of a whats-changed or changes result. No example is given here on purpose: a hardcoded slug would rot the first time that change was unpublished.

Questions it answers: Tell me more about that pay data reporting change. What exactly does that new sick leave rule require?

GET/api/connector/v1/coverageFree, no key

What RegWatch monitors, how many source checks run, and how current the archive is.

Questions it answers: What sources does RegWatch actually watch? How up to date is this California compliance data?

GET/api/connector/v1/changesFree, no key

REST-shaped alias of whats-changed, for clients that expect a plain collection endpoint rather than a question-answering one.

ParameterTypeWhat it does
sincestringHow far back to look: a preset window (7d, 14d, 30d, 90d, 180d, 365d), 'all' for the full archive, or a YYYY-MM-DD date. Defaults to 'all', because a REST list endpoint is expected to return the collection rather than a recent slice.
agencystringRestrict to one agency, named as RegWatch names it (for example 'Cal/OSHA'). Omit for every agency.
topicstringRestrict to one subject area, for example 'wages' or 'safety'. Omit for every topic.
limitinteger, 1 to 25How many changes to return, 1 to 25. Defaults to 20.

Questions it answers: List recent California employment law changes. Give me the last 20 Labor Commissioner updates.

GET/api/connector/v1/capabilitiesFree, no key

This document. What RegWatch can answer, when to call it, and when not to.

Questions it answers: What can the RegWatch connector do? Can RegWatch answer questions about Texas labor law?

GET/api/connector/v1/openapi.jsonFree, no key

The machine-readable OpenAPI 3.1 description of every endpoint listed here. Fetched during tool discovery, not during a conversation.

Questions it answers: (discovery) Load the RegWatch tool definitions. (discovery) Re-read the RegWatch API schema before calling it.

Account endpoints

These read one account’s own data, so they need a connector key from that account and an active subscription.

GET/api/connector/v1/my-briefingConnector key

The connected account's own briefing: the changes that matter to that business, scored for it.

ParameterTypeWhat it does
since_daysinteger, 1 to 90How many days back the briefing covers, 1 to 90. Defaults to 7, matching the weekly briefing.
limitinteger, 1 to 25How many items to include, 1 to 25. Defaults to 8.

Questions it answers: What's in my RegWatch briefing this week? Anything I need to deal with before Monday?

GET/api/connector/v1/my-deadlinesConnector key

Compliance dates that are this account's obligations, including overdue ones on request.

ParameterTypeWhat it does
within_daysinteger, 1 to 365How far ahead to look, 1 to 365 days. Defaults to 60.
include_overduetrue | falseWhether to include deadlines whose date has already passed. Pass 'true' to include them or 'false' to exclude them.
limitinteger, 1 to 50How many deadlines to return, 1 to 50. Defaults to 10.

Questions it answers: What compliance deadlines do I have coming up? Have I missed anything?

GET/api/connector/v1/my-alertsConnector key

The saved filters this account is being alerted on.

ParameterTypeWhat it does
include_offtrue | falsePass 'true' to include alerts that are currently switched off. Defaults to 'false', which lists only active alerts.

Questions it answers: What am I set up to be alerted about? Is my Cal/OSHA alert still on?

Connector keys

The account owner signs in at regwatch.us, opens the connections page, creates a connector key, and pastes it back to the agent. The key is displayed once and cannot be retrieved again. Keys start with rw_ck_ and go in the Authorization header:

Authorization: Bearer rw_ck_…

Account owners create and revoke keys at regwatch.us/account/connections. Free endpoints never need a key.

401: No token, or a token that is unknown, revoked or expired. The response body carries the connect link and what to say. Do not retry with the same credential.

402: A valid token on an account whose subscription is not currently active. The token stays valid and starts working again when billing recovers; nothing needs reconnecting.

Responses

Every response is JSON with the same outer shape, written so an agent can relay it directly.

oktrue on success, false on an error.
intentWhich endpoint answered, for example whats_changed.
as_ofWhen the answer was produced (ISO 8601).
answerA complete spoken-language answer you can relay as is.
answer_shortA one-line version of the same answer.
changes, change, deadlines, ...The structured data behind the answer, named per endpoint (see the OpenAPI document).
next_actionsWhat the user can ask next, with the endpoint for each and whether it needs a connected account.
upgradeOn free endpoints: what a connected account adds and the connect link. null otherwise.
disclaimerAlways present. Pass it on: RegWatch is not legal advice.

An example from whats-changed, shortened:

{
  "ok": true,
  "intent": "whats_changed",
  "as_of": "2026-11-22T17:40:16.571Z",
  "answer": "Yes — 1 verified California employment-law change in the last 90 days, 1 of which requires action. ...",
  "answer_short": "Yes — 1 verified change in the last 90 days, 1 needing action.",
  "found": 1,
  "changes": [
    {
      "slug": "ab-1331-workplace-bathroom-surveillance-ban-january-2027",
      "headline": "AB 1331: California Bans Workplace Surveillance in Bathrooms From January 1, 2027",
      "summary": "AB 1331 bars employers from using workplace surveillance tools to monitor employees in a workplace bathroom unless a court orders it. ...",
      "status": "Action required",
      "action_required": true,
      "action_items": ["Stop any monitoring of employees in workplace bathrooms by January 1, 2027, unless a court orders it."],
      "agency": "CA Legislature",
      "effective_date": "2027-01-01",
      "official_source_url": "https://leginfo.legislature.ca.gov/faces/billNavClient.xhtml?bill_id=202520260AB1331",
      "regwatch_url": "https://regwatch.us/updates/ab-1331-workplace-bathroom-surveillance-ban-january-2027"
    }
  ],
  "next_actions": [
    { "intent": "explain_change", "endpoint": "GET /api/connector/v1/explain-change?slug=<slug>", "requires_connection": false }
  ],
  "upgrade": { "connect_url": "https://regwatch.us/account/connections", "...": "..." },
  "disclaimer": "RegWatch monitors official sources and summarizes changes. It is not legal advice."
}

Errors

An error has ok: false and an error.code, plus an answer that tells the user what happened in plain words.

StatusCodeWhat to do
400invalid_parameterA parameter was malformed. The body says which one and what it accepts; fix it rather than retrying.
401account_connection_requiredAn account endpoint was called with no key, or an unknown, revoked or expired one. Offer the connect link; do not retry with the same key.
402subscription_inactiveThe key is valid but the account's subscription isn't active. The key starts working again when billing recovers.
404not_foundNo published change has that slug.
429rate_limitedToo many requests. Wait for the Retry-After header (60 seconds) before calling again.
503temporarily_unavailableRegWatch couldn't answer just now. Try once more later; do not answer from memory instead.

Rate limits

  • Free endpoints: 60 requests a minute per IP address, counted separately for each endpoint.
  • Account endpoints: 120 requests a minute per account, counted separately for each endpoint.
  • Over the limit you get a 429 with a Retry-After header. Free answers are cached for up to five minutes and the archive changes at most daily, so polling faster gains nothing. Account answers are never cached.

Coverage

California only: 110 official source checks across 19 agency groups. Sources are checked daily. Every published change was checked against the official source by a person before publication, so the archive is narrower, and slower, than a web search.

Subjects: wage and hour, leave and time off, workplace safety (Cal/OSHA), hiring, pay data and pay transparency, workers' compensation, employment-related tax and filing obligations.

The full list is on the sources page, and how each change is checked is on methodology and trust. Questions: contact@regwatch.us.

RegWatch monitors official sources and summarizes changes. It is not legal advice.