{"components":{"securitySchemes":{"bearerAuth":{"scheme":"bearer","type":"http"}}},"info":{"description":"","title":"legislation.gov.uk","version":"1","x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","quote":{"header":"X-AISA-Cost-Mode","value":"quote"}},"x-aisa-catalogs":{"legislation-gov-uk":{"description":"","title":"legislation.gov.uk","x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","quote":{"header":"X-AISA-Cost-Mode","value":"quote"}},"x-aisa-document":{"facts_hash":"aff049cd91d5b74eca28faf2e539de2a875c7ae3d48f9ca135cf316b94806d58","generator_version":"3","protocol_version":"1","schema_version":"1"},"x-aisa-plans":{"builder":1.0,"display_plan":"payg","payg":1.0,"similarweb_payg":1.0,"team":1.0,"version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"}}},"x-aisa-configured-paths":["/apis/v1/legislation-gov-uk/legislation/get-contents","/apis/v1/legislation-gov-uk/legislation/get-provision","/apis/v1/legislation-gov-uk/legislation/list-changes","/apis/v1/legislation-gov-uk/legislation/lookup-identifier","/apis/v1/legislation-gov-uk/legislation/search-legislation"],"x-aisa-document":{"composer_version":"28","document_hash":"sha256:20a0f5266cc1b4472c480104bff489e35edd0041a0791f31ddd664827b28471a","facts_hash":"aff049cd91d5b74eca28faf2e539de2a875c7ae3d48f9ca135cf316b94806d58","generator_version":"3","protocol_version":"1","response_pending":[],"schema_version":"1"},"x-aisa-plans":{"builder":1.0,"display_plan":"payg","payg":1.0,"similarweb_payg":1.0,"team":1.0,"version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"},"x-aisa-provider":"legislation-gov-uk"},"jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","openapi":"3.1.0","paths":{"/apis/v1/legislation-gov-uk/legislation/get-contents":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"legislation-gov-uk.legislation.get-contents","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{"number":1,"type":"example","year":1}},"minimal":{"value":{"number":1,"type":"example","year":1}}},"schema":{"additionalProperties":true,"properties":{"number":{"type":"number"},"type":{"type":"string"},"year":{"type":"number"}},"required":["number","type","year"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Get contents","tags":["legislation.gov.uk"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"legislation-gov-uk","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/legislation-gov-uk/legislation-gov-uk-legislation-get-contents","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"08c4a21bf954"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"legislation-gov-uk.legislation.get-contents","path":"/apis/v1/legislation-gov-uk/legislation/get-contents"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/legislation-gov-uk/legislation/get-contents \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"number\": 1,\n  \"type\": \"example\",\n  \"year\": 1\n}'"}]}},"/apis/v1/legislation-gov-uk/legislation/get-provision":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"legislation-gov-uk.legislation.get-provision","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{"number":1,"provision":"example","type":"example","year":1}},"minimal":{"value":{"number":1,"provision":"example","type":"example","year":1}}},"schema":{"additionalProperties":true,"properties":{"number":{"type":"number"},"provision":{"type":"string"},"type":{"type":"string"},"year":{"type":"number"}},"required":["number","provision","type","year"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Get provision","tags":["legislation.gov.uk"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"legislation-gov-uk","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/legislation-gov-uk/legislation-gov-uk-legislation-get-provision","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"93497f3acd2b"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"legislation-gov-uk.legislation.get-provision","path":"/apis/v1/legislation-gov-uk/legislation/get-provision"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/legislation-gov-uk/legislation/get-provision \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"number\": 1,\n  \"provision\": \"example\",\n  \"type\": \"example\",\n  \"year\": 1\n}'"}]}},"/apis/v1/legislation-gov-uk/legislation/list-changes":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"legislation-gov-uk.legislation.list-changes","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{"number":1,"type":"example","year":1}},"minimal":{"value":{"number":1,"type":"example","year":1}}},"schema":{"additionalProperties":true,"properties":{"number":{"type":"number"},"type":{"type":"string"},"year":{"type":"number"}},"required":["number","type","year"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"List changes","tags":["legislation.gov.uk"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"legislation-gov-uk","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/legislation-gov-uk/legislation-gov-uk-legislation-list-changes","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"90b11a5927c5"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"legislation-gov-uk.legislation.list-changes","path":"/apis/v1/legislation-gov-uk/legislation/list-changes"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/legislation-gov-uk/legislation/list-changes \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"number\": 1,\n  \"type\": \"example\",\n  \"year\": 1\n}'"}]}},"/apis/v1/legislation-gov-uk/legislation/lookup-identifier":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"legislation-gov-uk.legislation.lookup-identifier","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{"title":"example"}},"minimal":{"value":{"title":"example"}}},"schema":{"additionalProperties":true,"properties":{"title":{"type":"string"}},"required":["title"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Lookup identifier","tags":["legislation.gov.uk"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"legislation-gov-uk","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/legislation-gov-uk/legislation-gov-uk-legislation-lookup-identifier","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"346683f9e9fc"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"legislation-gov-uk.legislation.lookup-identifier","path":"/apis/v1/legislation-gov-uk/legislation/lookup-identifier"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/legislation-gov-uk/legislation/lookup-identifier \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"title\": \"example\"\n}'"}]}},"/apis/v1/legislation-gov-uk/legislation/search-legislation":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"legislation-gov-uk.legislation.search-legislation","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{}},"minimal":{"value":{}}},"schema":{"additionalProperties":true,"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Search legislation","tags":["legislation.gov.uk"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"legislation-gov-uk","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/legislation-gov-uk/legislation-gov-uk-legislation-search-legislation","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"4d2e7c2b6ffe"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"legislation-gov-uk.legislation.search-legislation","path":"/apis/v1/legislation-gov-uk/legislation/search-legislation"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/legislation-gov-uk/legislation/search-legislation \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{}'"}]}}},"security":[{"bearerAuth":[]}],"servers":[{"url":"https://api.aisa.one"}]}
