Supports filtering by medical codes, payers, LOBs, LOB categories, states,
effective dates, and full-text search (q). Results default to relevance
order: ranked against q when given, otherwise against the descriptions of
the filtered codes (first 20) — non-matching policies are still returned,
sorted last. With neither q nor codes, results come back in policy-id
order. Payer/LOB/state filters use current applicability by default,
the request’s effective_date window when supplied, or all-time
applicability with retired=true (a retired policy has no current
applicability, so filtering it by today would match nothing). Set
include_applicability=true to include every LOB each policy was ever linked
to, and include_code_groups=true for associated codes.
Policy filters. All fields optional; a policy must satisfy every field given, and within a list field matching any one value is enough. code_refs.match sets whether a policy must match any ref (default) or all refs.
Sort order. Defaults to relevance: ranked against q when given, otherwise against the descriptions of the filtered codes; with neither, policy-id order.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Penelope","colors":{"primary":"#3D7C7B","light":"#5A9998","dark":"#2A5958"},"logo":{"light":"https://mintcdn.com/penelopehealth/dzPBKKrahfn4Jj5z/logo/penelope-logo.png?fit=max\u0026auto=format\u0026n=dzPBKKrahfn4Jj5z\u0026q=85\u0026s=07a5a4b170bb57380759d59319a277a4","dark":"https://mintcdn.com/penelopehealth/dzPBKKrahfn4Jj5z/logo/penelope-logo.png?fit=max\u0026auto=format\u0026n=dzPBKKrahfn4Jj5z\u0026q=85\u0026s=07a5a4b170bb57380759d59319a277a4","href":"https://penelope.health"},"favicon":"https://mintcdn.com/penelopehealth/NERVlXmIW6CgY1ug/logo/favicon.ico?fit=max\u0026auto=format\u0026n=NERVlXmIW6CgY1ug\u0026q=85\u0026s=5bbef43e542ae34302acc7d9055ccbc2","appearance":{"default":"light","strict":true},"background":{"color":{"light":"#F8F3EB","dark":"#6B5D56"}},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}]},"footer":{"links":[{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://penelope.health/privacy"},{"label":"Terms of Service","href":"https://penelope.health/terms"},{"label":"Cookie Policy","href":"https://penelope.health/cookies"}]}]},"integrations":{"telemetry":{"enabled":false}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"penelopehealth","hasAudioNarration":false,"actualSubdomain":"penelopehealth","customDomains":["docs.penelope.health"],"gitSource":{"type":"github","owner":"penelope-health","repo":"undeniable","deployBranch":"release","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adb5daf124faf20fe61a3e8","collectionId":"1f808d07-dd19-453c-9e44-940390753e4f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adb5daf124faf20fe61a3e8"},"entitlements":{},"buildId":"6ade864fa5087fd650cc9362","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"API Reference","count":27},{"language":"default","tag":"Documentation","count":6},{"language":"default","tag":"Penelope API","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/list-policies","slug":"/api-reference/list-policies","pageMetadata":{"title":"List Policies","description":"List medical policies with structured filters.\n\nSupports filtering by medical codes, payers, LOBs, LOB categories, states,\neffective dates, and full-text search (q). Results default to relevance\norder: ranked against q when given, otherwise against the descriptions of\nthe filtered codes (first 20) — non-matching policies are still returned,\nsorted last. With neither q nor codes, results come back in policy-id\norder. Payer/LOB/state filters use current applicability by default,\nthe request's effective_date window when supplied, or all-time\napplicability with retired=true (a retired policy has no current\napplicability, so filtering it by today would match nothing). Set\ninclude_applicability=true to include every LOB each policy was ever linked\nto, and include_code_groups=true for associated codes.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/policies/filter","href":"/api-reference/list-policies","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"List medical policies with structured filters.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Supports filtering by medical codes, payers, LOBs, LOB categories, states,\\neffective dates, and full-text search (q). Results default to relevance\\norder: ranked against q when given, otherwise against the descriptions of\\nthe filtered codes (first 20) — non-matching policies are still returned,\\nsorted last. With neither q nor codes, results come back in policy-id\\norder. Payer/LOB/state filters use current applicability by default,\\nthe request’s effective_date window when supplied, or all-time\\napplicability with retired=true (a retired policy has no current\\napplicability, so filtering it by today would match nothing). Set\\ninclude_applicability=true to include every LOB each policy was ever linked\\nto, and include_code_groups=true for associated codes.\"\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List Policies","description":"List medical policies with structured filters.\n\nSupports filtering by medical codes, payers, LOBs, LOB categories, states,\neffective dates, and full-text search (q). Results default to relevance\norder: ranked against q when given, otherwise against the descriptions of\nthe filtered codes (first 20) — non-matching policies are still returned,\nsorted last. With neither q nor codes, results come back in policy-id\norder. Payer/LOB/state filters use current applicability by default,\nthe request's effective_date window when supplied, or all-time\napplicability with retired=true (a retired policy has no current\napplicability, so filtering it by today would match nothing). Set\ninclude_applicability=true to include every LOB each policy was ever linked\nto, and include_code_groups=true for associated codes.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/policies/filter","href":"/api-reference/list-policies","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"List Policies","description":"List medical policies with structured filters.\n\nSupports filtering by medical codes, payers, LOBs, LOB categories, states,\neffective dates, and full-text search (q). Results default to relevance\norder: ranked against q when given, otherwise against the descriptions of\nthe filtered codes (first 20) — non-matching policies are still returned,\nsorted last. With neither q nor codes, results come back in policy-id\norder. Payer/LOB/state filters use current applicability by default,\nthe request's effective_date window when supplied, or all-time\napplicability with retired=true (a retired policy has no current\napplicability, so filtering it by today would match nothing). Set\ninclude_applicability=true to include every LOB each policy was ever linked\nto, and include_code_groups=true for associated codes.","operationId":"list_policies_v1_policies_filter_post","requestBody":"41a823a7-26a1-47eb-91f2-5be06cbc081e","responses":{"200":"96c2f3b7-7a44-40ce-aedd-829298cfcdf3","422":"b46ce488-2aca-4205-8cf2-20c9cf12e441"},"security":["cd72b956-b4c6-4eab-99e8-d78a718b6ace"],"x-mcp-tool":"list_policies","method":"post","type":"path","servers":["c29e2e7b-cde5-4318-9d6d-2a43b5474003","e063695e-2f88-462c-9f2e-2c4c504913b4"],"path":"/v1/policies/filter","baseUrlOptions":["https://api-sandbox.penelope.health","https://api.penelope.health"],"title":"List Policies","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"policies":{"oneOf":[{"type":"object","title":"PolicyFilter","description":"Policy filters. All fields optional; a policy must satisfy every field given, and within a list field matching any one value is enough. code_refs.match sets whether a policy must match any ref (default) or all refs.","properties":{"q":{"oneOf":[{"type":"string","title":"Q","description":"Full-text search query across policy titles and summaries.","example":"blepharoplasty","uniqueKey":"policies.oneOf.0.q.oneOf.0","typeLabel":"string"},{"type":"null","title":"Q","description":"Full-text search query across policy titles and summaries.","example":"blepharoplasty","uniqueKey":"policies.oneOf.0.q.oneOf.1","typeLabel":"null"}],"uniqueKey":"policies.oneOf.0.q","typeLabel":"string | null"},"code_refs":{"oneOf":[{"type":"object","title":"CodeRefFilter","description":"Filter by medical codes; a policy needs to match only one ref by default (match=any), match=all requires a policy to match every ref.","required":["refs"],"properties":{"refs":{"items":{"properties":{"code_system":{"type":"string","enum":["CPT","CPT_MODIFIER","HCPCS","HCPCS_MODIFIER","ICD10CM"],"title":"Code System","description":"Code system. Only supported tables: CPT, CPT_MODIFIER, HCPCS, HCPCS_MODIFIER, ICD10CM.","examples":["CPT"],"isRequired":true,"uniqueKey":"policies.oneOf.0.code_refs.oneOf.0.refs.items.[INDEX].code_system","typeLabel":"enum\u003cstring>"},"codes":{"items":{"type":"string","uniqueKey":"policies.oneOf.0.code_refs.oneOf.0.refs.items.[INDEX].codes.items.[INDEX]","typeLabel":"string"},"type":"array","minItems":1,"title":"Codes","description":"List of codes to match within the specified code system. Case-insensitive; ICD-10-CM codes may be sent dotted or dotless ('J33.0' and 'J330' are equivalent).","examples":[["15823","67900"]],"isRequired":true,"uniqueKey":"policies.oneOf.0.code_refs.oneOf.0.refs.items.[INDEX].codes","typeLabel":"string[]"},"relationship":{"oneOf":[{"type":"array","items":{"type":"string","enum":["COVERS","DOES_NOT_COVER","REFERENCES"],"uniqueKey":"policies.oneOf.0.code_refs.oneOf.0.refs.items.[INDEX].relationship.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"title":"Relationship","description":"Filter by relationship type (COVERS, DOES_NOT_COVER, REFERENCES). Omit for all.","example":["COVERS","DOES_NOT_COVER","REFERENCES"],"uniqueKey":"policies.oneOf.0.code_refs.oneOf.0.refs.items.[INDEX].relationship.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","title":"Relationship","description":"Filter by relationship type (COVERS, DOES_NOT_COVER, REFERENCES). Omit for all.","example":["COVERS","DOES_NOT_COVER","REFERENCES"],"uniqueKey":"policies.oneOf.0.code_refs.oneOf.0.refs.items.[INDEX].relationship.oneOf.1","typeLabel":"null"}],"uniqueKey":"policies.oneOf.0.code_refs.oneOf.0.refs.items.[INDEX].relationship","typeLabel":"enum\u003cstring>[] | null"}},"additionalProperties":false,"type":"object","required":["code_system","codes"],"title":"CodeReference","description":"Find policies linked to these codes via specified relationships.","uniqueKey":"policies.oneOf.0.code_refs.oneOf.0.refs.items.[INDEX]","typeLabel":"CodeReference · object"},"type":"array","minItems":1,"title":"Refs","description":"Code references to match against. Within a single ref, matching any one of the codes (and any one of the relationship values) is enough.","isRequired":true,"uniqueKey":"policies.oneOf.0.code_refs.oneOf.0.refs","typeLabel":"CodeReference · object[]"},"match":{"type":"string","enum":["any","all"],"title":"Match","description":"'any' (default) = policy matches at least one ref; 'all' = policy matches every ref.","default":"any","examples":["all"],"uniqueKey":"policies.oneOf.0.code_refs.oneOf.0.match","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"policies.oneOf.0.code_refs.oneOf.0","typeLabel":"CodeRefFilter · object"},{"type":"null","description":"Filter by medical codes; a policy needs to match only one ref by default (match=any), match=all requires a policy to match every ref.","uniqueKey":"policies.oneOf.0.code_refs.oneOf.1","typeLabel":"null"}],"uniqueKey":"policies.oneOf.0.code_refs","typeLabel":"CodeRefFilter · object | null"},"lob_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"policies.oneOf.0.lob_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Lob Ids","description":"Filter by line-of-business IDs","example":["KMQTZ_commercial_US_"],"uniqueKey":"policies.oneOf.0.lob_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Lob Ids","description":"Filter by line-of-business IDs","example":["KMQTZ_commercial_US_"],"uniqueKey":"policies.oneOf.0.lob_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"policies.oneOf.0.lob_ids","typeLabel":"string[] | null"},"payer_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"policies.oneOf.0.payer_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Payer Ids","description":"Filter by insurance payer IDs","example":["KMQTZ"],"uniqueKey":"policies.oneOf.0.payer_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Payer Ids","description":"Filter by insurance payer IDs","example":["KMQTZ"],"uniqueKey":"policies.oneOf.0.payer_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"policies.oneOf.0.payer_ids","typeLabel":"string[] | null"},"lobs":{"oneOf":[{"type":"array","items":{"type":"string","enum":["commercial","medicare_part_a","medicare_part_b","medicare_advantage","medicare_part_d","medicaid","individual_aca"],"title":"LobCategory","description":"Line-of-business categories.","uniqueKey":"policies.oneOf.0.lobs.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"title":"Lobs","description":"Filter by line-of-business categories","example":["commercial"],"uniqueKey":"policies.oneOf.0.lobs.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","title":"Lobs","description":"Filter by line-of-business categories","example":["commercial"],"uniqueKey":"policies.oneOf.0.lobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"policies.oneOf.0.lobs","typeLabel":"enum\u003cstring>[] | null"},"states":{"oneOf":[{"type":"array","items":{"type":"string","enum":["AL","AK","AZ","AR","CA","CO","CT","DE","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY","DC","AS","GU","PR","VI","CNMI","NF","SF","DN","QN","UN","EM","WM"],"title":"USState","description":"US states, territories, and Medicare contractor jurisdictions.\n\nIncludes standard 50 US states, DC, territories, and Medicare\ncontractor jurisdiction subdivisions (e.g., Northern California, Queens NY).","uniqueKey":"policies.oneOf.0.states.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"title":"States","description":"Filter by US state codes. Nationwide LOBs (state IS NULL) are always included.","example":["CA","NY"],"uniqueKey":"policies.oneOf.0.states.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","title":"States","description":"Filter by US state codes. Nationwide LOBs (state IS NULL) are always included.","example":["CA","NY"],"uniqueKey":"policies.oneOf.0.states.oneOf.1","typeLabel":"null"}],"uniqueKey":"policies.oneOf.0.states","typeLabel":"enum\u003cstring>[] | null"},"effective_date":{"oneOf":[{"type":"object","title":"EffectiveDateFilter","description":"Restrict to policies in effect during this date range (their effective period overlaps the window). With neither bound set, means all time. Mutually exclusive with retired.","properties":{"start":{"oneOf":[{"type":"string","title":"Start","description":"Window start (inclusive). Returns policies still in effect on or after this date (active policies with no end date are always included).","format":"date","example":"2025-01-01","uniqueKey":"policies.oneOf.0.effective_date.oneOf.0.start.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Start","description":"Window start (inclusive). Returns policies still in effect on or after this date (active policies with no end date are always included).","example":"2025-01-01","uniqueKey":"policies.oneOf.0.effective_date.oneOf.0.start.oneOf.1","typeLabel":"null"}],"uniqueKey":"policies.oneOf.0.effective_date.oneOf.0.start","typeLabel":"string\u003cdate> | null"},"end":{"oneOf":[{"type":"string","title":"End","description":"Window end (inclusive). Returns policies that had taken effect on or before this date.","format":"date","example":"2025-06-15","uniqueKey":"policies.oneOf.0.effective_date.oneOf.0.end.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"End","description":"Window end (inclusive). Returns policies that had taken effect on or before this date.","example":"2025-06-15","uniqueKey":"policies.oneOf.0.effective_date.oneOf.0.end.oneOf.1","typeLabel":"null"}],"uniqueKey":"policies.oneOf.0.effective_date.oneOf.0.end","typeLabel":"string\u003cdate> | null"}},"additionalProperties":false,"uniqueKey":"policies.oneOf.0.effective_date.oneOf.0","typeLabel":"EffectiveDateFilter · object"},{"type":"null","description":"Restrict to policies in effect during this date range (their effective period overlaps the window). With neither bound set, means all time. Mutually exclusive with retired.","uniqueKey":"policies.oneOf.0.effective_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"policies.oneOf.0.effective_date","typeLabel":"EffectiveDateFilter · object | null"},"retired":{"oneOf":[{"type":"boolean","title":"Retired","description":"Filter by retirement status. true=retired (no longer in effect), false=not retired (in effect today or starting later), null/omit=both. Mutually exclusive with effective_date.","example":false,"uniqueKey":"policies.oneOf.0.retired.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Retired","description":"Filter by retirement status. true=retired (no longer in effect), false=not retired (in effect today or starting later), null/omit=both. Mutually exclusive with effective_date.","example":false,"uniqueKey":"policies.oneOf.0.retired.oneOf.1","typeLabel":"null"}],"uniqueKey":"policies.oneOf.0.retired","typeLabel":"boolean | null"}},"additionalProperties":false,"uniqueKey":"policies.oneOf.0","typeLabel":"PolicyFilter · object"},{"type":"null","description":"Policy filters. All fields optional; a policy must satisfy every field given, and within a list field matching any one value is enough. code_refs.match sets whether a policy must match any ref (default) or all refs.","uniqueKey":"policies.oneOf.1","typeLabel":"null"}],"uniqueKey":"policies","typeLabel":"PolicyFilter · object | null"},"sort":{"type":"string","enum":["policy_id_asc","policy_id_desc","title_asc","title_desc","policy_number_asc","policy_number_desc","relevance"],"title":"Sort","description":"Sort order. Defaults to relevance: ranked against q when given, otherwise against the descriptions of the filtered codes; with neither, policy-id order.","default":"relevance","examples":["relevance"],"uniqueKey":"sort","typeLabel":"enum\u003cstring>"},"limit":{"type":"integer","maximum":100,"minimum":1,"title":"Limit","description":"Maximum number of results to return","default":20,"examples":[20],"uniqueKey":"limit","typeLabel":"integer"},"offset":{"type":"integer","minimum":0,"title":"Offset","description":"Number of results to skip for pagination","default":0,"examples":[0],"uniqueKey":"offset","typeLabel":"integer"},"include_applicability":{"type":"boolean","title":"Include Applicability","description":"Include each policy's payer/LOB/geography applicability (regardless of when they applied).","default":false,"examples":[true],"uniqueKey":"include_applicability","typeLabel":"boolean"},"include_code_groups":{"type":"boolean","title":"Include Code Groups","description":"Include code groups (grouped by code system, relationship, and category)","default":false,"examples":[true],"uniqueKey":"include_code_groups","typeLabel":"boolean"}},"additionalProperties":false,"type":"object","title":"PolicyFilterRequest","description":"POST body for /v1/policies/filter.","uniqueKey":"","typeLabel":"PolicyFilterRequest · object"},"examples":{"policy_search":{"title":"policy_search","value":{"policies":{"q":"blepharoplasty","lobs":["commercial"]},"limit":3,"include_applicability":true}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"96c2f3b7-7a44-40ce-aedd-829298cfcdf3":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"data":{"items":{"properties":{"policy_id":{"type":"string","title":"Policy Id","description":"Unique policy identifier","examples":["uhc/MP.002/2026-01-01"],"isRequired":true,"uniqueKey":"data.items.[INDEX].policy_id","typeLabel":"string"},"policy_number":{"type":"string","title":"Policy Number","description":"Policy number assigned by the payer","examples":["MP.002.28"],"isRequired":true,"uniqueKey":"data.items.[INDEX].policy_number","typeLabel":"string"},"title":{"type":"string","title":"Title","description":"Policy title","examples":["Brow Ptosis and Eyelid Repair"],"isRequired":true,"uniqueKey":"data.items.[INDEX].title","typeLabel":"string"},"effective_from_date":{"type":"string","format":"date","title":"Effective From Date","description":"First day the policy is in effect (inclusive)","examples":["2026-01-01"],"isRequired":true,"uniqueKey":"data.items.[INDEX].effective_from_date","typeLabel":"string\u003cdate>"},"effective_to_date":{"oneOf":[{"type":"string","title":"Effective To Date","description":"First date the policy is no longer in effect (exclusive end); null if currently active","format":"date","example":null,"isRequired":true,"uniqueKey":"data.items.[INDEX].effective_to_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Effective To Date","description":"First date the policy is no longer in effect (exclusive end); null if currently active","example":null,"isRequired":true,"uniqueKey":"data.items.[INDEX].effective_to_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].effective_to_date","typeLabel":"string\u003cdate> | null"},"file_url":{"type":"string","title":"File Url","description":"Original URL from which the policy file was downloaded","examples":["https://www.uhcprovider.com/content/dam/provider/docs/public/policies/comm-medical-drug/brow-ptosis-and-eyelid-repair.pdf"],"isRequired":true,"uniqueKey":"data.items.[INDEX].file_url","typeLabel":"string"},"file_type":{"type":"string","enum":["pdf","html","md"],"title":"File Type","description":"Format of the stored copy of the policy document, downloadable via the download-url endpoint.","examples":["pdf"],"isRequired":true,"uniqueKey":"data.items.[INDEX].file_type","typeLabel":"enum\u003cstring>"},"listing_url":{"type":"string","title":"Listing Url","description":"URL of the listing page where the policy was found","examples":["https://www.uhcprovider.com/en/policies-protocols/comm-medical-drug-policies/comm-medical-drug-policies.html"],"isRequired":true,"uniqueKey":"data.items.[INDEX].listing_url","typeLabel":"string"},"summary":{"oneOf":[{"type":"string","title":"Summary","description":"AI-generated policy summary","example":"This policy covers blepharoplasty and brow lift procedures when medically necessary for functional impairment...","isRequired":true,"uniqueKey":"data.items.[INDEX].summary.oneOf.0","typeLabel":"string"},{"type":"null","title":"Summary","description":"AI-generated policy summary","example":"This policy covers blepharoplasty and brow lift procedures when medically necessary for functional impairment...","isRequired":true,"uniqueKey":"data.items.[INDEX].summary.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].summary","typeLabel":"string | null"},"score":{"oneOf":[{"type":"number","title":"Score","description":"Relevance score. Present when results are relevance-ranked — against q, or against the descriptions of the filtered codes. Null under non-relevance sorts, and for policies whose title/summary don't match the ranking text (those sort last).","example":4.26,"uniqueKey":"data.items.[INDEX].score.oneOf.0","typeLabel":"number"},{"type":"null","title":"Score","description":"Relevance score. Present when results are relevance-ranked — against q, or against the descriptions of the filtered codes. Null under non-relevance sorts, and for policies whose title/summary don't match the ranking text (those sort last).","example":4.26,"uniqueKey":"data.items.[INDEX].score.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].score","typeLabel":"number | null"},"applicability":{"oneOf":[{"type":"array","items":{"properties":{"payer_ids":{"items":{"type":"string","uniqueKey":"data.items.[INDEX].applicability.oneOf.0.items.[INDEX].payer_ids.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Payer Ids","description":"Payer IDs that share this coverage scope","examples":[["KMQTZ"]],"isRequired":true,"uniqueKey":"data.items.[INDEX].applicability.oneOf.0.items.[INDEX].payer_ids","typeLabel":"string[]"},"payer_names":{"items":{"type":"string","uniqueKey":"data.items.[INDEX].applicability.oneOf.0.items.[INDEX].payer_names.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Payer Names","description":"Display names of payers","examples":[["UnitedHealthcare"]],"isRequired":true,"uniqueKey":"data.items.[INDEX].applicability.oneOf.0.items.[INDEX].payer_names","typeLabel":"string[]"},"lobs":{"items":{"type":"string","enum":["commercial","medicare_part_a","medicare_part_b","medicare_advantage","medicare_part_d","medicaid","individual_aca"],"title":"LobCategory","description":"Line-of-business categories.","uniqueKey":"data.items.[INDEX].applicability.oneOf.0.items.[INDEX].lobs.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","title":"Lobs","description":"LOB categories this scope applies to","examples":[["commercial","individual_aca"]],"isRequired":true,"uniqueKey":"data.items.[INDEX].applicability.oneOf.0.items.[INDEX].lobs","typeLabel":"enum\u003cstring>[]"},"state":{"oneOf":[{"type":"string","title":"USState","description":"US state for this scope (null if nationwide)","enum":["AL","AK","AZ","AR","CA","CO","CT","DE","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY","DC","AS","GU","PR","VI","CNMI","NF","SF","DN","QN","UN","EM","WM"],"example":null,"isRequired":true,"uniqueKey":"data.items.[INDEX].applicability.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"US state for this scope (null if nationwide)","example":null,"isRequired":true,"uniqueKey":"data.items.[INDEX].applicability.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].applicability.oneOf.0.items.[INDEX].state","typeLabel":"enum\u003cstring> | null"}},"type":"object","required":["payer_ids","payer_names","lobs","state"],"title":"LobApplicability","description":"Single applicability scope — Cartesian product of payers × LOBs × geography.","uniqueKey":"data.items.[INDEX].applicability.oneOf.0.items.[INDEX]","typeLabel":"LobApplicability · object"},"title":"Applicability","description":"Payer/LOB/geography applicability (regardless of when they applied). Only included when include_applicability=true.","example":null,"uniqueKey":"data.items.[INDEX].applicability.oneOf.0","typeLabel":"LobApplicability · object[]"},{"type":"null","title":"Applicability","description":"Payer/LOB/geography applicability (regardless of when they applied). Only included when include_applicability=true.","example":null,"uniqueKey":"data.items.[INDEX].applicability.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].applicability","typeLabel":"LobApplicability · object[] | null"},"code_groups":{"oneOf":[{"type":"array","items":{"properties":{"code_system":{"type":"string","enum":["CPT","CPT_MODIFIER","HCPCS","HCPCS_MODIFIER","ICD10CM"],"title":"Code System","description":"Code system type","examples":["CPT"],"isRequired":true,"uniqueKey":"data.items.[INDEX].code_groups.oneOf.0.items.[INDEX].code_system","typeLabel":"enum\u003cstring>"},"relationship":{"type":"string","enum":["COVERS","DOES_NOT_COVER","REFERENCES"],"title":"Relationship","description":"Relationship type between policy and codes","examples":["COVERS"],"isRequired":true,"uniqueKey":"data.items.[INDEX].code_groups.oneOf.0.items.[INDEX].relationship","typeLabel":"enum\u003cstring>"},"category":{"oneOf":[{"type":"string","title":"Category","description":"Semantic category from policy, if provided","example":"Brow Ptosis Procedures","isRequired":true,"uniqueKey":"data.items.[INDEX].code_groups.oneOf.0.items.[INDEX].category.oneOf.0","typeLabel":"string"},{"type":"null","title":"Category","description":"Semantic category from policy, if provided","example":"Brow Ptosis Procedures","isRequired":true,"uniqueKey":"data.items.[INDEX].code_groups.oneOf.0.items.[INDEX].category.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].code_groups.oneOf.0.items.[INDEX].category","typeLabel":"string | null"},"codes":{"items":{"type":"string","uniqueKey":"data.items.[INDEX].code_groups.oneOf.0.items.[INDEX].codes.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Codes","description":"List of codes in this group","examples":[["19318","19319","67900"]],"isRequired":true,"uniqueKey":"data.items.[INDEX].code_groups.oneOf.0.items.[INDEX].codes","typeLabel":"string[]"},"descriptions":{"items":{"type":"string","uniqueKey":"data.items.[INDEX].code_groups.oneOf.0.items.[INDEX].descriptions.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Descriptions","description":"Human-readable descriptions, aligned 1:1 with codes list","examples":[["Upper eyelid blepharoplasty","Repair blepharoptosis"]],"uniqueKey":"data.items.[INDEX].code_groups.oneOf.0.items.[INDEX].descriptions","typeLabel":"string[]"}},"type":"object","required":["code_system","relationship","category","codes"],"title":"PolicyCodeGroup","description":"Group of codes with same system, relationship, and category.","uniqueKey":"data.items.[INDEX].code_groups.oneOf.0.items.[INDEX]","typeLabel":"PolicyCodeGroup · object"},"title":"Code Groups","description":"Codes referenced by this policy, grouped by system and relationship. null when include_code_groups=false; a list (possibly empty) otherwise.","example":null,"uniqueKey":"data.items.[INDEX].code_groups.oneOf.0","typeLabel":"PolicyCodeGroup · object[]"},{"type":"null","title":"Code Groups","description":"Codes referenced by this policy, grouped by system and relationship. null when include_code_groups=false; a list (possibly empty) otherwise.","example":null,"uniqueKey":"data.items.[INDEX].code_groups.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].code_groups","typeLabel":"PolicyCodeGroup · object[] | null"}},"type":"object","required":["policy_id","policy_number","title","effective_from_date","effective_to_date","file_url","file_type","listing_url","summary"],"title":"PolicyResult","description":"Single fixed type -- nullable fields are null when not requested/relevant.","uniqueKey":"data.items.[INDEX]","typeLabel":"PolicyResult · object"},"type":"array","title":"Data","description":"Array of result objects","isRequired":true,"uniqueKey":"data","typeLabel":"PolicyResult · object[]"},"limit":{"type":"integer","title":"Limit","description":"Maximum number of results requested","examples":[20],"isRequired":true,"uniqueKey":"limit","typeLabel":"integer"},"offset":{"type":"integer","title":"Offset","description":"Number of results skipped for pagination","examples":[0],"isRequired":true,"uniqueKey":"offset","typeLabel":"integer"},"has_more":{"type":"boolean","title":"Has More","description":"True if more results exist beyond this page","examples":[false],"isRequired":true,"uniqueKey":"has_more","typeLabel":"boolean"}},"type":"object","required":["data","limit","offset","has_more"],"title":"PaginatedResponse[PolicyResult]","uniqueKey":"","typeLabel":"PaginatedResponse[PolicyResult] · object"},"example":{"data":[{"policy_id":"bcbsm/76765/2026-03-01","policy_number":"76765","title":"MEDICAL POLICY - BLEPHAROPLASTY AND REPAIR OF BROW PTOSIS","effective_from_date":"2026-03-01","file_url":"https://www.bcbsm.com/amslibs/content/dam/public/mpr/mprsearch/pdf/76765.pdf","file_type":"pdf","listing_url":"https://www.bcbsm.com/providers/mpradmin/","summary":"This policy addresses surgical management of upper eyelid redundant tissue and eyebrow descent—blepharoplasty and repair of brow ptosis—focusing on restoration of function (visual field preservation, relief of dermatitis, prosthetic fit, and refractory blepharospasm). It defines objective functional...","score":4.3,"applicability":[{"payer_ids":["KRPCH"],"payer_names":["Blue Cross Blue Shield of Michigan"],"lobs":["commercial","medicare_advantage"],"state":"MI"}]},{"policy_id":"bcbsar/1997026/2026-09-01","policy_number":"1997026","title":"Blepharoplasty/Blepharoptosis","effective_from_date":"2026-09-01","file_url":"https://secure.arkansasbluecross.com/members/report.aspx?policyNumber=1997026\u0026viewIntro=yes","file_type":"html","listing_url":"https://secure.arkansasbluecross.com/providers/coverage_policy.aspx","summary":"Arkansas Blue Cross and Blue Shield Policy 1997026 addresses medically necessary versus cosmetic eyelid surgery, focusing on upper eyelid blepharoplasty, lower eyelid blepharoplasty, and blepharoptosis (ptosis, drooping eyelid) repair. Coverage is primarily outpatient surgical care; no specific age ...","score":4.2,"applicability":[{"payer_ids":["GESBC"],"payer_names":["Arkansas Blue Cross and Blue Shield"],"lobs":["commercial","individual_aca","medicaid"],"state":"AR"}]},{"policy_id":"bcbsar/1997026/2025-09-01","policy_number":"1997026","title":"Blepharoplasty/Blepharoptosis","effective_from_date":"2025-09-01","effective_to_date":"2026-09-01","file_url":"https://secure.arkansasbluecross.com/members/report.aspx?policyNumber=1997026\u0026viewIntro=yes","file_type":"html","listing_url":"https://secure.arkansasbluecross.com/providers/coverage_policy.aspx","summary":"Arkansas Blue Cross and Blue Shield Surgery policy 1997026 addresses medically necessary eyelid surgery: upper eyelid blepharoplasty, lower eyelid blepharoplasty, and blepharoptosis (ptosis) repair. Current coverage requires a recommended InterQual determination; historical criteria specify function...","score":4.1,"applicability":[{"payer_ids":["GESBC"],"payer_names":["Arkansas Blue Cross and Blue Shield"],"lobs":["commercial","individual_aca","medicaid"],"state":"AR"}]}],"limit":3,"offset":0,"has_more":true},"examples":{"Example":{"title":"Example","value":{"data":[{"policy_id":"bcbsm/76765/2026-03-01","policy_number":"76765","title":"MEDICAL POLICY - BLEPHAROPLASTY AND REPAIR OF BROW PTOSIS","effective_from_date":"2026-03-01","file_url":"https://www.bcbsm.com/amslibs/content/dam/public/mpr/mprsearch/pdf/76765.pdf","file_type":"pdf","listing_url":"https://www.bcbsm.com/providers/mpradmin/","summary":"This policy addresses surgical management of upper eyelid redundant tissue and eyebrow descent—blepharoplasty and repair of brow ptosis—focusing on restoration of function (visual field preservation, relief of dermatitis, prosthetic fit, and refractory blepharospasm). It defines objective functional...","score":4.3,"applicability":[{"payer_ids":["KRPCH"],"payer_names":["Blue Cross Blue Shield of Michigan"],"lobs":["commercial","medicare_advantage"],"state":"MI"}]},{"policy_id":"bcbsar/1997026/2026-09-01","policy_number":"1997026","title":"Blepharoplasty/Blepharoptosis","effective_from_date":"2026-09-01","file_url":"https://secure.arkansasbluecross.com/members/report.aspx?policyNumber=1997026\u0026viewIntro=yes","file_type":"html","listing_url":"https://secure.arkansasbluecross.com/providers/coverage_policy.aspx","summary":"Arkansas Blue Cross and Blue Shield Policy 1997026 addresses medically necessary versus cosmetic eyelid surgery, focusing on upper eyelid blepharoplasty, lower eyelid blepharoplasty, and blepharoptosis (ptosis, drooping eyelid) repair. Coverage is primarily outpatient surgical care; no specific age ...","score":4.2,"applicability":[{"payer_ids":["GESBC"],"payer_names":["Arkansas Blue Cross and Blue Shield"],"lobs":["commercial","individual_aca","medicaid"],"state":"AR"}]},{"policy_id":"bcbsar/1997026/2025-09-01","policy_number":"1997026","title":"Blepharoplasty/Blepharoptosis","effective_from_date":"2025-09-01","effective_to_date":"2026-09-01","file_url":"https://secure.arkansasbluecross.com/members/report.aspx?policyNumber=1997026\u0026viewIntro=yes","file_type":"html","listing_url":"https://secure.arkansasbluecross.com/providers/coverage_policy.aspx","summary":"Arkansas Blue Cross and Blue Shield Surgery policy 1997026 addresses medically necessary eyelid surgery: upper eyelid blepharoplasty, lower eyelid blepharoplasty, and blepharoptosis (ptosis) repair. Current coverage requires a recommended InterQual determination; historical criteria specify function...","score":4.1,"applicability":[{"payer_ids":["GESBC"],"payer_names":["Arkansas Blue Cross and Blue Shield"],"lobs":["commercial","individual_aca","medicaid"],"state":"AR"}]}],"limit":3,"offset":0,"has_more":true}}},"exampleType":"examples"}},"exampleType":"examples"},"b46ce488-2aca-4205-8cf2-20c9cf12e441":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"cd72b956-b4c6-4eab-99e8-d78a718b6ace":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"APIKeyHeader"}}},"servers":{"c29e2e7b-cde5-4318-9d6d-2a43b5474003":{"url":"https://api-sandbox.penelope.health","description":"Sandbox"},"e063695e-2f88-462c-9f2e-2c4c504913b4":{"url":"https://api.penelope.health","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"APIKeyHeader"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyHeader","name":"x-api-key"}],"title":"APIKeyHeader"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"penelopehealth","siteName":"Penelope","title":"List Policies - Penelope","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-23T13:14:29.513Z","originalFileLocation":"api-reference/list-policies.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"List medical policies with structured filters. Supports filtering by medical codes, payers, LOBs, LOB categories, states, effective dates, and full-text search (q). Results default to relevance order: ranked against q when given, otherwise against the descriptions of the filtered codes (first 20) — non-matching policies are still returned, sorted last. With neither q nor codes, results come back in policy-id order. Payer/LOB/state filters use current applicability by default, the request\u0026#x27;s effective_date window when supplied, or all-time applicability with retired=true (a retired policy has no current applicability, so filtering it by today would match nothing). Set include_applicability=true to include every LOB each policy was ever linked to, and include_code_groups=true for associated codes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Penelope\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/penelopehealth/GvZlJt05MIicjlm-/_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/penelopehealth/GvZlJt05MIicjlm-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/penelopehealth/GvZlJt05MIicjlm-/_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/penelopehealth/GvZlJt05MIicjlm-/_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/penelopehealth/GvZlJt05MIicjlm-/_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/penelopehealth/GvZlJt05MIicjlm-/_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/penelopehealth/GvZlJt05MIicjlm-/_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/penelopehealth/GvZlJt05MIicjlm-/_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/penelopehealth/GvZlJt05MIicjlm-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List Policies - Penelope\">\u003cmeta data-mint-head property=\"og:description\" content=\"List medical policies with structured filters. Supports filtering by medical codes, payers, LOBs, LOB categories, states, effective dates, and full-text search (q). Results default to relevance order: ranked against q when given, otherwise against the descriptions of the filtered codes (first 20) — non-matching policies are still returned, sorted last. With neither q nor codes, results come back in policy-id order. Payer/LOB/state filters use current applicability by default, the request\u0026#x27;s effective_date window when supplied, or all-time applicability with retired=true (a retired policy has no current applicability, so filtering it by today would match nothing). Set include_applicability=true to include every LOB each policy was ever linked to, and include_code_groups=true for associated codes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Penelope\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.penelope.health/api-reference/list-policies\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://penelopehealth.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=List+Policies\u0026amp;description=List+medical+policies+with+structured+filters.%0A%0ASupports+filtering+by+medical+codes%2C+payers%2C+LOBs%2C+LOB+categories%2C+states%2C%0Aeffective+dates%2C+and+full-text+search\u0026amp;theme=1fd68c9bf2a9a0afd6dbd1e7\u0026amp;signature=8694715f11121293327d624943351c9c2227ce7f9f3a84c916d6086f3c84cc50\">\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=\"List Policies - Penelope\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"List medical policies with structured filters. Supports filtering by medical codes, payers, LOBs, LOB categories, states, effective dates, and full-text search (q). Results default to relevance order: ranked against q when given, otherwise against the descriptions of the filtered codes (first 20) — non-matching policies are still returned, sorted last. With neither q nor codes, results come back in policy-id order. Payer/LOB/state filters use current applicability by default, the request\u0026#x27;s effective_date window when supplied, or all-time applicability with retired=true (a retired policy has no current applicability, so filtering it by today would match nothing). Set include_applicability=true to include every LOB each policy was ever linked to, and include_code_groups=true for associated codes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://penelopehealth.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=List+Policies\u0026amp;description=List+medical+policies+with+structured+filters.%0A%0ASupports+filtering+by+medical+codes%2C+payers%2C+LOBs%2C+LOB+categories%2C+states%2C%0Aeffective+dates%2C+and+full-text+search\u0026amp;theme=1fd68c9bf2a9a0afd6dbd1e7\u0026amp;signature=8694715f11121293327d624943351c9c2227ce7f9f3a84c916d6086f3c84cc50\">\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/penelopehealth/GvZlJt05MIicjlm-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Penelope\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3D7C7B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.penelope.health/api-reference/list-policies\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/list-policies.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.penelope.health/#organization\",\"name\":\"Penelope\",\"url\":\"https://docs.penelope.health\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/penelopehealth/dzPBKKrahfn4Jj5z/logo/penelope-logo.png?fit=max\u0026auto=format\u0026n=dzPBKKrahfn4Jj5z\u0026q=85\u0026s=07a5a4b170bb57380759d59319a277a4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.penelope.health#website\",\"name\":\"Penelope\",\"url\":\"https://docs.penelope.health\",\"publisher\":{\"@id\":\"https://docs.penelope.health/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.penelope.health/api-reference/list-policies#webpage\",\"url\":\"https://docs.penelope.health/api-reference/list-policies\",\"name\":\"List Policies\",\"description\":\"List medical policies with structured filters. Supports filtering by medical codes, payers, LOBs, LOB categories, states, effective dates, and full-text search (q). Results default to relevance order: ranked against q when given, otherwise against the descriptions of the filtered codes (first 20) — non-matching policies are still returned, sorted last. With neither q nor codes, results come back in policy-id order. Payer/LOB/state filters use current applicability by default, the request's effective_date window when supplied, or all-time applicability with retired=true (a retired policy has no current applicability, so filtering it by today would match nothing). Set include_applicability=true to include every LOB each policy was ever linked to, and include_code_groups=true for associated codes.\",\"dateModified\":\"2026-10-23T13:14:29.513Z\",\"isPartOf\":{\"@id\":\"https://docs.penelope.health#website\"},\"breadcrumb\":{\"@id\":\"https://docs.penelope.health/api-reference/list-policies#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.penelope.health/api-reference/list-policies#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.penelope.health/api-reference/authorization\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Reference\",\"item\":\"https://docs.penelope.health/api-reference/list-payers\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"List Policies\",\"item\":\"https://docs.penelope.health/api-reference/list-policies\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.penelope.health/api-reference/list-policies#apireference\",\"headline\":\"List Policies\",\"name\":\"List Policies\",\"description\":\"List medical policies with structured filters. Supports filtering by medical codes, payers, LOBs, LOB categories, states, effective dates, and full-text search (q). Results default to relevance order: ranked against q when given, otherwise against the descriptions of the filtered codes (first 20) — non-matching policies are still returned, sorted last. With neither q nor codes, results come back in policy-id order. Payer/LOB/state filters use current applicability by default, the request's effective_date window when supplied, or all-time applicability with retired=true (a retired policy has no current applicability, so filtering it by today would match nothing). Set include_applicability=true to include every LOB each policy was ever linked to, and include_code_groups=true for associated codes.\",\"url\":\"https://docs.penelope.health/api-reference/list-policies\",\"mainEntityOfPage\":{\"@id\":\"https://docs.penelope.health/api-reference/list-policies#webpage\"},\"dateModified\":\"2026-10-23T13:14:29.513Z\",\"publisher\":{\"@id\":\"https://docs.penelope.health/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.penelope.health#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Penelope\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Penelope","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/documentation/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Authentication","href":"/api-reference/authorization"},{"title":"Technical Notes","href":"/api-reference/technical_notes"},{"title":"Notable Input Types","href":"/api-reference/notable_input_types"},{"group":"API Reference","pages":[{"title":"List Payers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/payers","href":"/api-reference/list-payers"},{"title":"List LOBs","description":"List lines of business with optional filtering.\n\nFilter by LOB categories, payer IDs, and/or states.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/lobs","href":"/api-reference/list-lobs"},{"title":"List Policies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/policies/filter","href":"/api-reference/list-policies"},{"title":"Get Policy Download Url","description":"Get a presigned URL to download the policy file.\n\nThe URL is short-lived (~15 minutes) — request it just before use, don't cache it.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/policies/{policy_id}/download-url","href":"/api-reference/get-policy-download-url"},{"title":"Get Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/policies/{policy_id}","href":"/api-reference/get-policy"},{"title":"Health Check","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /health","href":"/api-reference/health-check"},{"title":"Ready Check","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /ready","href":"/api-reference/ready-check"}]}]}]}]},"title":"List Policies - Penelope","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DKJwRUt2.js","utils-CWD_VS3u.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-oFjciODD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C76WsxC3.js","snippetPresets-DvPMxpX_.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CuNQfndH.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BVFpVUoF.js","shallow-t59Jg5Kr.js","getApiPlaygroundDisplay-C_JZ4amX.js","CodeSnippet-CLRDnx_h.js","CodeSnippets-C2myU4kc.js","Page-7TwLLapg.js","getPastedJson-B-JaVXw7.js","icon-BA-iDhH3.js","MethodPill-D4qZABFp.js","DuplicateIcon-THIDKO1O.js","createIcon-CYYJwgFd.js","DynamicMarkdown-UGQuxDKp.js","SectionHeading-jYELb23h.js","axios-vUo_bRtp.js","Markdown-DKsLa3wy.js","clsx-CefdjKz2.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BaREnp3o.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sgx_0XzF.js"]}