{"openapi":"3.1.0","info":{"title":"AI Law Tracker (BYOK) API","version":"0.1.0","description":"AI Law Tracker (BYOK) lets an AI assistant read your own AI Law Tracker data through the AI Law Tracker API with a key you supply (AI Law Tracker API key). Read-only: 12 tools (list_laws, search_laws, get_law, list_law_sources, list_news, list_changes, list_feed, list_jurisdictions, list_sectors, get_obligations, get_penalties, list_deadlines). The BYOK key travels with each request, is used for...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-ailawtracker.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-ailawtracker/docs"},"termsOfService":"https://connectorbay.com/byok-ailawtracker/terms"},"servers":[{"url":"https://byok-ailawtracker.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-ailawtracker/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_laws":{"post":{"operationId":"list_laws","summary":"List tracked AI laws, bills and enforcement records with filters for scope, jurisdiction, status, force and update date,","description":"List tracked AI laws, bills and enforcement records with filters for scope, jurisdiction, status, force and update date, with sorting and paging. Some fields or results can be limited on lower plans; the response meta says when results are gated. Use for \"Which AI laws are in force in California\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"scope":{"anyOf":[{"enum":["state","federal","eu","global"],"type":"string"},{"type":"null"}],"default":null,"description":"Restrict to one scope: US state, US federal, EU or global records.","title":"Scope"},"jurisdiction":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Jurisdiction slug, for example 'california', 'colorado' or 'eu'; see list_jurisdictions for valid slugs.","title":"Jurisdiction"},"status":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Filter by the record's status text, for example 'Enacted' or 'In committee'.","title":"Status"},"in_force":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to return only records in force, false for those not in force.","title":"In Force"},"updated_since":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only records updated after this ISO 8601 date or time, for example 2026-01-01.","title":"Updated Since"},"q":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Keywords to match in title or summary.","title":"Q"},"sort":{"anyOf":[{"enum":["updated_at","record_date","title"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort field.","title":"Sort"},"order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort direction.","title":"Order"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Number of items to return (1 to 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of items to skip, for paging.","title":"Offset"}},"title":"list_lawsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_laws":{"post":{"operationId":"search_laws","summary":"Full-text search over the title and summary of tracked AI law records, with the same filters as list_laws. Some fields o","description":"Full-text search over the title and summary of tracked AI law records, with the same filters as list_laws. Some fields or results can be limited on lower plans; the response meta says when results are gated. Use for \"Search for laws about automated hiring decisions\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"q":{"description":"Search text matched against title and summary.","maxLength":200,"title":"Q","type":"string"},"scope":{"anyOf":[{"enum":["state","federal","eu","global"],"type":"string"},{"type":"null"}],"default":null,"description":"Restrict to one scope: US state, US federal, EU or global records.","title":"Scope"},"jurisdiction":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Jurisdiction slug, for example 'california', 'colorado' or 'eu'; see list_jurisdictions for valid slugs.","title":"Jurisdiction"},"status":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Filter by the record's status text, for example 'Enacted' or 'In committee'.","title":"Status"},"in_force":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to return only records in force, false for those not in force.","title":"In Force"},"updated_since":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only records updated after this ISO 8601 date or time, for example 2026-01-01.","title":"Updated Since"},"sort":{"anyOf":[{"enum":["updated_at","record_date","title"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort field.","title":"Sort"},"order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort direction.","title":"Order"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Number of items to return (1 to 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of items to skip, for paging.","title":"Offset"}},"required":["q"],"title":"search_lawsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_law":{"post":{"operationId":"get_law","summary":"Get the full record of one law by its identifier. Use for \"Show the full record for this law id\".","description":"Get the full record of one law by its identifier. Use for \"Show the full record for this law id\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"law_id":{"description":"Record identifier (uuid) from list_laws or search_laws.","maxLength":80,"title":"Law Id","type":"string"}},"required":["law_id"],"title":"get_lawArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_law_sources":{"post":{"operationId":"list_law_sources","summary":"List the source URLs behind one law record, marked as primary or secondary sources. Use for \"Where does this AI law reco","description":"List the source URLs behind one law record, marked as primary or secondary sources. Use for \"Where does this AI law record come from\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"law_id":{"description":"Record identifier (uuid) from list_laws or search_laws.","maxLength":80,"title":"Law Id","type":"string"}},"required":["law_id"],"title":"list_law_sourcesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_news":{"post":{"operationId":"list_news","summary":"List regulatory news items on AI law, filterable by scope, jurisdiction, keywords and date range. Use for \"What AI regul","description":"List regulatory news items on AI law, filterable by scope, jurisdiction, keywords and date range. Use for \"What AI regulation news appeared this month in the EU\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"scope":{"anyOf":[{"enum":["state","federal","eu","global"],"type":"string"},{"type":"null"}],"default":null,"description":"Restrict to one scope: US state, US federal, EU or global records.","title":"Scope"},"jurisdiction":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Jurisdiction slug, for example 'california', 'colorado' or 'eu'; see list_jurisdictions for valid slugs.","title":"Jurisdiction"},"q":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Keywords to match.","title":"Q"},"since":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only items after this ISO 8601 date.","title":"Since"},"date_from":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Start of a date range, ISO 8601 date.","title":"Date From"},"date_to":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"End of a date range, ISO 8601 date.","title":"Date To"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Number of items to return (1 to 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of items to skip, for paging.","title":"Offset"}},"title":"list_newsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_changes":{"post":{"operationId":"list_changes","summary":"List recorded changes to laws and jurisdictions since a date, including what changed; poll with 'since'. Often needs a p","description":"List recorded changes to laws and jurisdictions since a date, including what changed; poll with 'since'. Often needs a paid plan. Some fields or results can be limited on lower plans; the response meta says when results are gated. Use for \"What AI law records changed since the start of the month\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"since":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only changes after this ISO 8601 date or time.","title":"Since"},"scope":{"anyOf":[{"enum":["state","federal","eu","global"],"type":"string"},{"type":"null"}],"default":null,"description":"Restrict to one scope: US state, US federal, EU or global records.","title":"Scope"},"jurisdiction":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Jurisdiction slug, for example 'california', 'colorado' or 'eu'; see list_jurisdictions for valid slugs.","title":"Jurisdiction"},"entity":{"anyOf":[{"enum":["law_record","jurisdiction"],"type":"string"},{"type":"null"}],"default":null,"description":"Kind of changed item.","title":"Entity"},"significant":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to return only significant changes.","title":"Significant"},"order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort direction.","title":"Order"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Number of items to return (1 to 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of items to skip, for paging.","title":"Offset"}},"title":"list_changesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_feed":{"post":{"operationId":"list_feed","summary":"List a compact feed of recent significant changes to tracked AI laws. Use for \"Give me the latest significant AI law upd","description":"List a compact feed of recent significant changes to tracked AI laws. Use for \"Give me the latest significant AI law updates\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"since":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only items after this ISO 8601 date or time.","title":"Since"},"scope":{"anyOf":[{"enum":["state","federal","eu","global"],"type":"string"},{"type":"null"}],"default":null,"description":"Restrict to one scope: US state, US federal, EU or global records.","title":"Scope"},"jurisdiction":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Jurisdiction slug, for example 'california', 'colorado' or 'eu'; see list_jurisdictions for valid slugs.","title":"Jurisdiction"},"entity":{"anyOf":[{"enum":["law_record","jurisdiction"],"type":"string"},{"type":"null"}],"default":null,"description":"Kind of changed item.","title":"Entity"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Number of items to return (1 to 100).","title":"Limit"}},"title":"list_feedArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_jurisdictions":{"post":{"operationId":"list_jurisdictions","summary":"List the jurisdictions covered, with the slugs other tools accept; optionally for one scope. Use for \"Which jurisdiction","description":"List the jurisdictions covered, with the slugs other tools accept; optionally for one scope. Use for \"Which jurisdictions does the AI Law Tracker cover\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"scope":{"anyOf":[{"enum":["state","federal","eu","global"],"type":"string"},{"type":"null"}],"default":null,"description":"Restrict to one scope: US state, US federal, EU or global records.","title":"Scope"}},"title":"list_jurisdictionsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_sectors":{"post":{"operationId":"list_sectors","summary":"List the industry sectors used to match obligations and penalties. Use for \"Which sectors can I use to look up AI obliga","description":"List the industry sectors used to match obligations and penalties. Use for \"Which sectors can I use to look up AI obligations\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_sectorsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_obligations":{"post":{"operationId":"get_obligations","summary":"List the legal obligations that apply for a jurisdiction, sector and AI use, with deadline and citation. Full detail nee","description":"List the legal obligations that apply for a jurisdiction, sector and AI use, with deadline and citation. Full detail needs a higher plan. Some fields or results can be limited on lower plans; the response meta says when results are gated. Use for \"What obligations apply to AI hiring tools in Colorado\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"jurisdiction":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Jurisdiction slug, for example 'california', 'colorado' or 'eu'; see list_jurisdictions for valid slugs.","title":"Jurisdiction"},"sector":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Sector slug from list_sectors, for example 'hr-recruiting'.","title":"Sector"},"use":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"AI use case slug, for example 'hiring'.","title":"Use"},"decision_impact":{"anyOf":[{"enum":["hiring_firing","credit_insurance","healthcare","housing","internal_only","not_sure"],"type":"string"},{"type":"null"}],"default":null,"description":"Kind of decision the AI affects.","title":"Decision Impact"}},"title":"get_obligationsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_penalties":{"post":{"operationId":"get_penalties","summary":"List the penalties and enforcing bodies for a jurisdiction and sector. Full detail needs a higher plan. Some fields or r","description":"List the penalties and enforcing bodies for a jurisdiction and sector. Full detail needs a higher plan. Some fields or results can be limited on lower plans; the response meta says when results are gated. Use for \"What penalties apply to AI rule violations in New York\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"jurisdiction":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Jurisdiction slug, for example 'california', 'colorado' or 'eu'; see list_jurisdictions for valid slugs.","title":"Jurisdiction"},"sector":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Sector slug from list_sectors.","title":"Sector"}},"title":"get_penaltiesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_deadlines":{"post":{"operationId":"list_deadlines","summary":"List upcoming effective and compliance dates of AI laws, optionally for one scope or jurisdiction. Use for \"Which AI law","description":"List upcoming effective and compliance dates of AI laws, optionally for one scope or jurisdiction. Use for \"Which AI law deadlines are coming up\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"scope":{"anyOf":[{"enum":["state","federal","eu","global"],"type":"string"},{"type":"null"}],"default":null,"description":"Restrict to one scope: US state, US federal, EU or global records.","title":"Scope"},"jurisdiction":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Jurisdiction slug, for example 'california', 'colorado' or 'eu'; see list_jurisdictions for valid slugs.","title":"Jurisdiction"},"upcoming":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to return only dates that are still ahead.","title":"Upcoming"}},"title":"list_deadlinesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}