For Agents
Programmatically get api quota usage, search constituency. Covers 25 operations with apiKey authentication.
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the TheyWorkForYou 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 TheyWorkForYou API API.
Get API quota usage
Search constituency
List constituencies
Query and filter TheyWorkForYou API records by parameters
GET STARTED
Use for: I need to api quota usage, I want to constituency, Search for constituencies, Find all person details
Not supported: Does not handle payments, communications, or crm — use for developer tools only.
TheyWorkForYou API provides access to UK Parliament data including MPs, Lords, MSPs, MLAs, constituencies, debates, written answers, and more. The API exposes 25 endpoints secured with apiKey authentication.
Monitor TheyWorkForYou API operational status and events
Patterns agents use TheyWorkForYou API API for, with concrete tasks.
★ Developer Tools Operations
Use the TheyWorkForYou API to perform developer tools operations programmatically. The API provides 25 endpoints covering core functionality including get api quota usage, search constituency, list constituencies.
Call GET /getQuota to get api quota usage
Automated Quota Management
Automate quota operations by combining multiple TheyWorkForYou API endpoints. Agents can search constituency and then list constituencies in a single workflow.
Call GET /getConstituency to search constituency, then verify the result
AI Agent Integration via Jentic
AI agents discover and call TheyWorkForYou API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.
Search Jentic for 'get api quota usage', load the operation schema, and execute with Jentic-managed credentials
25 endpoints — theyworkforyou api provides access to uk parliament data including mps, lords, msps, mlas, constituencies, debates, written answers, and more.
METHOD
PATH
DESCRIPTION
/getQuota
Get API quota usage
/getConstituency
Search constituency
/getConstituencies
List constituencies
/getPerson
Get person details
/getMP
Get MP details
/getMPInfo
Get MP extra info
/getMPs
List MPs
/getLords
List Lords
/getQuota
Get API quota usage
/getConstituency
Search constituency
/getConstituencies
List constituencies
/getPerson
Get person details
/getMP
Get MP details
/getMPInfo
Three things that make agents converge on Jentic-routed access.
Credential isolation
TheyWorkForYou API apiKey credentials are stored encrypted in the Jentic vault (MAXsystem). Agents receive scoped access tokens — raw secrets never enter the agent context.
Intent-based discovery
Agents search by intent (e.g., 'get api quota usage') and Jentic returns the matching TheyWorkForYou API operation with its input schema, so the agent can call the right endpoint without browsing docs.
Time to first call
Direct TheyWorkForYou API integration: 1-3 days for auth handling, response parsing, and error cases. Through Jentic: under 1 hour — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
Github
Alternative developer tools API
Choose Github when you need a different approach to developer tools operations
Gitlab
Alternative developer tools API
Choose Gitlab when you need a different approach to developer tools operations
Specific to using TheyWorkForYou API API through Jentic.
What authentication does the TheyWorkForYou API use?
The TheyWorkForYou API uses an API key passed in the `key` query. Through Jentic, these credentials are stored encrypted in the MAXsystem vault and injected at execution time, so raw secrets never enter the agent context.
Can I get api quota usage with the TheyWorkForYou API?
Yes. Use the GET /getQuota endpoint. The API returns structured JSON responses that agents can parse and act on directly.
What are the rate limits for the TheyWorkForYou API?
Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.
How do I get api quota usage through Jentic?
Install the Jentic SDK with pip install jentic, authenticate at https://app.jentic.com/sign-up, then search for 'get api quota usage'. Jentic returns the matching TheyWorkForYou API operation with its input schema. Load the schema and execute the call — credentials are injected automatically.
How many endpoints does the TheyWorkForYou API have?
The TheyWorkForYou API exposes 25 endpoints covering quota, constituencies, members operations.
Get MP extra info
/getMPs
List MPs
/getLords
List Lords