{"id":"9a8af477-dd9b-43da-9470-b3aeda4610cf","type":"API","name":"Written Questions Service API","slug":"written-questions-service-api","description":"Data around written questions and answers, as well as written ministerial statements.","free_access_class":"FREE_NO_AUTH","auth_type":"NONE","homepage_url":"https://www.parliament.uk","docs_url":null,"repo_url":"https://writtenquestions-api.parliament.uk/swagger/v1/swagger.json","status":"ACTIVE","verification_state":"VERIFIED","tags":["government"],"logo_url":"https://www.google.com/s2/favicons?sz=64&domain=parliament.uk","primary_source_url":"https://writtenquestions-api.parliament.uk/swagger/v1/swagger.json","extraction_confidence":"0.70","created_at":"2026-01-01T19:42:30.494Z","updated_at":"2026-08-16T13:16:41.317Z","last_verified_at":"2026-08-16T13:16:41.317Z","deprecated_at":null,"ranking_score":66,"last_ranked_at":"2026-08-08T19:18:11.205Z","last_seen_at":null,"last_validated_at":null,"last_uptime_at":"2026-08-06T17:44:55.195Z","search_vector":"'access':54B,77B,154B 'accessible':177B 'allow':53B 'allowing':153B 'along':63B,163B 'and':109B,125B,142B,149B,161B,170B,180B,195B 'announc':97B 'announcements':197B 'answer':10B,27B,43B 'answered':143B 'answers':110B,127B 'api':4A,18B,104A,118B 'around':6B,106B 'as':111B,113B,128B,130B,168B 'authent':79B 'authentication':179B 'by':135B 'common':48B 'commons':148B 'cover':39B 'coverag':85B 'coverage':185B 'covers':139B 'data':5B,20B,105B,120B 'date':69B 'dates':169B 'for':191B 'freeli':76B 'freely':176B 'govern':93B,100C 'government':193B 'hous':46B,50B 'house':146B,150B 'in':144B 'involv':72B 'involved':172B 'is':175B 'it':138B 'level':84B,184B 'lord':52B 'lords':152B 'materi':40B 'material':140B 'member':71B 'members':171B 'metadata':66B,166B 'ministeri':15B,32B,96B 'ministerial':115B,132B,196B 'nation':83B 'national':183B 'national-level':82B,182B 'of':147B,151B,158B,186B 'on':121B 'over':198B 'parliament':37B,137B 'parliamentari':23B,88B 'parliamentary':123B,188B 'proceed':89B 'proceedings':189B 'provid':19B 'provides':119B 'publish':34B 'published':134B 'question':2A,8B,24B,59B 'questions':102A,108B,124B,159B 'relat':65B 'related':165B 'respons':60B,94B 'responses':160B,194B 'servic':3A,74B 'service':103A,174B 'statement':16B,33B,62B 'statements':116B,133B,162B 'submit':41B 'submitted':141B 'such':167B 'support':81B 'supports':181B 'text':57B,157B 'the':145B,156B,173B 'their':126B 'this':117B 'time':99B,199B 'to':155B 'track':92B 'tracking':192B 'uk':36B,87B,136B,187B 'use':90B 'useful':190B 'well':12B,29B,112B,129B 'with':164B 'without':78B,178B 'written':1A,7B,14B,22B,31B,101A,107B,114B,122B,131B","popularity_score":"0.0000","maintenance_score":"0.5000","institution_id":"80926881-de89-4d9e-a1c5-f2393d25dac7","institution_type":"GOVERNMENT","country_code":"GB","official_confidence":40,"proof_summary":"official domain (parliament.uk)","source_seed_url":null,"is_public_sector":true,"published_at":"2026-01-01T19:42:30.494Z","geographic_scope":"NATIONAL","name_en":null,"description_en":"This API provides data on written parliamentary questions and their answers, as well as written ministerial statements, published by UK Parliament. It covers material submitted and answered in the House of Commons and House of Lords, allowing access to the text of questions, responses, and statements along with related metadata such as dates and members involved. The service is freely accessible without authentication and supports national-level coverage of UK parliamentary proceedings, useful for tracking government responses and ministerial announcements over time.","native_lang":"en","access_level":"direct","formats":[],"capability_tier":"sample","trust_score":71,"access":{"level":"direct","primary":{"kind":"query","label":"Returns a list of daily reports","method":"GET","url":"https://writtenquestions-api.parliament.uk/api/dailyreports/dailyreports","source":"query_example","runnable":true,"direct":true},"actions":[{"kind":"query","label":"Returns a list of daily reports","method":"GET","url":"https://writtenquestions-api.parliament.uk/api/dailyreports/dailyreports","source":"query_example","runnable":true,"direct":true},{"kind":"spec","label":"OpenAPI spec","method":"GET","url":"https://writtenquestions-api.parliament.uk/swagger/v1/swagger.json","source":"openapi","runnable":false},{"kind":"query","label":"API base URL","method":"GET","url":"https://writtenquestions-api.parliament.uk","source":"base_url","runnable":false},{"kind":"landing","label":"Visit homepage","method":"GET","url":"https://www.parliament.uk","source":"homepage","runnable":false}],"formats":[]},"maturity":{"entry_id":"9a8af477-dd9b-43da-9470-b3aeda4610cf","granularity":"entry","granularity_label":"One unit = one catalog entry. A PROXY for the SCOPE.md §4 ladder, which governs source families, not entries: a family with 400 entries moves this reading 400 times as much as a family with one. Never compare or combine with the source_family reading.","level":"profiled","level_index":3,"level_label":"Profiled","meaning":"Schema, dimensions and licence understood","counts_as_coverage":false,"blocked_by":null,"rungs":[{"level":"discovered","level_index":1,"label":"Discovered","meaning":"Source and metadata recorded","evidence":"membership of the named population the ladder is taken over","counts_as_coverage":false,"met":true,"reached":true,"criterion":"TRUE"},{"level":"verified","level_index":2,"label":"Verified","meaning":"Access tested successfully","evidence":"entries.verification_state = 'VERIFIED'","counts_as_coverage":false,"met":true,"reached":true,"criterion":"entries.verification_state = 'VERIFIED'"},{"level":"profiled","level_index":3,"label":"Profiled","meaning":"Schema, dimensions and licence understood","evidence":"a data profile with at least one field (entry_data_profiles.field_count > 0)","counts_as_coverage":false,"met":true,"reached":true,"criterion":"EXISTS (SELECT 1 FROM entry_data_profiles p WHERE p.entry_id = entries.id AND COALESCE(p.field_count, 0) > 0)"},{"level":"executable","level_index":4,"label":"Executable","meaning":"Queries run through Commodity","evidence":"entries.capability_tier = 'live' — today's proxy for \"queryable through us\"","counts_as_coverage":true,"met":false,"reached":false,"criterion":"entries.capability_tier = 'live'"},{"level":"joinable","level_index":5,"label":"Joinable","meaning":"Canonical identifiers and concepts mapped","evidence":"a field link to a canonical identifier whose sampled VALUES match its format","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM entry_field_links efl WHERE efl.entry_id = entries.id AND efl.identifier_id IS NOT NULL AND efl.value_status = 'match')"},{"level":"reproducible","level_index":6,"label":"Reproducible","meaning":"Snapshots and transformation evidence retained","evidence":"at least one retained evidence manifest (migration 078)","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM evidence_manifests em WHERE em.entry_id = entries.id)"},{"level":"guaranteed","level_index":7,"label":"Guaranteed","meaning":"Monitored against an operational reliability target","evidence":"an active reliability target with a named monitor (migration 096)","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM entry_reliability_targets rt WHERE rt.entry_id = entries.id AND rt.is_active = true)"}],"officialness":{"basis":"catalog_inherited","label":"Inherited from the upstream catalog: this item came from a trusted official government catalog, and that provenance — not per-item proof — is the warrant. Its own proof score is below 80 or it matched no registered institution (apps/worker/src/connectors/catalog/qualify-store.ts).","proof_confidence":40,"proven_threshold":80,"institution_id":"80926881-de89-4d9e-a1c5-f2393d25dac7","definition":"CASE WHEN COALESCE(entries.is_public_sector, false) IS NOT TRUE THEN 'not_official' WHEN COALESCE(entries.official_confidence, 0) >= 80 AND entries.institution_id IS NOT NULL THEN 'per_item_proven' ELSE 'catalog_inherited' END"},"source_family":{"key":"writtenquestions-api.parliament.uk","label":"One unit = one source family, approximated by the serving host of the entry's primary source URL (e.g. bdl.stat.gov.pl). A COMPUTED stand-in for the curated families of SCOPE.md §5, which no table holds yet. A family sits at the highest level any of its entries has reached, because a family is integrated to the depth of its deepest working integration. Never compare or combine with the entry reading."},"generated_at":"2026-08-16T14:11:34.239Z"},"api_details":{"id":"6c67d1f1-4054-48e1-9a58-61edc6cf93bd","entry_id":"9a8af477-dd9b-43da-9470-b3aeda4610cf","base_url":"https://writtenquestions-api.parliament.uk","openapi_url":"https://writtenquestions-api.parliament.uk/swagger/v1/swagger.json","graphql_url":null,"api_version":"v1","spec_format":"openapi","endpoints_count":7,"endpoints":[{"path":"/api/dailyreports/dailyreports","method":"GET","description":"Returns a list of daily reports"},{"path":"/api/writtenquestions/questions","method":"GET","description":"Returns a list of written questions"},{"path":"/api/writtenquestions/questions/{id}","method":"GET","description":"Returns a written question"},{"path":"/api/writtenquestions/questions/{date}/{uin}","method":"GET","description":"Returns a written question"},{"path":"/api/writtenstatements/statements","method":"GET","description":"Returns a list of written statements"},{"path":"/api/writtenstatements/statements/{id}","method":"GET","description":"Returns a written statement"},{"path":"/api/writtenstatements/statements/{date}/{uin}","method":"GET","description":"Returns a written statemnet"}],"rate_limit_info":null,"free_tier_limits":null,"ping_url":null,"created_at":"2026-01-01T19:42:30.649Z","updated_at":"2026-01-01T19:42:30.649Z"},"dataset_details":null,"license":null,"reuse":{"license_id":null,"license_name":null,"license_url":null,"commercial_use":{"status":"unknown","value":null},"redistribution":{"status":"unknown","value":null},"attribution_required":{"status":"unknown","value":null},"share_alike":{"status":"unknown","value":null},"personal_data_warning":{"status":"unknown","value":null},"cache_and_mirror":{"status":"unknown","value":null},"undetermined":["commercial_use","redistribution","attribution_required","share_alike","personal_data_warning","cache_and_mirror"],"basis":"unverified","confidence":0.1,"confidence_tier":"low","source_text":null,"source_url":null,"reviewed_at":null},"license_raw":null,"latest_check":{"id":"ed7d27fa-bca6-4304-8083-2c7631ac3dc9","entry_id":"9a8af477-dd9b-43da-9470-b3aeda4610cf","status":"VERIFIED","last_checked_at":"2026-08-16T13:16:40.993Z","p50_latency_ms":1041,"p95_latency_ms":null,"last_error":null,"consecutive_failures":0,"created_at":"2026-06-08T12:34:02.059Z","updated_at":"2026-08-16T13:16:40.993Z","consecutive_successes":128,"probe_url":"https://writtenquestions-api.parliament.uk/api/dailyreports/dailyreports","probe_method":"GET","probe_http_status":200,"probe_content_type":"application/json; charset=utf-8","probe_succeeded_at":"2026-08-16T13:16:40.993Z"},"data_profile":{"id":"c6e5dd82-dfea-4aca-a801-08fb5c9ec707","entry_id":"9a8af477-dd9b-43da-9470-b3aeda4610cf","profile_source":"openapi","profile_kind":"dataset","dataset_id":null,"fields":[{"name":"dateFrom","role":"parameter","type":"string (date-time)","label":null,"format":"date-time","param_in":"query","container":"/api/dailyreports/dailyreports","filterable":true,"description":"Daily report with report date on or after the date specified. Date format yyyy-mm-dd","description_en":"Filters daily reports to those on or after this date."},{"name":"dateTo","role":"parameter","type":"string (date-time)","label":null,"format":"date-time","param_in":"query","container":"/api/dailyreports/dailyreports","filterable":true,"description":"Daily report with report date on or before the date specified. Date format yyyy-mm-dd","description_en":"Filters daily reports to those on or before this date."},{"name":"house","role":"parameter","type":"string","label":null,"param_in":"query","container":"/api/dailyreports/dailyreports","filterable":true,"description":"Daily report relating to the House specified. Defaults to Bicameral","description_en":"Filters by parliamentary House; defaults to both Houses."},{"name":"skip","role":"parameter","type":"integer (int32)","label":null,"format":"int32","param_in":"query","container":"/api/dailyreports/dailyreports","filterable":true,"description":"Number of records to skip, default is 0","description_en":"Number of records to skip for pagination, default 0."},{"name":"take","role":"parameter","type":"integer (int32)","label":null,"format":"int32","param_in":"query","container":"/api/dailyreports/dailyreports","filterable":true,"description":"Number of records to take, default is 20","description_en":"Number of records to return, default 20."},{"name":"askingMemberId","role":"parameter","type":"integer (int32)","label":null,"format":"int32","param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions asked by member with member ID specified","description_en":"Filters written questions by the ID of the asking member."},{"name":"answeringMemberId","role":"parameter","type":"integer (int32)","label":null,"format":"int32","param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions answered by member with member ID specified","description_en":"Filters written questions by the ID of the answering member."},{"name":"tabledWhenFrom","role":"parameter","type":"string (date-time)","label":null,"format":"date-time","param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions tabled on or after the date specified. Date format yyyy-mm-dd","description_en":"Filters written questions tabled on or after this date."},{"name":"dateForAnswerWhenFrom","role":"parameter","type":"string (date-time)","label":null,"format":"date-time","param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions DateForAnswer on or after the date specified format yyyy-mm-dd","description_en":"Filters questions with a due answer date on or after this date."},{"name":"dateForAnswerWhenTo","role":"parameter","type":"string (date-time)","label":null,"format":"date-time","param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions DateForAnswer on or before the date specified format yyyy-mm-dd","description_en":"Filters questions with a due answer date on or before this date."},{"name":"tabledWhenTo","role":"parameter","type":"string (date-time)","label":null,"format":"date-time","param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions tabled on or before the date specified. Date format yyyy-mm-dd","description_en":"Filters written questions tabled on or before this date."},{"name":"answered","role":"parameter","type":"string","label":null,"param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions that have been answered, unanswered or either.","description_en":"Filters questions by answered, unanswered, or either status."},{"name":"answeredWhenFrom","role":"parameter","type":"string (date-time)","label":null,"format":"date-time","param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions answered on or after the date specified. Date format yyyy-mm-dd","description_en":"Filters written questions answered on or after this date."},{"name":"answeredWhenTo","role":"parameter","type":"string (date-time)","label":null,"format":"date-time","param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions answered on or before the date specified. Date format yyyy-mm-dd","description_en":"Filters written questions answered on or before this date."},{"name":"questionStatus","role":"parameter","type":"string","label":null,"param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions with the status specified","description_en":"Filters written questions by their status."},{"name":"includeWithdrawn","role":"parameter","type":"boolean","label":null,"param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Include written questions that have been withdrawn","description_en":"Whether to include withdrawn written questions in results."},{"name":"expandMember","role":"parameter","type":"boolean","label":null,"param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Expand the details of Members in the results","description_en":"Whether to include full member details in results."},{"name":"correctedWhenFrom","role":"parameter","type":"string (date-time)","label":null,"format":"date-time","param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions corrected on or after the date specified. Date format yyyy-mm-dd","description_en":"Filters written questions corrected on or after this date."},{"name":"correctedWhenTo","role":"parameter","type":"string (date-time)","label":null,"format":"date-time","param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions corrected on or before the date specified. Date format yyyy-mm-dd","description_en":"Filters written questions corrected on or before this date."},{"name":"sessionStatus","role":"parameter","type":"string","label":null,"param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"The Session status for which the Questions data will be returned","description_en":"Filters questions by parliamentary session status."},{"name":"searchTerm","role":"parameter","type":"string","label":null,"param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions / statements containing the search term specified, searches item content","description_en":"Filters written questions or statements by text search term."},{"name":"uIN","role":"parameter","type":"string","label":null,"param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions / statements with the uin specified","description_en":"Filters written questions or statements by their unique identifying number."},{"name":"answeringBodies","role":"parameter","type":"array","label":null,"param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions / statements relating to the answering bodies with the IDs specified","description_en":"Filters by IDs of the government bodies answering the questions."},{"name":"members","role":"parameter","type":"array","label":null,"param_in":"query","container":"/api/writtenquestions/questions","filterable":true,"description":"Written questions / statements relating to the members with the IDs specified","description_en":"Filters by IDs of members related to the questions or statements."},{"name":"id","role":"parameter","type":"integer (int32)","label":null,"format":"int32","param_in":"path","required":true,"container":"/api/writtenquestions/questions/{id}","filterable":true,"description":"written question with ID specified","description_en":"Identifier of the written question."},{"name":"date","role":"parameter","type":"string (date-time)","label":null,"format":"date-time","param_in":"path","required":true,"container":"/api/writtenquestions/questions/{date}/{uin}","filterable":true,"description":"Written question on date specified","description_en":"Filters written questions by a specific date."},{"name":"uin","role":"parameter","type":"string","label":null,"param_in":"path","required":true,"container":"/api/writtenquestions/questions/{date}/{uin}","filterable":true,"description":"Written question with uid specified","description_en":"Unique identifying number of the written question."},{"name":"madeWhenFrom","role":"parameter","type":"string (date-time)","label":null,"format":"date-time","param_in":"query","container":"/api/writtenstatements/statements","filterable":true,"description":"Written statements made on or after the date specified. Date format yyyy-mm-dd","description_en":"Filters written statements made on or after this date."},{"name":"madeWhenTo","role":"parameter","type":"string (date-time)","label":null,"format":"date-time","param_in":"query","container":"/api/writtenstatements/statements","filterable":true,"description":"Written statements made on or before the date specified. Date format yyyy-mm-dd","description_en":"Filters written statements made on or before this date."},{"name":"url","type":"string","label":"AttachmentViewModel","description":null,"description_en":"URL to download the attachment file."},{"name":"title","type":"string","label":"AttachmentViewModel","description":null,"description_en":"Title of the attachment."},{"name":"fileType","type":"string","label":"AttachmentViewModel","description":null,"description_en":"File format of the attachment."},{"name":"fileSizeBytes","type":"integer (int64)","label":"AttachmentViewModel","format":"int64","description":null,"description_en":"Size of the attachment file in bytes."},{"name":"value","type":"object","label":"DailyReportViewModelItem","description":null,"description_en":"Content of the daily report item."},{"name":"links","type":"array<object>","label":"DailyReportViewModelItem","description":null,"description_en":"Related hyperlinks associated with the daily report item."},{"name":"totalResults","type":"integer (int32)","label":"DailyReportViewModelSearchResult","format":"int32","description":null,"description_en":"Total number of matching daily report results."},{"name":"results","type":"array<object>","label":"DailyReportViewModelSearchResult","description":null,"description_en":"List of daily report items matching the search."},{"name":"questionUin","type":"string","label":"GroupedQuestionViewModel","description":null,"description_en":"Unique identifying number of a grouped question."},{"name":"dateTabled","type":"string (date-time)","label":"GroupedQuestionViewModel","format":"date-time","description":null,"description_en":"Date the grouped question was tabled."},{"name":"linkedStatementId","type":"integer (int32)","label":"LinkedStatements","format":"int32","description":null,"description_en":"Identifier of a statement linked to this record."},{"name":"linkType","type":"object","label":"LinkedStatements","description":null,"description_en":"Type of relationship between linked statements."},{"name":"linkDate","type":"string (date-time)","label":"LinkedStatements","format":"date-time","description":null,"description_en":"Date the linked statement relationship was created."},{"name":"listAs","type":"string","label":"MemberViewModel","description":null,"description_en":"Name format used to list the member."},{"name":"name","type":"string","label":"MemberViewModel","description":null,"description_en":"Full name of the member."},{"name":"party","type":"string","label":"MemberViewModel","description":null,"description_en":"Political party of the member."},{"name":"partyColour","type":"string","label":"MemberViewModel","description":null,"description_en":"Colour associated with the member's political party."},{"name":"partyAbbreviation","type":"string","label":"MemberViewModel","description":null,"description_en":"Abbreviated name of the member's political party."},{"name":"memberFrom","type":"string","label":"MemberViewModel","description":null,"description_en":"Constituency or region the member represents."},{"name":"thumbnailUrl","type":"string","label":"MemberViewModel","description":null,"description_en":"URL to the member's thumbnail image."},{"name":"askingMember","type":"object","label":"QuestionsViewModel","description":null,"description_en":"Details of the member who asked the question."},{"name":"memberHasInterest","type":"boolean","label":"QuestionsViewModel","description":null,"description_en":"Whether the asking member has a declared interest."},{"name":"dateForAnswer","type":"string (date-time)","label":"QuestionsViewModel","format":"date-time","description":null,"description_en":"Due date by which the question is to be answered."},{"name":"questionText","type":"string","label":"QuestionsViewModel","description":null,"description_en":"Full text of the written question."},{"name":"answeringBodyId","type":"integer (int32)","label":"QuestionsViewModel","format":"int32","description":null,"description_en":"Identifier of the government body answering the question."},{"name":"answeringBodyName","type":"string","label":"QuestionsViewModel","description":null,"description_en":"Name of the government body answering the question."},{"name":"isWithdrawn","type":"boolean","label":"QuestionsViewModel","description":null,"description_en":"Whether the question has been withdrawn."},{"name":"isNamedDay","type":"boolean","label":"QuestionsViewModel","description":null,"description_en":"Whether the question was tabled for a named day answer."},{"name":"groupedQuestions","type":"array<string>","label":"QuestionsViewModel","description":null,"description_en":"UINs of other questions grouped with this one."},{"name":"answerIsHolding","type":"boolean","label":"QuestionsViewModel","description":null,"description_en":"Whether the answer given is a holding answer."},{"name":"answerIsCorrection","type":"boolean","label":"QuestionsViewModel","description":null,"description_en":"Whether the answer is a correction of a previous answer."},{"name":"answeringMember","type":"object","label":"QuestionsViewModel","description":null,"description_en":"Details of the member who answered the question."},{"name":"correctingMemberId","type":"integer (int32)","label":"QuestionsViewModel","format":"int32","description":null,"description_en":"Identifier of the member who corrected the answer."},{"name":"correctingMember","type":"object","label":"QuestionsViewModel","description":null,"description_en":"Details of the member who corrected the answer."},{"name":"dateAnswered","type":"string (date-time)","label":"QuestionsViewModel","format":"date-time","description":null,"description_en":"Date the question was answered."},{"name":"answerText","type":"string","label":"QuestionsViewModel","description":null,"description_en":"Full text of the answer given."},{"name":"originalAnswerText","type":"string","label":"QuestionsViewModel","description":null,"description_en":"Original answer text before any correction."},{"name":"comparableAnswerText","type":"string","label":"QuestionsViewModel","description":null,"description_en":"Normalised answer text used for comparison purposes."},{"name":"dateAnswerCorrected","type":"string (date-time)","label":"QuestionsViewModel","format":"date-time","description":null,"description_en":"Date the answer was corrected."},{"name":"dateHoldingAnswer","type":"string (date-time)","label":"QuestionsViewModel","format":"date-time","description":null,"description_en":"Date a holding answer was given."},{"name":"attachmentCount","type":"integer (int32)","label":"QuestionsViewModel","format":"int32","description":null,"description_en":"Number of attachments associated with the question."},{"name":"heading","type":"string","label":"QuestionsViewModel","description":null,"description_en":"Subject heading of the question."},{"name":"attachments","type":"array<object>","label":"QuestionsViewModel","description":null,"description_en":"List of files attached to the question."},{"name":"groupedQuestionsDates","type":"array<object>","label":"QuestionsViewModel","description":null,"description_en":"Tabled dates of questions grouped with this one."},{"name":"memberId","type":"integer (int32)","label":"StatementsViewModel","format":"int32","description":null,"description_en":"Identifier of the member who made the statement."},{"name":"member","type":"object","label":"StatementsViewModel","description":null,"description_en":"Details of the member who made the statement."},{"name":"memberRole","type":"string","label":"StatementsViewModel","description":null,"description_en":"Ministerial or other role held by the member."},{"name":"dateMade","type":"string (date-time)","label":"StatementsViewModel","format":"date-time","description":null,"description_en":"Date the statement was made."},{"name":"text","type":"string","label":"StatementsViewModel","description":null,"description_en":"Full text of the statement."},{"name":"noticeNumber","type":"integer (int32)","label":"StatementsViewModel","format":"int32","description":null,"description_en":"Notice number assigned to the statement."},{"name":"hasAttachments","type":"boolean","label":"StatementsViewModel","description":null,"description_en":"Whether the statement has associated attachments."},{"name":"hasLinkedStatements","type":"boolean","label":"StatementsViewModel","description":null,"description_en":"Whether the statement has linked statements."},{"name":"linkedStatements","type":"array<object>","label":"StatementsViewModel","description":null,"description_en":"List of statements linked to this one."},{"name":"rel","type":"string","label":"Link","description":null,"description_en":"Relationship type of the link."},{"name":"href","type":"string","label":"Link","description":null,"description_en":"URL target of the link."},{"name":"method","type":"string","label":"Link","description":null,"description_en":"HTTP method used for the link."},{"name":"type","type":"string","label":"ProblemDetails","description":null,"description_en":"URI identifying the type of error."},{"name":"status","type":"integer (int32)","label":"ProblemDetails","format":"int32","description":null,"description_en":"HTTP status code of the error response."},{"name":"detail","type":"string","label":"ProblemDetails","description":null,"description_en":"Human-readable explanation of the error."},{"name":"instance","type":"string","label":"ProblemDetails","description":null,"description_en":"URI identifying the specific occurrence of the error."}],"field_count":89,"sample_records":null,"record_count":null,"data_size_bytes":null,"dataset_count":null,"query_examples":[{"url":"https://writtenquestions-api.parliament.uk/swagger/v1/swagger.json","curl":"curl -s 'https://writtenquestions-api.parliament.uk/swagger/v1/swagger.json' -H 'Accept: application/json'","label":"OpenAPI spec","method":"GET","description":"Machine-readable API description (use it to generate clients)."},{"url":"https://writtenquestions-api.parliament.uk/api/dailyreports/dailyreports","curl":"curl -s 'https://writtenquestions-api.parliament.uk/api/dailyreports/dailyreports' -H 'Accept: application/json'","label":"Returns a list of daily reports","method":"GET","description":"Returns a list of daily reports"}],"status":"partial","error_message":null,"profiled_at":"2026-07-27T16:15:07.070Z","run_id":"ca300dbb-6eae-4f51-9d32-0420107e5e9f","created_at":"2026-06-12T19:03:27.867Z","updated_at":"2026-07-27T16:15:07.070Z","license_raw":null,"license_id":null,"consecutive_failure_count":0,"last_error_at":null,"last_error_message":null,"previewable":false},"datasets":[],"limits":[]}