HO
House of Commons Oral and Written Questions API
/oralquestions/list
Returns a list of oral questions
A list of oral questions meeting the specified criteria.
liveunknown~3s typical
oral questionshouse
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run oa-parliament-uk-oralquestions /oralquestions/list for me.
Input
| Field | Type | Description |
|---|---|---|
| parameters.answeringDateStart | string | Oral Questions where the answering date has been set on or after the date provided. Date format YYYY-MM-DD. default null |
| parameters.answeringDateEnd | string | Oral Questions where the answering date has been set on or before the date provided. Date format YYYY-MM-DD. default null |
| parameters.questionType | string (Substantive | Topical) | Oral Questions where the question type is the selected type, substantive or topical. default null |
| parameters.oralQuestionTimeId | integer | Oral Questions where the question is within the question time with the ID provided default null |
| parameters.askingMemberIds | array | The ID of the member asking the question. Lists of member IDs for each house are available <a href="http://data.parliament.uk/membersdataplatform/services/mnis/members/query/house=Commons" target="_bl default null |
| parameters.uINs | array | The UIN for the question - note that UINs reset at the start of each Parliamentary session. default null |
| parameters.answeringBodyIds | array | Which answering body is to respond. A list of answering bodies can be found <a target="_blank" href="http://data.parliament.uk/membersdataplatform/services/mnis/referencedata/AnsweringBodies/">here</a default null |
| parameters.skip | integer | The number of records to skip from the first, default is 0. default null |
| parameters.take | integer | The number of records to return, default is 25, maximum is 100. default null |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"oa-parliament-uk-oralquestions","endpoint":"/oralquestions/list","input":{"parameters.answeringDateStart":"...","parameters.answeringDateEnd":"...","parameters.questionType":"Substantive","parameters.oralQuestionTimeId":1,"parameters.askingMemberIds":[],"parameters.uINs":[],"parameters.answeringBodyIds":[],"parameters.skip":1,"parameters.take":1}}'cli
npx cracked-ai run -p oa-parliament-uk-oralquestions -e /oralquestions/list -i '{"parameters.answeringDateStart":"...","parameters.answeringDateEnd":"...","parameters.questionType":"Substantive","parameters.oralQuestionTimeId":1,"parameters.askingMemberIds":[],"parameters.uINs":[],"parameters.answeringBodyIds":[],"parameters.skip":1,"parameters.take":1}'mcp
run_tool({ provider: "oa-parliament-uk-oralquestions", endpoint: "/oralquestions/list", input: {"parameters.answeringDateStart":"...","parameters.answeringDateEnd":"...","parameters.questionType":"Substantive","parameters.oralQuestionTimeId":1,"parameters.askingMemberIds":[],"parameters.uINs":[],"parameters.answeringBodyIds":[],"parameters.skip":1,"parameters.take":1} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.