For Agents
Query international treaties laid before Parliament, track CRaG scrutiny periods, and retrieve committee reports across 6 endpoints.
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the UK Parliament Treaties API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with UK Parliament Treaties API API.
Search for treaties by title, command paper number, or subject
Retrieve details of a specific treaty by ID
List treaties by laid date or parliamentary session
Track CRaG scrutiny period status and deadlines
GET STARTED
Use for: Find all treaties laid before Parliament this year, What treaties has the Foreign Office laid recently?, Retrieve details of a specific treaty by command paper number, Check the CRaG scrutiny status of a treaty
Not supported: Covers parliamentary scrutiny of international treaties under CRaG, including laying, scrutiny periods, and committee reports. Does not include full treaty text or international law analysis — use treaty registries or government publications for full text. Does not cover treaties that predate CRaG (2010).
Jentic publishes the only available OpenAPI document for UK Parliament Treaties API, keeping it validated and agent-ready.
Jentic publishes the only agent-ready OpenAPI specification for the UK Parliament Treaties API, keeping it validated and up to date. The API exposes details of international treaties laid before Parliament under the Constitutional Reform and Governance Act 2010 (CRaG), including treaty titles, laying dates, parliamentary scrutiny periods, and committee reports. It powers foreign policy research platforms, legal compliance systems, and parliamentary oversight tools monitoring the UK's international commitments.
Access parliamentary committee reports on treaties
Query treaties by government department or subject area
Monitor treaty ratification timelines and extensions
Patterns agents use UK Parliament Treaties API API for, with concrete tasks.
★ Treaty Ratification Monitoring
Track international treaties as they progress through the Constitutional Reform and Governance Act 2010 (CRaG) scrutiny process. GET /api/Treaties/Search returns treaties laid before Parliament, while GET /api/Treaties/{id} provides full details including CRaG period deadlines and ratification status. Essential for foreign policy analysts and legal teams monitoring UK treaty commitments.
GET /api/Treaties/Search?session=2025-26 to list all treaties laid in the current parliamentary session
Committee Scrutiny and Reports
Access parliamentary committee reports and recommendations on treaties under scrutiny. GET /api/Treaties/{id}/CommitteeReports returns reports from relevant select committees examining treaty implications. Supports parliamentary researchers and policy analysts evaluating treaty scrutiny quality.
GET /api/Treaties/{id}, then GET /api/Treaties/{id}/CommitteeReports to retrieve scrutiny reports and recommendations
Subject and Department Filtering
Filter treaties by subject area or government department to track international agreements in specific policy domains. Search by department (Foreign Office, Trade Department) or subject (trade, defense, environment) to retrieve relevant treaties. Useful for sector-specific monitoring.
GET /api/Treaties/Search?department=Foreign Office&subject=trade to list trade-related treaties laid by FCO
AI-Powered Foreign Policy Research via Jentic
An AI agent researching UK foreign policy can search for treaties by subject, track CRaG scrutiny deadlines, and retrieve committee reports through Jentic without managing complex filtering or parsing nested treaty data. Jentic resolves intents like 'find trade treaties laid this year' to the correct endpoints.
Search Jentic for 'find treaties by subject', load GET /api/Treaties/Search schema with subject filter, and execute
6 endpoints — jentic publishes the only agent-ready openapi specification for the uk parliament treaties api, keeping it validated and up to date.
METHOD
PATH
DESCRIPTION
/api/Treaties/Search
Search for treaties by various criteria
/api/Treaties/{id}
Retrieve detailed information about a specific treaty
/api/Treaties/{id}/CommitteeReports
Get parliamentary committee reports on a treaty
/api/Treaties/List
List all treaties with filtering and pagination
/api/Treaties/Search
Search for treaties by various criteria
/api/Treaties/{id}
Retrieve detailed information about a specific treaty
/api/Treaties/{id}/CommitteeReports
Get parliamentary committee reports on a treaty
/api/Treaties/List
List all treaties with filtering and pagination
Three things that make agents converge on Jentic-routed access.
Credential isolation
No authentication required — the Treaties API is open-access. Jentic handles filtering logic and nested treaty data parsing so agents receive structured treaty information without managing complex query parameters or CRaG period calculations.
Intent-based discovery
Agents search by intent (e.g. 'find trade treaties', 'check treaty CRaG status') and Jentic returns the matching Treaties API endpoint with the request schema pre-shaped for execution.
Time to first call
Direct integration: 2-3 days mapping 6 endpoints, handling CRaG periods, and parsing committee reports. Through Jentic: under 20 minutes — search by intent, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
UK Parliament Statutory Instruments API
Secondary legislation laid before Parliament with scrutiny status
Both APIs track parliamentary scrutiny of laid documents; Statutory Instruments cover domestic regulation, Treaties cover international agreements
UK Parliament Bills API
Legislative bills and amendments tracking across parliamentary sessions
Some treaties require implementing legislation; use Treaties API for international commitments and Bills API for domestic legislation implementing them
UK Parliament Members API
MPs and Lords biographical data, voting records, and parliamentary roles
Use Treaties API to track treaty scrutiny; use Members API to see which MPs serve on committees examining treaties
Specific to using UK Parliament Treaties API API through Jentic.
What is CRaG and how does it relate to treaty scrutiny?
The Constitutional Reform and Governance Act 2010 (CRaG) requires the government to lay treaties before Parliament for 21 sitting days before ratification. During this period, either House can vote to reject ratification. The API tracks CRaG scrutiny periods, deadlines, and parliamentary objections.
Can I filter treaties by government department?
Yes. Use GET /api/Treaties/Search with department parameters to filter treaties by the responsible government department (typically the Foreign Office, but also Trade, Defense, or other departments depending on treaty subject). This helps track departmental treaty activity.
How do I find treaties related to a specific policy area?
Use the subject filter in GET /api/Treaties/Search to retrieve treaties in specific policy areas such as trade, defense, environment, or human rights. The API categorizes treaties by subject to support policy-focused research.
What is a command paper number?
A command paper is a document laid before Parliament by a minister, including treaty texts. Command papers have unique reference numbers (e.g., Cm 1234) used to identify treaties. The API allows searching by command paper number.
Is authentication required for this API?
No. The UK Parliament Treaties API is a public API with no authentication required. It provides open access to treaty data for research, policy analysis, and monitoring purposes.
Where does Jentic's OpenAPI spec for this API come from?
Jentic imports and validates the official Swagger spec published by UK Parliament at https://treaties-api.parliament.uk/swagger/v1/swagger.json, converts it to OpenAPI 3.0.3, and keeps it updated so AI agents and developers can call the API via structured tooling.