{ "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" } } ], "error": null}
Endpoints
Quick Search
Execute a one-off search and receive results immediately, without creating a persistent Search object.
{ "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" } } ], "error": null}
The Quick Search endpoint runs an ad-hoc search and returns results directly. Use this for one-off queries where you don’t need to retrieve or reference the results later.
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.
Error message if an error occurred; otherwise null.
Copy
Ask AI
{ "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" } } ], "error": null}
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": [1, 2], "context": "User is a Government Relations Manager for an aerospace company in the UK.", "filter_prompt": "Government funding and subsidies for aerospace R&D innovation\nWorkforce development and skills programs for aerospace manufacturing, engineering, and skilled labour\nRegulations governing aviation safety, environmental impact, and emissions standards", "date_range": { "start_date": "2025-11-14T08:00", "end_date": "2025-11-17T08:00" } }'