curl -X POST "https://parsagon.io/api/events/v1/quick-search/" \ -H "Authorization: Token YOUR_API_KEY_HERE" \ -H "Content-Type: application/json" \ -d '{ "categories": [34], "context": "User is a medical association", "filter_prompt": "Healthcare policy and regulatory developments impacting health insurers and healthcare providers\nLegislation related to insurance mandates, consumer protections, and healthcare affordability", "date_range": { "start_date": "2026-02-02T08:00", "end_date": "2026-02-04T08:00" } }'
{ "search_results": [ { "url": "https://legislature.maine.gov/LawMakerWeb/summary.asp?ID=280101474", "title": "An Act to Lower Health Insurance Costs, Reduce Barriers to Health Care and Ensure Fair Prices for Health Care", "text": "Be it enacted by the People of the State of Maine as follows:...", "summary": "This act aims to lower health insurance costs, reduce barriers to health care, and ensure fair prices for health care services in Maine.", "date": "2026-02-03", "type": "LAW", "extra_data": { "last_action": "Committee on Health Coverage, Insurance and Financial Services suggested and ordered printed. The Bill was REFERRED to the Committee on HEALTH AND HUMAN SERVICES.", "last_action_date": "2/3/2026" }, "search_topics": [0], "jurisdictions": ["US Maine"] } ], "error": null, "is_test": false}
Endpoints
Quick Search
Execute a search and receive results immediately, without needing to poll a persistent Search object for completion.
curl -X POST "https://parsagon.io/api/events/v1/quick-search/" \ -H "Authorization: Token YOUR_API_KEY_HERE" \ -H "Content-Type: application/json" \ -d '{ "categories": [34], "context": "User is a medical association", "filter_prompt": "Healthcare policy and regulatory developments impacting health insurers and healthcare providers\nLegislation related to insurance mandates, consumer protections, and healthcare affordability", "date_range": { "start_date": "2026-02-02T08:00", "end_date": "2026-02-04T08:00" } }'
{ "search_results": [ { "url": "https://legislature.maine.gov/LawMakerWeb/summary.asp?ID=280101474", "title": "An Act to Lower Health Insurance Costs, Reduce Barriers to Health Care and Ensure Fair Prices for Health Care", "text": "Be it enacted by the People of the State of Maine as follows:...", "summary": "This act aims to lower health insurance costs, reduce barriers to health care, and ensure fair prices for health care services in Maine.", "date": "2026-02-03", "type": "LAW", "extra_data": { "last_action": "Committee on Health Coverage, Insurance and Financial Services suggested and ordered printed. The Bill was REFERRED to the Committee on HEALTH AND HUMAN SERVICES.", "last_action_date": "2/3/2026" }, "search_topics": [0], "jurisdictions": ["US Maine"] } ], "error": null, "is_test": false}
The Quick Search endpoint runs a search synchronously and returns results directly in the response. A Search object is still created and counts toward your quota, but unlike Advanced Search you don’t need to poll for results — they’re returned immediately.
A dictionary of string key-value pairs for your own record keeping. Use this to attach metadata to the search, such as the project or team it belongs to (for example, {"project": "tax-reform", "team": "policy"}).
Set to true to validate the request and return example data without running a source search. Required fields such as categories, filter_prompt, and date_range are still validated normally.
For "LAW" documents, an object containing additional legislative metadata. May include status, last_action, and last_action_date — not all fields are present on every document. For non-"LAW" documents, this is usually empty.
curl -X POST "https://parsagon.io/api/events/v1/quick-search/" \ -H "Authorization: Token YOUR_API_KEY_HERE" \ -H "Content-Type: application/json" \ -d '{ "categories": [34], "context": "User is a medical association", "filter_prompt": "Healthcare policy and regulatory developments impacting health insurers and healthcare providers\nLegislation related to insurance mandates, consumer protections, and healthcare affordability", "date_range": { "start_date": "2026-02-02T08:00", "end_date": "2026-02-04T08:00" } }'
{ "search_results": [ { "url": "https://legislature.maine.gov/LawMakerWeb/summary.asp?ID=280101474", "title": "An Act to Lower Health Insurance Costs, Reduce Barriers to Health Care and Ensure Fair Prices for Health Care", "text": "Be it enacted by the People of the State of Maine as follows:...", "summary": "This act aims to lower health insurance costs, reduce barriers to health care, and ensure fair prices for health care services in Maine.", "date": "2026-02-03", "type": "LAW", "extra_data": { "last_action": "Committee on Health Coverage, Insurance and Financial Services suggested and ordered printed. The Bill was REFERRED to the Committee on HEALTH AND HUMAN SERVICES.", "last_action_date": "2/3/2026" }, "search_topics": [0], "jurisdictions": ["US Maine"] } ], "error": null, "is_test": false}
Use is_test: true to test your integration without running a source search. The endpoint still validates the request body the same way it does for a normal Quick Search request.
Example test request body
{ "categories": [34], "context": "User is a medical association", "filter_prompt": "Healthcare policy and regulatory developments", "date_range": { "duration_seconds": 86400 }, "is_test": true, "test_data": { "search_results": [ { "url": "https://example.com/policy-update", "title": "Example policy update", "text": "Example source text for testing.", "summary": "Example summary returned in test mode.", "date": "2026-02-03", "type": "ARTICLE", "extra_data": {}, "search_topics": [0], "jurisdictions": ["US Maine"] } ] }}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Parsagon API","colors":{"primary":"#006ef5","light":"#006ef5","dark":"#006ef5"},"logo":{"light":"https://mintcdn.com/parsagon/OT9jFrMDyW944O06/logo/light.svg?fit=max\u0026auto=format\u0026n=OT9jFrMDyW944O06\u0026q=85\u0026s=41a1f2238536b1d77487a185943344fe","dark":"https://mintcdn.com/parsagon/OT9jFrMDyW944O06/logo/dark.svg?fit=max\u0026auto=format\u0026n=OT9jFrMDyW944O06\u0026q=85\u0026s=e9ea4cecbc58e9d572b29ed29e144b51"},"favicon":"https://mintcdn.com/parsagon/Yy5RDPLer2_vomkc/favicon.ico?fit=max\u0026auto=format\u0026n=Yy5RDPLer2_vomkc\u0026q=85\u0026s=76c2033c2239575c7e1a0012648bba35","api":{"playground":{"display":"none"}},"appearance":{"default":"light","strict":false},"navbar":{"links":[{"href":"mailto:webmaster@parsagon.io","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://parsagon.io/create-alert"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/parsagon"}},"contextual":{"options":["copy","view","claude","chatgpt","perplexity"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"parsagon","hasAudioNarration":false,"actualSubdomain":"parsagon","customDomains":["docs.parsagon.io"],"gitSource":{"type":"github","owner":"parsagon","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ac532ce29c332f1e378425b","collectionId":"34fdc1cc-15d1-4cd9-bb16-79651f4de251","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac532ce29c332f1e378425b"},"entitlements":{},"buildId":"6ac532ce29c332f1e378425b","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"Endpoints","count":13},{"language":"default","tag":"AI tools","count":4},{"language":"default","tag":"Overview","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/quick-search","slug":"/api-reference/endpoint/quick-search","pageMetadata":{"title":"Quick Search","description":"Execute a search and receive results immediately, without needing to poll a persistent Search object for completion.","api":"POST https://parsagon.io/api/events/v1/quick-search/","href":"/api-reference/endpoint/quick-search"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Execute a search and receive results immediately, without needing to poll a persistent Search object for completion.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The Quick Search endpoint runs a search synchronously and returns results directly in the response. A Search object is still created and counts toward your quota, but unlike Advanced Search you don’t need to poll for results — they’re returned immediately.`}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsx(ParamField,{body:`categories`,type:`array`,required:true,id:`param-categories`,children:_jsx(_components.p,{children:`Array of category IDs to include in the search results.`})}),`\n`,_jsx(ParamField,{body:`context`,type:`string`,id:`param-context`,children:_jsx(_components.p,{children:`Additional context for the AI to tailor the search and reporting (for example, your organization or focus area). Maximum 1000 characters.`})}),`\n`,_jsx(ParamField,{body:`filter_prompt`,type:`string`,required:true,id:`param-filter-prompt`,children:_jsx(_components.p,{children:`A list of policy topics to search for, one per line. Longer, descriptive phrases work best. Maximum 5000 characters.`})}),`\n`,_jsx(ParamField,{body:`labels`,type:`object`,id:`param-labels`,children:_jsxs(_components.p,{children:[`A dictionary of string key-value pairs for your own record keeping. Use this to attach metadata to the search, such as the project or team it belongs to (for example, `,_jsx(_components.code,{children:`{\"project\": \"tax-reform\", \"team\": \"policy\"}`}),`).`]})}),`\n`,_jsx(ParamField,{body:`is_test`,type:`boolean`,id:`param-is-test`,children:_jsxs(_components.p,{children:[`Set to `,_jsx(_components.code,{children:`true`}),` to validate the request and return example data without running a source search. Required fields such as `,_jsx(_components.code,{children:`categories`}),`, `,_jsx(_components.code,{children:`filter_prompt`}),`, and `,_jsx(_components.code,{children:`date_range`}),` are still validated normally.`]})}),`\n`,_jsxs(ParamField,{body:`test_data`,type:`object`,id:`param-test-data`,children:[_jsxs(_components.p,{children:[`Custom dummy data to return when `,_jsx(_components.code,{children:`is_test`}),` is `,_jsx(_components.code,{children:`true`}),`. Quick Search only supports custom `,_jsx(_components.code,{children:`search_results`}),`; it does not support custom edited outputs.`]}),_jsx(Expandable,{title:`Test data fields`,children:_jsx(ParamField,{body:`search_results`,type:`array`,id:`param-search-results`,children:_jsx(_components.p,{children:`Array of search result objects to return instead of Parsagon’s built-in example results.`})})})]}),`\n`,_jsxs(ParamField,{body:`date_range`,type:`object`,required:true,id:`param-date-range`,children:[_jsxs(_components.p,{children:[`Time period to search within. Must cover no more than `,_jsx(_components.strong,{children:`72 hours (3 days)`}),` — use either `,_jsx(_components.code,{children:`start_date`}),`/`,_jsx(_components.code,{children:`end_date`}),` or `,_jsx(_components.code,{children:`duration_seconds`}),` ≤ 259200.`]}),_jsxs(Expandable,{title:`Fixed range`,children:[_jsx(ParamField,{body:`start_date`,type:`string`,id:`param-start-date`,children:_jsx(_components.p,{children:`ISO 8601 datetime (UTC). The earliest supported value is 90 days before the time of the request.`})}),_jsx(ParamField,{body:`end_date`,type:`string`,id:`param-end-date`,children:_jsx(_components.p,{children:`ISO 8601 datetime (UTC).`})})]}),_jsx(Expandable,{title:`Relative duration`,children:_jsx(ParamField,{body:`duration_seconds`,type:`number`,id:`param-duration-seconds`,children:_jsx(_components.p,{children:`Positive number of seconds before “now” to search within (maximum 259200).`})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`search_results`,type:`array`,id:`param-search-results-1`,children:[_jsx(_components.p,{children:`Array of search result objects.`}),_jsxs(Expandable,{title:`Search result fields`,children:[_jsx(ResponseField,{name:`url`,type:`string`,id:`param-url`,children:_jsx(_components.p,{children:`URL of the source document.`})}),_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`Title of the document.`})}),_jsx(ResponseField,{name:`date`,type:`string`,id:`param-date`,children:_jsx(_components.p,{children:`Date when Parsagon collected the document (ISO 8601, UTC). This may differ slightly from the original publication date.`})}),_jsx(ResponseField,{name:`text`,type:`string`,id:`param-text`,children:_jsx(_components.p,{children:`Full text (or main body) of the document.`})}),_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary`,children:_jsx(_components.p,{children:`AI-generated 1–2 sentence summary of the document.`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[`Type of document. Either `,_jsx(_components.code,{children:`\"ARTICLE\"`}),` (press releases, announcements, generic articles, and similar content) or `,_jsx(_components.code,{children:`\"LAW\"`}),` (bills and legislation).`]})}),_jsx(ResponseField,{name:`extra_data`,type:`object`,id:`param-extra-data`,children:_jsxs(_components.p,{children:[`For `,_jsx(_components.code,{children:`\"LAW\"`}),` documents, an object containing additional legislative metadata. May include `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`last_action`}),`, and `,_jsx(_components.code,{children:`last_action_date`}),` — not all fields are present on every document. For non-`,_jsx(_components.code,{children:`\"LAW\"`}),` documents, this is usually empty.`]})}),_jsx(ResponseField,{name:`search_topics`,type:`array`,id:`param-search-topics`,children:_jsxs(_components.p,{children:[`List of integers, each being the zero-based index of a line in `,_jsx(_components.code,{children:`filter_prompt`}),` that is relevant to this search result.`]})}),_jsx(ResponseField,{name:`jurisdictions`,type:`array`,id:`param-jurisdictions`,children:_jsx(_components.p,{children:`List of jurisdictions that apply to this result.`})})]})]}),`\n`,_jsx(ResponseField,{name:`error`,type:`string | null`,id:`param-error`,children:_jsxs(_components.p,{children:[`Error message if an error occurred; otherwise `,_jsx(_components.code,{children:`null`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`is_test`,type:`boolean`,id:`param-is-test-1`,children:_jsx(_components.p,{children:`Whether the Search was created in test mode.`})}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`test-mode`,children:`Test mode`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`is_test: true`}),` to test your integration without running a source search. The endpoint still validates the request body the same way it does for a normal Quick Search request.`]}),`\n`,_jsx(CodeBlock,{filename:`Example test request body`,numberOfLines:`24`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`24`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"categories\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`34`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"context\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"User is a medical association\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filter_prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Healthcare policy and regulatory developments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date_range\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration_seconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`86400`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_test\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"test_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"search_results\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/policy-update\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example policy update\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example source text for testing.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"summary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example summary returned in test mode.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-02-03\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ARTICLE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"extra_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"search_topics\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"jurisdictions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"US Maine\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Quick Search","description":"Execute a search and receive results immediately, without needing to poll a persistent Search object for completion.","api":"POST https://parsagon.io/api/events/v1/quick-search/","href":"/api-reference/endpoint/quick-search"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The Quick Search endpoint runs a search synchronously and returns results directly in the response. A Search object is still created and counts toward your quota, but unlike Advanced Search you don’t need to poll for results — they’re returned immediately.`}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsx(ParamField,{body:`categories`,type:`array`,required:true,id:`param-categories`,children:_jsx(_components.p,{children:`Array of category IDs to include in the search results.`})}),`\n`,_jsx(ParamField,{body:`context`,type:`string`,id:`param-context`,children:_jsx(_components.p,{children:`Additional context for the AI to tailor the search and reporting (for example, your organization or focus area). Maximum 1000 characters.`})}),`\n`,_jsx(ParamField,{body:`filter_prompt`,type:`string`,required:true,id:`param-filter-prompt`,children:_jsx(_components.p,{children:`A list of policy topics to search for, one per line. Longer, descriptive phrases work best. Maximum 5000 characters.`})}),`\n`,_jsx(ParamField,{body:`labels`,type:`object`,id:`param-labels`,children:_jsxs(_components.p,{children:[`A dictionary of string key-value pairs for your own record keeping. Use this to attach metadata to the search, such as the project or team it belongs to (for example, `,_jsx(_components.code,{children:`{\"project\": \"tax-reform\", \"team\": \"policy\"}`}),`).`]})}),`\n`,_jsx(ParamField,{body:`is_test`,type:`boolean`,id:`param-is-test`,children:_jsxs(_components.p,{children:[`Set to `,_jsx(_components.code,{children:`true`}),` to validate the request and return example data without running a source search. Required fields such as `,_jsx(_components.code,{children:`categories`}),`, `,_jsx(_components.code,{children:`filter_prompt`}),`, and `,_jsx(_components.code,{children:`date_range`}),` are still validated normally.`]})}),`\n`,_jsxs(ParamField,{body:`test_data`,type:`object`,id:`param-test-data`,children:[_jsxs(_components.p,{children:[`Custom dummy data to return when `,_jsx(_components.code,{children:`is_test`}),` is `,_jsx(_components.code,{children:`true`}),`. Quick Search only supports custom `,_jsx(_components.code,{children:`search_results`}),`; it does not support custom edited outputs.`]}),_jsx(Expandable,{title:`Test data fields`,children:_jsx(ParamField,{body:`search_results`,type:`array`,id:`param-search-results`,children:_jsx(_components.p,{children:`Array of search result objects to return instead of Parsagon’s built-in example results.`})})})]}),`\n`,_jsxs(ParamField,{body:`date_range`,type:`object`,required:true,id:`param-date-range`,children:[_jsxs(_components.p,{children:[`Time period to search within. Must cover no more than `,_jsx(_components.strong,{children:`72 hours (3 days)`}),` — use either `,_jsx(_components.code,{children:`start_date`}),`/`,_jsx(_components.code,{children:`end_date`}),` or `,_jsx(_components.code,{children:`duration_seconds`}),` ≤ 259200.`]}),_jsxs(Expandable,{title:`Fixed range`,children:[_jsx(ParamField,{body:`start_date`,type:`string`,id:`param-start-date`,children:_jsx(_components.p,{children:`ISO 8601 datetime (UTC). The earliest supported value is 90 days before the time of the request.`})}),_jsx(ParamField,{body:`end_date`,type:`string`,id:`param-end-date`,children:_jsx(_components.p,{children:`ISO 8601 datetime (UTC).`})})]}),_jsx(Expandable,{title:`Relative duration`,children:_jsx(ParamField,{body:`duration_seconds`,type:`number`,id:`param-duration-seconds`,children:_jsx(_components.p,{children:`Positive number of seconds before “now” to search within (maximum 259200).`})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`search_results`,type:`array`,id:`param-search-results-1`,children:[_jsx(_components.p,{children:`Array of search result objects.`}),_jsxs(Expandable,{title:`Search result fields`,children:[_jsx(ResponseField,{name:`url`,type:`string`,id:`param-url`,children:_jsx(_components.p,{children:`URL of the source document.`})}),_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`Title of the document.`})}),_jsx(ResponseField,{name:`date`,type:`string`,id:`param-date`,children:_jsx(_components.p,{children:`Date when Parsagon collected the document (ISO 8601, UTC). This may differ slightly from the original publication date.`})}),_jsx(ResponseField,{name:`text`,type:`string`,id:`param-text`,children:_jsx(_components.p,{children:`Full text (or main body) of the document.`})}),_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary`,children:_jsx(_components.p,{children:`AI-generated 1–2 sentence summary of the document.`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[`Type of document. Either `,_jsx(_components.code,{children:`\"ARTICLE\"`}),` (press releases, announcements, generic articles, and similar content) or `,_jsx(_components.code,{children:`\"LAW\"`}),` (bills and legislation).`]})}),_jsx(ResponseField,{name:`extra_data`,type:`object`,id:`param-extra-data`,children:_jsxs(_components.p,{children:[`For `,_jsx(_components.code,{children:`\"LAW\"`}),` documents, an object containing additional legislative metadata. May include `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`last_action`}),`, and `,_jsx(_components.code,{children:`last_action_date`}),` — not all fields are present on every document. For non-`,_jsx(_components.code,{children:`\"LAW\"`}),` documents, this is usually empty.`]})}),_jsx(ResponseField,{name:`search_topics`,type:`array`,id:`param-search-topics`,children:_jsxs(_components.p,{children:[`List of integers, each being the zero-based index of a line in `,_jsx(_components.code,{children:`filter_prompt`}),` that is relevant to this search result.`]})}),_jsx(ResponseField,{name:`jurisdictions`,type:`array`,id:`param-jurisdictions`,children:_jsx(_components.p,{children:`List of jurisdictions that apply to this result.`})})]})]}),`\n`,_jsx(ResponseField,{name:`error`,type:`string | null`,id:`param-error`,children:_jsxs(_components.p,{children:[`Error message if an error occurred; otherwise `,_jsx(_components.code,{children:`null`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`is_test`,type:`boolean`,id:`param-is-test-1`,children:_jsx(_components.p,{children:`Whether the Search was created in test mode.`})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`12`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://parsagon.io/api/events/v1/quick-search/\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Token YOUR_API_KEY_HERE\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"categories\": [34],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"context\": \"User is a medical association\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"filter_prompt\": \"Healthcare policy and regulatory developments impacting health insurers and healthcare providers\\\\nLegislation related to insurance mandates, consumer protections, and healthcare affordability\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"date_range\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"start_date\": \"2026-02-02T08:00\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"end_date\": \"2026-02-04T08:00\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Example response`,numberOfLines:`20`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"search_results\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://legislature.maine.gov/LawMakerWeb/summary.asp?ID=280101474\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"An Act to Lower Health Insurance Costs, Reduce Barriers to Health Care and Ensure Fair Prices for Health Care\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Be it enacted by the People of the State of Maine as follows:...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"summary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This act aims to lower health insurance costs, reduce barriers to health care, and ensure fair prices for health care services in Maine.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-02-03\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LAW\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"extra_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Committee on Health Coverage, Insurance and Financial Services suggested and ordered printed. The Bill was REFERRED to the Committee on HEALTH AND HUMAN SERVICES.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_action_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2/3/2026\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"search_topics\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"jurisdictions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"US Maine\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_test\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`test-mode`,children:`Test mode`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`is_test: true`}),` to test your integration without running a source search. The endpoint still validates the request body the same way it does for a normal Quick Search request.`]}),`\n`,_jsx(CodeBlock,{filename:`Example test request body`,numberOfLines:`24`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`24`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"categories\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`34`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"context\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"User is a medical association\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filter_prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Healthcare policy and regulatory developments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date_range\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration_seconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`86400`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_test\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"test_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"search_results\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/policy-update\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example policy update\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example source text for testing.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"summary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example summary returned in test mode.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-02-03\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ARTICLE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"extra_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"search_topics\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"jurisdictions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"US Maine\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Quick Search","description":"Execute a search and receive results immediately, without needing to poll a persistent Search object for completion.","api":"POST https://parsagon.io/api/events/v1/quick-search/","href":"/api-reference/endpoint/quick-search"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Request body","slug":"request-body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Test mode","slug":"test-mode","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://parsagon.io/api/events/v1/quick-search/\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Token YOUR_API_KEY_HERE\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"categories\": [34],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"context\": \"User is a medical association\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"filter_prompt\": \"Healthcare policy and regulatory developments impacting health insurers and healthcare providers\\nLegislation related to insurance mandates, consumer protections, and healthcare affordability\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"date_range\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"start_date\": \"2026-02-02T08:00\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"end_date\": \"2026-02-04T08:00\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Example response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"20\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"search_results\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://legislature.maine.gov/LawMakerWeb/summary.asp?ID=280101474\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"An Act to Lower Health Insurance Costs, Reduce Barriers to Health Care and Ensure Fair Prices for Health Care\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"text\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Be it enacted by the People of the State of Maine as follows:...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"summary\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"This act aims to lower health insurance costs, reduce barriers to health care, and ensure fair prices for health care services in Maine.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-02-03\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"LAW\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"extra_data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"last_action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Committee on Health Coverage, Insurance and Financial Services suggested and ordered printed. The Bill was REFERRED to the Committee on HEALTH AND HUMAN SERVICES.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"last_action_date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2/3/2026\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"search_topics\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"jurisdictions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"US Maine\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"is_test\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Quick Search","path":"/api/events/v1/quick-search/","servers":[{"url":"https://parsagon.io"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"categories":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of category IDs to include in the search results.","required":true}],"context":[{"type":"string","description":"Additional context for the AI to tailor the search and reporting (for example, your organization or focus area). Maximum 1000 characters."}],"filter_prompt":[{"type":"string","description":"A list of policy topics to search for, one per line. Longer, descriptive phrases work best. Maximum 5000 characters.","required":true}],"labels":[{"type":"object","properties":{},"description":"A dictionary of string key-value pairs for your own record keeping. Use this to attach metadata to the search, such as the project or team it belongs to (for example, `{\"project\": \"tax-reform\", \"team\": \"policy\"}` )."}],"is_test":[{"type":"boolean","description":"Set to `true` to validate the request and return example data without running a source search. Required fields such as `categories` , `filter_prompt` , and `date_range` are still validated normally."}],"test_data":[{"type":"object","properties":{"search_results":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of search result objects to return instead of Parsagon’s built-in example results."}]},"description":"Custom dummy data to return when `is_test` is `true` . Quick Search only supports custom `search_results` ; it does not support custom edited outputs."}],"date_range":[{"type":"object","properties":{"start_date":[{"type":"string","description":"ISO 8601 datetime (UTC). The earliest supported value is 90 days before the time of the request."}],"end_date":[{"type":"string","description":"ISO 8601 datetime (UTC)."}],"duration_seconds":[{"type":"number","description":"Positive number of seconds before “now” to search within (maximum 259200)."}]},"description":"Time period to search within. Must cover no more than 72 hours (3 days) — use either `start_date` / `end_date` or `duration_seconds` ≤ 259200.","required":true}]}}],"examples":{"example":{"value":{"categories":[{}],"context":"\u003cstring>","filter_prompt":"\u003cstring>","labels":{},"is_test":true,"test_data":{"search_results":[{}]},"date_range":{"start_date":"\u003cstring>","end_date":"\u003cstring>","duration_seconds":123}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"search_results":[{"type":"array","items":[{"type":"object","properties":{"url":[{"type":"string","description":"URL of the source document."}],"title":[{"type":"string","description":"Title of the document."}],"date":[{"type":"string","description":"Date when Parsagon collected the document (ISO 8601, UTC). This may differ slightly from the original publication date."}],"text":[{"type":"string","description":"Full text (or main body) of the document."}],"summary":[{"type":"string","description":"AI-generated 1–2 sentence summary of the document."}],"type":[{"type":"string","description":"Type of document. Either `\"ARTICLE\"` (press releases, announcements, generic articles, and similar content) or `\"LAW\"` (bills and legislation)."}],"extra_data":[{"type":"object","properties":{},"description":"For `\"LAW\"` documents, an object containing additional legislative metadata. May include `status` , `last_action` , and `last_action_date` — not all fields are present on every document. For non- `\"LAW\"` documents, this is usually empty."}],"search_topics":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"List of integers, each being the zero-based index of a line in `filter_prompt` that is relevant to this search result."}],"jurisdictions":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"List of jurisdictions that apply to this result."}]}}],"description":"Array of search result objects."}],"error":[{"type":"object","properties":{},"description":"Error message if an error occurred; otherwise `null` ."}],"is_test":[{"type":"boolean","description":"Whether the Search was created in test mode."}]}}],"examples":{"example":{"value":{"search_results":[{"url":"\u003cstring>","title":"\u003cstring>","date":"\u003cstring>","text":"\u003cstring>","summary":"\u003cstring>","type":"\u003cstring>","extra_data":{},"search_topics":[{}],"jurisdictions":[{}]}],"error":{},"is_test":true}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"parsagon","siteName":"Parsagon API","title":"Quick Search - Parsagon API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-08T00:16:25.460Z","originalFileLocation":"api-reference/endpoint/quick-search.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Execute a search and receive results immediately, without needing to poll a persistent Search object for completion.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Parsagon API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/parsagon/Z4wUX8FHmkRRWAmT/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/parsagon/Z4wUX8FHmkRRWAmT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/parsagon/Z4wUX8FHmkRRWAmT/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/parsagon/Z4wUX8FHmkRRWAmT/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/parsagon/Z4wUX8FHmkRRWAmT/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/parsagon/Z4wUX8FHmkRRWAmT/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/parsagon/Z4wUX8FHmkRRWAmT/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/parsagon/Z4wUX8FHmkRRWAmT/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/parsagon/Z4wUX8FHmkRRWAmT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Quick Search - Parsagon API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Execute a search and receive results immediately, without needing to poll a persistent Search object for completion.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Parsagon API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.parsagon.io/api-reference/endpoint/quick-search\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://parsagon.mintlify.app/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=Quick+Search\u0026amp;description=Execute+a+search+and+receive+results+immediately%2C+without+needing+to+poll+a+persistent+Search+object+for+completion.\u0026amp;theme=2fc8763e1eb89dd9699b51f6\u0026amp;signature=95e6f4dbddcfc4d7df372d7b6518d6d4be812cd84657843e72afff3c084914ab\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Quick Search - Parsagon API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Execute a search and receive results immediately, without needing to poll a persistent Search object for completion.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://parsagon.mintlify.app/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=Quick+Search\u0026amp;description=Execute+a+search+and+receive+results+immediately%2C+without+needing+to+poll+a+persistent+Search+object+for+completion.\u0026amp;theme=2fc8763e1eb89dd9699b51f6\u0026amp;signature=95e6f4dbddcfc4d7df372d7b6518d6d4be812cd84657843e72afff3c084914ab\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/parsagon/Z4wUX8FHmkRRWAmT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Parsagon API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#006ef5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.parsagon.io/api-reference/endpoint/quick-search\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/quick-search.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.parsagon.io/#organization\",\"name\":\"Parsagon API\",\"url\":\"https://docs.parsagon.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/parsagon/OT9jFrMDyW944O06/logo/light.svg?fit=max\u0026auto=format\u0026n=OT9jFrMDyW944O06\u0026q=85\u0026s=41a1f2238536b1d77487a185943344fe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.parsagon.io#website\",\"name\":\"Parsagon API\",\"url\":\"https://docs.parsagon.io\",\"publisher\":{\"@id\":\"https://docs.parsagon.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.parsagon.io/api-reference/endpoint/quick-search#webpage\",\"url\":\"https://docs.parsagon.io/api-reference/endpoint/quick-search\",\"name\":\"Quick Search\",\"description\":\"Execute a search and receive results immediately, without needing to poll a persistent Search object for completion.\",\"dateModified\":\"2026-06-08T00:16:25.460Z\",\"isPartOf\":{\"@id\":\"https://docs.parsagon.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.parsagon.io/api-reference/endpoint/quick-search#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.parsagon.io/api-reference/endpoint/quick-search#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Parsagon API\",\"item\":\"https://docs.parsagon.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quick Search\",\"item\":\"https://docs.parsagon.io/api-reference/endpoint/quick-search\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.parsagon.io/api-reference/endpoint/quick-search#apireference\",\"headline\":\"Quick Search\",\"name\":\"Quick Search\",\"description\":\"Execute a search and receive results immediately, without needing to poll a persistent Search object for completion.\",\"url\":\"https://docs.parsagon.io/api-reference/endpoint/quick-search\",\"mainEntityOfPage\":{\"@id\":\"https://docs.parsagon.io/api-reference/endpoint/quick-search#webpage\"},\"dateModified\":\"2026-06-08T00:16:25.460Z\",\"publisher\":{\"@id\":\"https://docs.parsagon.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.parsagon.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Parsagon API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Parsagon API","nav":{"global":null,"groups":[{"group":"Overview","pages":[{"title":"Introduction","description":"Programmatically retrieve political monitoring data and AI-generated monitoring reports using the Parsagon Search API.","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"title":"Quick Search","api":"POST https://parsagon.io/api/events/v1/quick-search/","href":"/api-reference/endpoint/quick-search"},{"title":"Create advanced search","description":"Create a persistent Search object processed asynchronously, with results and an AI-generated report available via polling.","api":"POST https://parsagon.io/api/events/v1/search/","href":"/api-reference/endpoint/advanced-search"},{"title":"Retrieve advanced search","api":"GET https://parsagon.io/api/events/v1/search/{search_id}/","href":"/api-reference/endpoint/get-search"},{"title":"List searches","api":"GET https://parsagon.io/api/events/v1/search/","href":"/api-reference/endpoint/list-searches"},{"title":"Create report","api":"POST https://parsagon.io/api/events/v1/reports/","href":"/api-reference/endpoint/create-report"},{"title":"Retrieve report","api":"GET https://parsagon.io/api/events/v1/reports/{report_id}/","href":"/api-reference/endpoint/get-report"},{"title":"Get jurisdiction usage","api":"GET https://parsagon.io/api/usage/v1/jurisdictions/","href":"/api-reference/endpoint/jurisdiction-usage"},{"title":"Get category sources","api":"GET https://parsagon.io/api/events/v1/categories/{category_id}/sources/","href":"/api-reference/endpoint/category-sources"},{"title":"Get category sources v2","api":"GET https://parsagon.io/api/events/v2/categories/{category_id}/sources/","href":"/api-reference/endpoint/category-sources-v2"},{"title":"List transcripts","api":"GET https://parsagon.io/api/transcripts/v1/categories/{category}/transcripts","href":"/api-reference/endpoint/list-transcripts"},{"title":"Search transcripts","api":"GET https://parsagon.io/api/transcripts/v1/categories/{category}/search","href":"/api-reference/endpoint/search-transcripts"},{"title":"Get transcript","api":"GET https://parsagon.io/api/transcripts/v1/{id}","href":"/api-reference/endpoint/get-transcript"},{"title":"Transcript requests","href":"/api-reference/endpoint/transcript-requests"}]},{"group":"AI tools","pages":[{"title":"Coding agent skill","icon":"robot","href":"/ai-tools/coding-agent-skill"},{"title":"Claude Code setup","icon":"asterisk","href":"/ai-tools/claude-code"},{"title":"Cursor setup","icon":"arrow-pointer","href":"/ai-tools/cursor"},{"title":"Windsurf setup","icon":"water","href":"/ai-tools/windsurf"}]}]},"basePath":"","title":"Quick Search - Parsagon API","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DX1Meug0.js","utils-B_OMIQVC.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChxhRPMa.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CuKvD8Iv.js","snippetPresets-C5d7p2hp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CfHcE8m4.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C1zZV314.js","shallow-CmQhqCJn.js","getApiPlaygroundDisplay-YRo9s1O7.js","CodeSnippet-RN1MTdfk.js","CodeSnippets-DKLPHxJA.js","Page-BAvA99GL.js","getPastedJson-bz0M41mU.js","icon-CsmhpPrv.js","MethodPill-CNGsVE77.js","DuplicateIcon-DilfU_Z2.js","createIcon-BdsYzQck.js","DynamicMarkdown-CbqEDjbV.js","SectionHeading-O6hXpFCN.js","axios-vUo_bRtp.js"]}