Returns all policies associated with your upstream entity. Soft-deleted policies are excluded automatically. Results can be filtered by policy number, status, or risk state.
Query Parameters
Parameter
Type
Required
Description
policyNumber
string
No
Filter by exact policy number (e.g., POL-2025-001)
currentStatus
string
No
Filter by policy status: bound, active, expired, cancelled, or non renewed
riskStateCode
string
No
Filter by US state code (e.g., CA, TX, NY)
Filtering Examples
# By statusGET /v1/policies?currentStatus=active# By stateGET /v1/policies?riskStateCode=CA# Combined filtersGET /v1/policies?currentStatus=active&riskStateCode=TX# By exact policy numberGET /v1/policies?policyNumber=POL-2025-001
Policy number that groups transactions into a single policy
currentStatus
string
Current policy status: bound, active, expired, cancelled, or non renewed
riskStateCode
string
US state code where the risk is located
Agency & Agent Fields
Field
Type
Description
agencyName
string?
Agency name
agencyNpn
string?
Agency National Producer Number
agencyFein
string?
Agency Federal Employer Identification Number
agencyLicenseNumber
string?
Agency state license number
agencyLicensedStateCode
string?
State where the agency license was issued
agentName
string?
Individual agent name
agentNpn
string?
Agent National Producer Number
agentLicenseNumber
string?
Agent state license number
agentLicensedState
string?
State where the agent license was issued
Insurance Details
Field
Type
Description
insuredEntityName
string?
Name of the insured party
carrierName
string?
Insurance carrier name
lineOfBusiness
string?
Line of business
producerName
string?
Producing agent name
producerCode
string?
Producer identifier code
productName
string?
Product name
productCode
string?
Product code
Dates & Coverage
Field
Type
Description
effectiveDate
string?
Policy effective date (ISO 8601)
expiryDate
string?
Policy expiration date (ISO 8601)
premiumAmountInUSD
number?
Premium amount in USD
aggregateCoverageInUSD
number?
Aggregate coverage limit in USD
coveragePerClaimInUSD
number?
Per-claim coverage limit in USD
Matching & Metadata
Field
Type
Description
entityMatchStatus
string
Agency/entity matching status (see table below)
productMatchStatus
string
Product matching status (see table below)
transactionCount
number
Number of transactions linked to this policy
filingNumber
string?
Filing number
slaNumber
string?
SLA number
externalBillingId
string?
External billing identifier
licenseNumber
string?
License number
npn
string?
National Producer Number
createdAt
string
ISO 8601 timestamp when the policy was created
updatedAt
string
ISO 8601 timestamp of the last update
Matching Status Values
Field
Values
Meaning
entityMatchStatus
unmatched, auto matched, user confirmed, manual review
Whether the policy has been linked to a downstream entity
productMatchStatus
unmatched, auto matched, user confirmed, needs clarification
Whether the policy has been linked to a product
Policies with entityMatchStatus of "unmatched" or "manual review" require attention in the Turris dashboard.
Error Scenarios
Bad Request (400)
Returned when a query parameter has an invalid value (e.g., an unsupported currentStatus).
{ "statusCode": 400, "errorType": "validation_error", "errorMessage": ["Invalid value for currentStatus"], "requestId": "dev-abc123", "timestamp": "2025-01-15T10:30:00.000Z"}
Unauthorized (401)
Missing or invalid authentication token. See Authentication.
Authorizations
bearerrestricted-access-token
Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
policyNumber
string
Filter by exact policy number
Example:
"POL-2025-001"
currentStatus
enum<string>
Filter by current policy status
Available options:
bound,
active,
expired,
cancelled,
non renewed
Example:
"active"
riskStateCode
string
Filter by US state code where risk is located
Example:
"CA"
Response
List of policies belonging to the authenticated upstream entity
data
object[]
required
Show child attributes
requestId
string
required
Unique request identifier
Example:
"dev-2c5e7cf2-9acf-4c8c-ab2f-b81f39d775a8"
timestamp
string
required
Response timestamp
Example:
"2025-11-12T20:49:03.293Z"
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Turris Public API","description":"API documentation for the Turris Public API - programmatic access to compliance data for carrier and agency customers.","colors":{"primary":"#006cff","light":"#3389ff","dark":"#0a58c2"},"favicon":"https://mintcdn.com/turris/IfRLPQPmyFYwsFZX/favicon.png?fit=max\u0026auto=format\u0026n=IfRLPQPmyFYwsFZX\u0026q=85\u0026s=21d205b6e3e2b8abe477c8c7aed40817","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python"],"prefill":true}},"navbar":{"links":[{"href":"mailto:support@turrisfi.com","label":"Support"}],"primary":{"type":"button","label":"Web App (Live)","href":"https://www.app.live.turrisfi.com"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/turrisfi"},"links":[{"header":"Resources","items":[{"label":"Website","href":"https://www.turrisfi.com"},{"label":"Web App (Live)","href":"https://www.app.live.turrisfi.com"},{"label":"Web App (Sandbox)","href":"https://www.app.sandbox.turrisfi.com"},{"label":"Support Articles","href":"https://help.turrisfi.com"}]}]},"contextual":{"options":["mcp","cursor","vscode","copy","claude","chatgpt"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"turris","hasAudioNarration":false,"actualSubdomain":"turris","customDomains":["docs.turrisfi.com"],"gitSource":{"type":"github","owner":"turrisfi","repo":"compliance","deployBranch":"prod","contentDirectory":"apps/public-api/docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af746a0116b25a832ec7361","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"Carrier \u0026 MGA API","count":146},{"language":"default","tag":"Agency API","count":56},{"language":"default","tag":"Surplus Lines","count":24},{"language":"default","tag":"Webhooks","count":23},{"language":"default","tag":"Webhook Events","count":18},{"language":"default","tag":"Policy Ingestion","count":14},{"language":"default","tag":"Agencies You Appoint","count":13},{"language":"default","tag":"Licenses","count":13},{"language":"default","tag":"Documentation","count":13},{"language":"default","tag":"Filings","count":12}],"searchSettings":{"isFiltersEnabled":true,"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@turrisfi.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"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":"editor-metadata","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},{"name":"live-agents","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}],"starterQuestions":[{"_id":"698de0cb27f1502f3265ea3b","deploymentId":"697d034dc7078c59853e519b","questionText":"How can I get my agencies' and agents' compliance status?","status":"active","generatedBy":"manual","createdAt":"2026-02-12T14:16:43.973Z","updatedAt":"2026-02-12T14:16:43.973Z","__v":0},{"_id":"698de0b027f1502f3265ea0c","deploymentId":"697d034dc7078c59853e519b","questionText":"How can I retrieve all my agencies and agents?","status":"active","generatedBy":"manual","createdAt":"2026-02-12T14:16:16.437Z","updatedAt":"2026-02-12T14:16:16.437Z","__v":0},{"_id":"698de08d27f1502f3265e9c4","deploymentId":"697d034dc7078c59853e519b","questionText":"How do I get authenticated?","status":"active","generatedBy":"manual","createdAt":"2026-02-12T14:15:41.708Z","updatedAt":"2026-02-12T14:15:41.708Z","__v":0}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/v1/policies/list-policies","slug":"/api-reference/v1/policies/list-policies","pageMetadata":{"title":"Policies","description":"Retrieve all policies belonging to the authenticated upstream entity","openapi":"openapi/v1.json GET /v1/policies","href":"/api-reference/v1/policies/list-policies"},"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: \"Retrieve all policies belonging to the authenticated upstream entity\"\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={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Returns all policies associated with your upstream entity. Soft-deleted policies are excluded automatically. Results can be filtered by policy number, status, or risk state.`}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(_components.code,{children:`policyNumber`})})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Filter by exact policy number (e.g., `,_jsx(_components.code,{children:`POL-2025-001`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(_components.code,{children:`currentStatus`})})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Filter by policy status: `,_jsx(_components.code,{children:`bound`}),`, `,_jsx(_components.code,{children:`active`}),`, `,_jsx(_components.code,{children:`expired`}),`, `,_jsx(_components.code,{children:`cancelled`}),`, or `,_jsx(_components.code,{children:`non renewed`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(_components.code,{children:`riskStateCode`})})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Filter by US state code (e.g., `,_jsx(_components.code,{children:`CA`}),`, `,_jsx(_components.code,{children:`TX`}),`, `,_jsx(_components.code,{children:`NY`}),`)`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`filtering-examples`,children:`Filtering Examples`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,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:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# By status`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`GET /v1/policies?currentStatus=active`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# By state`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`GET /v1/policies?riskStateCode=CA`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Combined filters`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`GET /v1/policies?currentStatus=active\u0026riskStateCode=TX`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# By exact policy number`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`GET /v1/policies?policyNumber=POL-2025-001`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response-shape`,children:`Response Shape`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`All successful responses are wrapped in the standard response envelope. See `,_jsx(_components.a,{href:`/guides/request-response`,children:`Request/Response Conventions`}),`.`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`31`,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:`31`,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:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_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:` \"data\"`}),_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:` \"_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6650a1b2c3d4e5f6a7b8c9d0\"`}),_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:` \"policyNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"POL-2025-001\"`}),_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:` \"currentStatus\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_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:` \"riskStateCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CA\"`}),_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:` \"agencyName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Premier Insurance Agency\"`}),_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:` \"agencyNpn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345678\"`}),_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:` \"agencyFein\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12-3456789\"`}),_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:` \"agentName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John Smith\"`}),_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:` \"agentNpn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"87654321\"`}),_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:` \"carrierName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"National Insurance Co\"`}),_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:` \"lineOfBusiness\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Commercial Lines\"`}),_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:` \"productName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"General Liability\"`}),_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:` \"insuredEntityName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example Corp\"`}),_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:` \"effectiveDate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15T00:00:00.000Z\"`}),_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:` \"expiryDate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-15T00:00:00.000Z\"`}),_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:` \"premiumAmountInUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5000`}),_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:` \"aggregateCoverageInUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1000000`}),_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:` \"coveragePerClaimInUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`500000`}),_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:` \"entityMatchStatus\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"auto matched\"`}),_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:` \"productMatchStatus\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unmatched\"`}),_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:` \"transactionCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_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:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15T10:30:00.000Z\"`}),_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:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15T10:31:45.000Z\"`})]}),`\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:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15T10:31:50.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(Heading,{level:`4`,id:`core-fields`,children:`Core Fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Unique policy identifier`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`policyNumber`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Policy number that groups transactions into a single policy`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currentStatus`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Current policy status: `,_jsx(_components.code,{children:`bound`}),`, `,_jsx(_components.code,{children:`active`}),`, `,_jsx(_components.code,{children:`expired`}),`, `,_jsx(_components.code,{children:`cancelled`}),`, or `,_jsx(_components.code,{children:`non renewed`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`riskStateCode`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`US state code where the risk is located`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`agency-\u0026-agent-fields`,children:`Agency \u0026 Agent Fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agencyName`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Agency name`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agencyNpn`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Agency National Producer Number`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agencyFein`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Agency Federal Employer Identification Number`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agencyLicenseNumber`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Agency state license number`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agencyLicensedStateCode`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`State where the agency license was issued`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agentName`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Individual agent name`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agentNpn`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Agent National Producer Number`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agentLicenseNumber`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Agent state license number`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agentLicensedState`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`State where the agent license was issued`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`insurance-details`,children:`Insurance Details`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`insuredEntityName`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Name of the insured party`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`carrierName`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Insurance carrier name`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lineOfBusiness`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Line of business`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`producerName`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Producing agent name`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`producerCode`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Producer identifier code`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`productName`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Product name`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`productCode`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Product code`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`dates-\u0026-coverage`,children:`Dates \u0026 Coverage`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`effectiveDate`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Policy effective date (ISO 8601)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiryDate`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Policy expiration date (ISO 8601)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`premiumAmountInUSD`})}),_jsx(_components.td,{children:`number?`}),_jsx(_components.td,{children:`Premium amount in USD`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`aggregateCoverageInUSD`})}),_jsx(_components.td,{children:`number?`}),_jsx(_components.td,{children:`Aggregate coverage limit in USD`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`coveragePerClaimInUSD`})}),_jsx(_components.td,{children:`number?`}),_jsx(_components.td,{children:`Per-claim coverage limit in USD`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`matching-\u0026-metadata`,children:`Matching \u0026 Metadata`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`entityMatchStatus`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Agency/entity matching status (see table below)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`productMatchStatus`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Product matching status (see table below)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transactionCount`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Number of transactions linked to this policy`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filingNumber`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`Filing number`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`slaNumber`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`SLA number`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`externalBillingId`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`External billing identifier`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`licenseNumber`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`License number`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`npn`})}),_jsx(_components.td,{children:`string?`}),_jsx(_components.td,{children:`National Producer Number`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`createdAt`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`ISO 8601 timestamp when the policy was created`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`updatedAt`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`ISO 8601 timestamp of the last update`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`matching-status-values`,children:`Matching Status Values`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Values`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`entityMatchStatus`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`unmatched`}),`, `,_jsx(_components.code,{children:`auto matched`}),`, `,_jsx(_components.code,{children:`user confirmed`}),`, `,_jsx(_components.code,{children:`manual review`})]}),_jsx(_components.td,{children:`Whether the policy has been linked to a downstream entity`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`productMatchStatus`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`unmatched`}),`, `,_jsx(_components.code,{children:`auto matched`}),`, `,_jsx(_components.code,{children:`user confirmed`}),`, `,_jsx(_components.code,{children:`needs clarification`})]}),_jsx(_components.td,{children:`Whether the policy has been linked to a product`})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Policies with `,_jsx(_components.code,{children:`entityMatchStatus`}),` of `,_jsx(_components.code,{children:`\"unmatched\"`}),` or `,_jsx(_components.code,{children:`\"manual review\"`}),` require attention in the Turris dashboard.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`error-scenarios`,children:`Error Scenarios`}),`\n`,_jsx(Heading,{level:`3`,id:`bad-request-400`,children:`Bad Request (400)`}),`\n`,_jsxs(_components.p,{children:[`Returned when a query parameter has an invalid value (e.g., an unsupported `,_jsx(_components.code,{children:`currentStatus`}),`).`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_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:` \"errorType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"validation_error\"`}),_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:` \"errorMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid value for currentStatus\"`}),_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:` \"requestId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dev-abc123\"`}),_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:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15T10:30:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`unauthorized-401`,children:`Unauthorized (401)`}),`\n`,_jsxs(_components.p,{children:[`Missing or invalid authentication token. See `,_jsx(_components.a,{href:`/authentication`,children:`Authentication`}),`.`]})]})}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":"Policies","description":"Retrieve all policies belonging to the authenticated upstream entity","openapi":"openapi/v1.json GET /v1/policies","href":"/api-reference/v1/policies/list-policies"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Filtering Examples","slug":"filtering-examples","depth":2,"children":[]},{"title":"Response Shape","slug":"response-shape","depth":2,"children":[{"title":"Response Fields","slug":"response-fields","depth":3,"children":[]},{"title":"Core Fields","slug":"core-fields","depth":4,"children":[]},{"title":"Agency \u0026 Agent Fields","slug":"agency-\u0026-agent-fields","depth":4,"children":[]},{"title":"Insurance Details","slug":"insurance-details","depth":4,"children":[]},{"title":"Dates \u0026 Coverage","slug":"dates-\u0026-coverage","depth":4,"children":[]},{"title":"Matching \u0026 Metadata","slug":"matching-\u0026-metadata","depth":4,"children":[]},{"title":"Matching Status Values","slug":"matching-status-values","depth":3,"children":[]}]},{"title":"Error Scenarios","slug":"error-scenarios","depth":2,"children":[{"title":"Bad Request (400)","slug":"bad-request-400","depth":3,"children":[]},{"title":"Unauthorized (401)","slug":"unauthorized-401","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/turris/0c051c093ff073c0/scripts/filter-openapi.js"],"openApiReferenceData":{"operation":{"operationId":"PoliciesController_listPolicies_v1","parameters":["08fca7ce-bf5a-4dda-b3e7-1d1007c0cd59","5bd2e719-8336-4650-94c3-aefe7ee73477","430cf1b0-c5b5-4efb-83a1-f6a2e5c2f26b"],"responses":{"200":"b1045394-d261-42c9-832a-4f76ce473737","400":"4c427647-b674-4bdd-8b8a-128d3dccd46a","401":"19733f68-0348-41f9-bbab-5469f9368708","403":"e81dc8c7-c28a-4c57-8261-ab4f7471cef9","429":"22da95c7-7b7e-4ccb-a8b9-833703e1770a"},"tags":["policies"],"method":"get","type":"path","servers":["a05bdd51-68db-4ee9-be34-9b8198412954","b1acce2c-c162-4ffd-87ef-994ad2fbe24e"],"security":["4999e4d2-dc27-49bc-8a8c-c72b27da9f19","26aa7122-40e2-4b3a-9060-09b2b11c7b9c"],"path":"/v1/policies","baseUrlOptions":["https://public.api.live.turrisfi.com","https://public.api.sandbox.turrisfi.com"],"title":"","description":"Retrieve all policies belonging to the authenticated upstream entity","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"08fca7ce-bf5a-4dda-b3e7-1d1007c0cd59":{"name":"policyNumber","required":false,"in":"query","description":"Filter by exact policy number","schema":{"example":"POL-2025-001","type":"string","isRequired":false,"description":"Filter by exact policy number","uniqueKey":"","typeLabel":"string"}},"5bd2e719-8336-4650-94c3-aefe7ee73477":{"name":"currentStatus","required":false,"in":"query","description":"Filter by current policy status","schema":{"example":"active","type":"string","enum":["bound","active","expired","cancelled","non renewed"],"isRequired":false,"description":"Filter by current policy status","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"430cf1b0-c5b5-4efb-83a1-f6a2e5c2f26b":{"name":"riskStateCode","required":false,"in":"query","description":"Filter by US state code where risk is located","schema":{"example":"CA","type":"string","isRequired":false,"description":"Filter by US state code where risk is located","uniqueKey":"","typeLabel":"string"}}},"responses":{"b1045394-d261-42c9-832a-4f76ce473737":{"description":"List of policies belonging to the authenticated upstream entity","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string","description":"Unique policy identifier","example":"6650a1b2c3d4e5f6a7b8c9d0","isRequired":true,"uniqueKey":"data.items.[INDEX]._id","typeLabel":"string"},"policyNumber":{"type":"string","description":"Policy number that groups transactions into a single policy","example":"POL-2025-001","isRequired":true,"uniqueKey":"data.items.[INDEX].policyNumber","typeLabel":"string"},"currentStatus":{"type":"string","description":"Current policy status derived from transaction history","example":"active","enum":["bound","active","expired","cancelled","non renewed"],"isRequired":true,"uniqueKey":"data.items.[INDEX].currentStatus","typeLabel":"enum\u003cstring>"},"riskStateCode":{"type":"string","description":"US state code where the risk is located","example":"CA","isRequired":true,"uniqueKey":"data.items.[INDEX].riskStateCode","typeLabel":"string"},"entityMatchStatus":{"type":"string","description":"Agency/entity matching status","example":"auto matched","enum":["auto matched","user confirmed","manual review","unmatched"],"isRequired":true,"uniqueKey":"data.items.[INDEX].entityMatchStatus","typeLabel":"enum\u003cstring>"},"productMatchStatus":{"type":"string","description":"Product matching status","example":"unmatched","enum":["auto matched","user confirmed","needs clarification","unmatched"],"isRequired":true,"uniqueKey":"data.items.[INDEX].productMatchStatus","typeLabel":"enum\u003cstring>"},"transactionCount":{"type":"number","description":"Number of transactions linked to this policy","example":3,"isRequired":true,"uniqueKey":"data.items.[INDEX].transactionCount","typeLabel":"number"},"createdAt":{"type":"string","description":"ISO 8601 timestamp when the policy was created","example":"2025-01-15T10:30:00.000Z","isRequired":true,"uniqueKey":"data.items.[INDEX].createdAt","typeLabel":"string"},"updatedAt":{"type":"string","description":"ISO 8601 timestamp of the last update","example":"2025-01-15T10:31:45.000Z","isRequired":true,"uniqueKey":"data.items.[INDEX].updatedAt","typeLabel":"string"},"insuredEntityName":{"type":"string","description":"Name of the insured party","example":"Example Corp","uniqueKey":"data.items.[INDEX].insuredEntityName","typeLabel":"string"},"agencyName":{"type":"string","description":"Agency name","example":"Premier Insurance Agency","uniqueKey":"data.items.[INDEX].agencyName","typeLabel":"string"},"agencyNpn":{"type":"string","description":"Agency National Producer Number","example":"12345678","uniqueKey":"data.items.[INDEX].agencyNpn","typeLabel":"string"},"agencyFein":{"type":"string","description":"Agency Federal Employer Identification Number","example":"12-3456789","uniqueKey":"data.items.[INDEX].agencyFein","typeLabel":"string"},"agencyLicenseNumber":{"type":"string","description":"Agency state license number","example":"ABC-123456","uniqueKey":"data.items.[INDEX].agencyLicenseNumber","typeLabel":"string"},"agencyLicensedStateCode":{"type":"string","description":"State where the agency license was issued","example":"CA","uniqueKey":"data.items.[INDEX].agencyLicensedStateCode","typeLabel":"string"},"agentName":{"type":"string","description":"Individual agent name","example":"John Smith","uniqueKey":"data.items.[INDEX].agentName","typeLabel":"string"},"agentNpn":{"type":"string","description":"Agent National Producer Number","example":"87654321","uniqueKey":"data.items.[INDEX].agentNpn","typeLabel":"string"},"agentLicenseNumber":{"type":"string","description":"Agent state license number","example":"LIC-789012","uniqueKey":"data.items.[INDEX].agentLicenseNumber","typeLabel":"string"},"agentLicensedState":{"type":"string","description":"State where the agent license was issued","example":"TX","uniqueKey":"data.items.[INDEX].agentLicensedState","typeLabel":"string"},"carrierName":{"type":"string","description":"Insurance carrier name","example":"National Insurance Co","uniqueKey":"data.items.[INDEX].carrierName","typeLabel":"string"},"lineOfBusiness":{"type":"string","description":"Line of business","example":"Commercial Lines","uniqueKey":"data.items.[INDEX].lineOfBusiness","typeLabel":"string"},"producerName":{"type":"string","description":"Producing agent name","example":"Jon Doe","uniqueKey":"data.items.[INDEX].producerName","typeLabel":"string"},"producerCode":{"type":"string","description":"Producer identifier code","example":"PROD-001","uniqueKey":"data.items.[INDEX].producerCode","typeLabel":"string"},"productName":{"type":"string","description":"Product name","example":"General Liability","uniqueKey":"data.items.[INDEX].productName","typeLabel":"string"},"productCode":{"type":"string","description":"Product code","example":"GL-100","uniqueKey":"data.items.[INDEX].productCode","typeLabel":"string"},"effectiveDate":{"type":"string","description":"Policy effective date (ISO 8601)","example":"2025-01-15T00:00:00.000Z","uniqueKey":"data.items.[INDEX].effectiveDate","typeLabel":"string"},"expiryDate":{"type":"string","description":"Policy expiration date (ISO 8601)","example":"2026-01-15T00:00:00.000Z","uniqueKey":"data.items.[INDEX].expiryDate","typeLabel":"string"},"premiumAmountInUSD":{"type":"number","description":"Premium amount in USD","example":5000,"uniqueKey":"data.items.[INDEX].premiumAmountInUSD","typeLabel":"number"},"aggregateCoverageInUSD":{"type":"number","description":"Aggregate coverage limit in USD","example":1000000,"uniqueKey":"data.items.[INDEX].aggregateCoverageInUSD","typeLabel":"number"},"coveragePerClaimInUSD":{"type":"number","description":"Per-claim coverage limit in USD","example":500000,"uniqueKey":"data.items.[INDEX].coveragePerClaimInUSD","typeLabel":"number"},"filingNumber":{"type":"string","description":"Filing number","example":"FIL-2025-001","uniqueKey":"data.items.[INDEX].filingNumber","typeLabel":"string"},"slaNumber":{"type":"string","description":"SLA number","example":"SLA-2025-001","uniqueKey":"data.items.[INDEX].slaNumber","typeLabel":"string"},"externalBillingId":{"type":"string","description":"External billing identifier","example":"BILL-2025-001","uniqueKey":"data.items.[INDEX].externalBillingId","typeLabel":"string"},"licenseNumber":{"type":"string","description":"License number","example":"LIC-001","uniqueKey":"data.items.[INDEX].licenseNumber","typeLabel":"string"},"npn":{"type":"string","description":"National Producer Number","example":"11223344","uniqueKey":"data.items.[INDEX].npn","typeLabel":"string"},"uploadSource":{"type":"string","description":"Where this policy came from. A policy with `enterprise` was uploaded on your behalf by your enterprise, which owns it: it is returned by the read endpoints but cannot be updated or deleted, and cannot accept new transactions, through this API. Every other value is fully writable.","example":"upstream entity","enum":["upstream entity","enterprise","public api","downstream entity"],"uniqueKey":"data.items.[INDEX].uploadSource","typeLabel":"enum\u003cstring>"}},"required":["_id","policyNumber","currentStatus","riskStateCode","entityMatchStatus","productMatchStatus","transactionCount","createdAt","updatedAt"],"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data","typeLabel":"object[]"},"requestId":{"type":"string","description":"Unique request identifier","example":"dev-2c5e7cf2-9acf-4c8c-ab2f-b81f39d775a8","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"timestamp":{"type":"string","description":"Response timestamp","example":"2025-11-12T20:49:03.293Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"}},"required":["data","requestId","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":[{"_id":"6650a1b2c3d4e5f6a7b8c9d0","policyNumber":"POL-2025-001","currentStatus":"active","riskStateCode":"CA","entityMatchStatus":"auto matched","productMatchStatus":"unmatched","transactionCount":3,"createdAt":"2025-01-15T10:30:00.000Z","updatedAt":"2025-01-15T10:31:45.000Z","insuredEntityName":"Example Corp","agencyName":"Premier Insurance Agency","agencyNpn":"12345678","agencyFein":"12-3456789","agencyLicenseNumber":"ABC-123456","agencyLicensedStateCode":"CA","agentName":"John Smith","agentNpn":"87654321","agentLicenseNumber":"LIC-789012","agentLicensedState":"TX","carrierName":"National Insurance Co","lineOfBusiness":"Commercial Lines","producerName":"Jon Doe","producerCode":"PROD-001","productName":"General Liability","productCode":"GL-100","effectiveDate":"2025-01-15T00:00:00.000Z","expiryDate":"2026-01-15T00:00:00.000Z","premiumAmountInUSD":5000,"aggregateCoverageInUSD":1000000,"coveragePerClaimInUSD":500000,"filingNumber":"FIL-2025-001","slaNumber":"SLA-2025-001","externalBillingId":"BILL-2025-001","licenseNumber":"LIC-001","npn":"11223344","uploadSource":"upstream entity"}],"requestId":"dev-2c5e7cf2-9acf-4c8c-ab2f-b81f39d775a8","timestamp":"2025-11-12T20:49:03.293Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"4c427647-b674-4bdd-8b8a-128d3dccd46a":{"description":"Invalid query parameter value","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"requestId":{"type":"string","description":"Unique request identifier for debugging","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"errorType":{"type":"string","description":"Machine-readable error classification. Branch on this rather than on `errorMessage`, which is prose and may change. Authentication failures returned by our identity provider are forwarded verbatim, so a 401 can carry a code outside this list; treat an unrecognised value as a generic failure of its HTTP status.","enum":["conflict","contact_not_authorized","document_exceeds_page_limit","downstream_entity_member_exists","duplicate_external_id_error","duplicate_member_email","duplicate_producer_code_error","forbidden","gateway_timeout","inactive_email","internal_server_error","invalid_email","invalid_email_for_invites","invalid_organization_category","invalid_organization_slug","invalid_phone_number","invalid_token","invite_limit_reached","jwt_invalid","m2m_client_not_found","not_found","organization_already_exists","organization_slug_already_used","payment_required","producer_agreement_required","product_feature_subscription_required","service_unavailable","session_authorization_error","some_custom_error_string","throttled","too_many_requests","unauthorized","unauthorized_client","unexpected_400_stytch_error","unexpected_403_stytch_error","unexpected_404_stytch_error","unexpected_error","unexpected_stytch_error","unprocessable_entity","validation_error"],"example":"validation_error","isRequired":true,"uniqueKey":"errorType","typeLabel":"enum\u003cstring>"},"errorMessage":{"description":"Array of error messages","type":"array","items":{"type":"string","uniqueKey":"errorMessage.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"errorMessage","typeLabel":"string[]"},"timestamp":{"type":"string","description":"ISO timestamp when the error occurred","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"details":{"type":"object","description":"Additional error context","uniqueKey":"details","typeLabel":"object"}},"required":["statusCode","requestId","errorType","errorMessage","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"requestId":"\u003cstring>","errorType":"validation_error","errorMessage":["\u003cstring>"],"timestamp":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"19733f68-0348-41f9-bbab-5469f9368708":{"description":"Invalid or missing auth token","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"requestId":{"type":"string","description":"Unique request identifier for debugging","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"errorType":{"type":"string","description":"Machine-readable error classification. Branch on this rather than on `errorMessage`, which is prose and may change. Authentication failures returned by our identity provider are forwarded verbatim, so a 401 can carry a code outside this list; treat an unrecognised value as a generic failure of its HTTP status.","enum":["conflict","contact_not_authorized","document_exceeds_page_limit","downstream_entity_member_exists","duplicate_external_id_error","duplicate_member_email","duplicate_producer_code_error","forbidden","gateway_timeout","inactive_email","internal_server_error","invalid_email","invalid_email_for_invites","invalid_organization_category","invalid_organization_slug","invalid_phone_number","invalid_token","invite_limit_reached","jwt_invalid","m2m_client_not_found","not_found","organization_already_exists","organization_slug_already_used","payment_required","producer_agreement_required","product_feature_subscription_required","service_unavailable","session_authorization_error","some_custom_error_string","throttled","too_many_requests","unauthorized","unauthorized_client","unexpected_400_stytch_error","unexpected_403_stytch_error","unexpected_404_stytch_error","unexpected_error","unexpected_stytch_error","unprocessable_entity","validation_error"],"example":"validation_error","isRequired":true,"uniqueKey":"errorType","typeLabel":"enum\u003cstring>"},"errorMessage":{"description":"Array of error messages","type":"array","items":{"type":"string","uniqueKey":"errorMessage.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"errorMessage","typeLabel":"string[]"},"timestamp":{"type":"string","description":"ISO timestamp when the error occurred","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"details":{"type":"object","description":"Additional error context","uniqueKey":"details","typeLabel":"object"}},"required":["statusCode","requestId","errorType","errorMessage","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"requestId":"\u003cstring>","errorType":"validation_error","errorMessage":["\u003cstring>"],"timestamp":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"e81dc8c7-c28a-4c57-8261-ab4f7471cef9":{"description":"Returned with `errorType` `invalid_organization_category` when your credential's organization category does not match the one this endpoint serves; `details` names the expected and actual category. This endpoint can return 403 for other reasons too, so branch on `errorType`; the Error Handling guide lists them.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"requestId":{"type":"string","description":"Unique request identifier for debugging","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"errorType":{"type":"string","description":"Machine-readable error classification. Branch on this rather than on `errorMessage`, which is prose and may change. Authentication failures returned by our identity provider are forwarded verbatim, so a 401 can carry a code outside this list; treat an unrecognised value as a generic failure of its HTTP status.","enum":["conflict","contact_not_authorized","document_exceeds_page_limit","downstream_entity_member_exists","duplicate_external_id_error","duplicate_member_email","duplicate_producer_code_error","forbidden","gateway_timeout","inactive_email","internal_server_error","invalid_email","invalid_email_for_invites","invalid_organization_category","invalid_organization_slug","invalid_phone_number","invalid_token","invite_limit_reached","jwt_invalid","m2m_client_not_found","not_found","organization_already_exists","organization_slug_already_used","payment_required","producer_agreement_required","product_feature_subscription_required","service_unavailable","session_authorization_error","some_custom_error_string","throttled","too_many_requests","unauthorized","unauthorized_client","unexpected_400_stytch_error","unexpected_403_stytch_error","unexpected_404_stytch_error","unexpected_error","unexpected_stytch_error","unprocessable_entity","validation_error"],"example":"validation_error","isRequired":true,"uniqueKey":"errorType","typeLabel":"enum\u003cstring>"},"errorMessage":{"description":"Array of error messages","type":"array","items":{"type":"string","uniqueKey":"errorMessage.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"errorMessage","typeLabel":"string[]"},"timestamp":{"type":"string","description":"ISO timestamp when the error occurred","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"details":{"type":"object","description":"Additional error context","uniqueKey":"details","typeLabel":"object"}},"required":["statusCode","requestId","errorType","errorMessage","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"requestId":"\u003cstring>","errorType":"validation_error","errorMessage":["\u003cstring>"],"timestamp":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"22da95c7-7b7e-4ccb-a8b9-833703e1770a":{"description":"Too many requests: this credential passed the API-wide limit of 1000 requests per 10 seconds, counted across every endpoint. The request was not processed. Wait the number of seconds in the Retry-After header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Sent when a rate limit refused the request.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"requestId":{"type":"string","description":"Unique request identifier for debugging","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"errorType":{"type":"string","description":"Machine-readable error classification. Branch on this rather than on `errorMessage`, which is prose and may change. Authentication failures returned by our identity provider are forwarded verbatim, so a 401 can carry a code outside this list; treat an unrecognised value as a generic failure of its HTTP status.","enum":["conflict","contact_not_authorized","document_exceeds_page_limit","downstream_entity_member_exists","duplicate_external_id_error","duplicate_member_email","duplicate_producer_code_error","forbidden","gateway_timeout","inactive_email","internal_server_error","invalid_email","invalid_email_for_invites","invalid_organization_category","invalid_organization_slug","invalid_phone_number","invalid_token","invite_limit_reached","jwt_invalid","m2m_client_not_found","not_found","organization_already_exists","organization_slug_already_used","payment_required","producer_agreement_required","product_feature_subscription_required","service_unavailable","session_authorization_error","some_custom_error_string","throttled","too_many_requests","unauthorized","unauthorized_client","unexpected_400_stytch_error","unexpected_403_stytch_error","unexpected_404_stytch_error","unexpected_error","unexpected_stytch_error","unprocessable_entity","validation_error"],"example":"validation_error","isRequired":true,"uniqueKey":"errorType","typeLabel":"enum\u003cstring>"},"errorMessage":{"description":"Array of error messages","type":"array","items":{"type":"string","uniqueKey":"errorMessage.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"errorMessage","typeLabel":"string[]"},"timestamp":{"type":"string","description":"ISO timestamp when the error occurred","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"details":{"type":"object","description":"Additional error context","uniqueKey":"details","typeLabel":"object"}},"required":["statusCode","requestId","errorType","errorMessage","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"requestId":"\u003cstring>","errorType":"validation_error","errorMessage":["\u003cstring>"],"timestamp":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"4999e4d2-dc27-49bc-8a8c-c72b27da9f19":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http","scopes":[],"schemeName":"bearer"}},"26aa7122-40e2-4b3a-9060-09b2b11c7b9c":{"restricted-access-token":{"type":"apiKey","in":"header","name":"x-restricted-access-token","description":"Alternative authentication: Restricted access token (if not using Bearer token)","scopes":[],"schemeName":"restricted-access-token"}}},"servers":{"a05bdd51-68db-4ee9-be34-9b8198412954":{"url":"https://public.api.live.turrisfi.com","description":"Production"},"b1acce2c-c162-4ffd-87ef-994ad2fbe24e":{"url":"https://public.api.sandbox.turrisfi.com","description":"Sandbox"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"JWT","type":"http","scopes":[],"schemeName":"bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-restricted-access-token","description":"Alternative authentication: Restricted access token (if not using Bearer token)","scopes":[],"schemeName":"restricted-access-token"},"schema":{"title":"x-restricted-access-token","type":"string","description":"Alternative authentication: Restricted access token (if not using Bearer token)","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"restricted-access-token","name":"x-restricted-access-token"}],"title":"restricted-access-token"}]},"originalFileLocation":"openapi/v1.json"},"subdomain":"turris","siteName":"Turris Public API","title":"Policies - Turris Public API","relatedPagesConfig":{"enabled":true,"limit":3,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{"v2":{"href":"/api-reference/v2/policies/list-policies","matchLevel":1},"v1":{"href":"/api-reference/v1/policies/list-policies","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T22:37:41.373Z","originalFileLocation":"api-reference/v1/policies/list-policies.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=\"system\"}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=\"Retrieve all policies belonging to the authenticated upstream entity\">\u003cmeta data-mint-head name=\"application-name\" content=\"Turris Public 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/turris/UYm7mYboWneVSCYG/_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/turris/UYm7mYboWneVSCYG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/turris/UYm7mYboWneVSCYG/_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/turris/UYm7mYboWneVSCYG/_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/turris/UYm7mYboWneVSCYG/_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/turris/UYm7mYboWneVSCYG/_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/turris/UYm7mYboWneVSCYG/_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/turris/UYm7mYboWneVSCYG/_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/turris/UYm7mYboWneVSCYG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Policies - Turris Public API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve all policies belonging to the authenticated upstream entity\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Turris Public API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.turrisfi.com/api-reference/v1/policies/list-policies\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://turris.mintlify.site/_mintlify/api/og/v2?division=Policy+Ingestion\u0026amp;title=Policies\u0026amp;description=Retrieve+all+policies+belonging+to+the+authenticated+upstream+entity\u0026amp;theme=c46ece167b2fe61e15f5803d\u0026amp;signature=479c46bca271153f7f94a249a459fcec1e721607b9ce341f57c878ad5a7a371c\">\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=\"Policies - Turris Public API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve all policies belonging to the authenticated upstream entity\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://turris.mintlify.site/_mintlify/api/og/v2?division=Policy+Ingestion\u0026amp;title=Policies\u0026amp;description=Retrieve+all+policies+belonging+to+the+authenticated+upstream+entity\u0026amp;theme=c46ece167b2fe61e15f5803d\u0026amp;signature=479c46bca271153f7f94a249a459fcec1e721607b9ce341f57c878ad5a7a371c\">\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/turris/UYm7mYboWneVSCYG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Turris Public API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#006cff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.turrisfi.com/api-reference/v1/policies/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/v1/policies/list-policies.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.turrisfi.com/#organization\",\"name\":\"Turris Public API\",\"url\":\"https://docs.turrisfi.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.turrisfi.com#website\",\"name\":\"Turris Public API\",\"url\":\"https://docs.turrisfi.com\",\"publisher\":{\"@id\":\"https://docs.turrisfi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.turrisfi.com/api-reference/v1/policies/list-policies#webpage\",\"url\":\"https://docs.turrisfi.com/api-reference/v1/policies/list-policies\",\"name\":\"Policies\",\"description\":\"Retrieve all policies belonging to the authenticated upstream entity\",\"dateModified\":\"2026-11-12T22:37:41.373Z\",\"isPartOf\":{\"@id\":\"https://docs.turrisfi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.turrisfi.com/api-reference/v1/policies/list-policies#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.turrisfi.com/api-reference/v1/policies/list-policies#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Turris Public API\",\"item\":\"https://docs.turrisfi.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Policies\",\"item\":\"https://docs.turrisfi.com/api-reference/v1/policies/list-policies\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.turrisfi.com/api-reference/v1/policies/list-policies#apireference\",\"headline\":\"Policies\",\"name\":\"Policies\",\"description\":\"Retrieve all policies belonging to the authenticated upstream entity\",\"url\":\"https://docs.turrisfi.com/api-reference/v1/policies/list-policies\",\"mainEntityOfPage\":{\"@id\":\"https://docs.turrisfi.com/api-reference/v1/policies/list-policies#webpage\"},\"dateModified\":\"2026-11-12T22:37:41.373Z\",\"publisher\":{\"@id\":\"https://docs.turrisfi.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.turrisfi.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Turris Public API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Turris Public API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/v1/policies/list-policies.md","siteName":"Turris Public API","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Carrier \u0026 MGA API","icon":"building-columns","versions":[{"version":"v2","default":true,"pages":[{"title":"v2","href":"/api-reference/v2/policies/list-policies"}]},{"version":"v1","tag":"Legacy","groups":[{"group":"Start Here","icon":"rocket","pages":[{"title":"The Carrier \u0026 MGA API","icon":"building-columns","href":"/guides/carrier-api"},{"title":"Migrating from v1 to v2","href":"/guides/migration-v1-to-v2"}]},{"group":"Shared Endpoints","icon":"key","pages":[{"title":"Health Check","openapi":"openapi/v1.json GET /v1/heartbeat","href":"/api-reference/v1/heartbeat/health-check"},{"title":"Get OAuth Token","openapi":"openapi/v1.json POST /v1/auth/jwt","href":"/api-reference/v1/authentication/get-oauth-token"},{"title":"Test OAuth","openapi":"openapi/v1.json GET /v1/auth/test-oauth","href":"/api-reference/v1/authentication/test-oauth"},{"title":"Test Restricted Access Token","openapi":"openapi/v1.json GET /v1/auth/test-restricted-access-token","href":"/api-reference/v1/authentication/test-restricted-access-token"}]},{"group":"Products","icon":"box","pages":[{"title":"List Products","openapi":"openapi/v1.json GET /v1/products","href":"/api-reference/v1/products/list-products"},{"title":"Get Product","openapi":"openapi/v1.json GET /v1/products/{productId}","href":"/api-reference/v1/products/get-product"}]},{"group":"Agencies You Appoint","icon":"building","pages":[{"title":"List Associations","openapi":"openapi/v1.json GET /v1/downstream-entity-associations","href":"/api-reference/v1/downstream-entity-associations/list-associations"},{"title":"Get Association","openapi":"openapi/v1.json GET /v1/downstream-entity-associations/{downstreamEntityAssociationId}","href":"/api-reference/v1/downstream-entity-associations/get-association"},{"title":"Get Sign-In URL","openapi":"openapi/v1.json GET /v1/downstream-entity-associations/{downstreamEntityAssociationId}/sign-in-url","href":"/api-reference/v1/downstream-entity-associations/get-sign-in-url"},{"title":"Invite Downstream Entity","openapi":"openapi/v1.json POST /v1/downstream-entity-associations/invite","href":"/api-reference/v1/downstream-entity-associations/invite"},{"title":"Add Downstream Entity","openapi":"openapi/v1.json POST /v1/downstream-entity-associations/add","href":"/api-reference/v1/downstream-entity-associations/add"},{"title":"Invite (Dangerously)","openapi":"openapi/v1.json POST /v1/downstream-entity-associations/dangerously-invite","deprecated":true,"href":"/api-reference/v1/downstream-entity-associations/dangerously-invite"},{"title":"Add (Dangerously)","openapi":"openapi/v1.json POST /v1/downstream-entity-associations/dangerously-add","deprecated":true,"href":"/api-reference/v1/downstream-entity-associations/dangerously-add"}]},{"group":"Contract Container Templates","icon":"file-contract","pages":[{"title":"List Contract Container Templates","openapi":"openapi/v1.json GET /v1/contract-container-templates","href":"/api-reference/v1/contract-container-templates/list"}]},{"group":"Agents","icon":"user","pages":[{"title":"List Agents","openapi":"openapi/v1.json GET /v1/agents","href":"/api-reference/v1/agents/list-agents"},{"title":"Get Agent","openapi":"openapi/v1.json GET /v1/agents/{agentId}","href":"/api-reference/v1/agents/get-agent"},{"title":"Create Agent","openapi":"openapi/v1.json POST /v1/agents","href":"/api-reference/v1/agents/create-agent"}]},{"group":"Contacts","icon":"address-book","pages":[{"title":"List Contacts","openapi":"openapi/v1.json GET /v1/contacts","href":"/api-reference/v1/contacts/list-contacts"},{"title":"Get Contact","openapi":"openapi/v1.json GET /v1/contacts/{contactId}","href":"/api-reference/v1/contacts/get-contact"}]},{"group":"Market Contacts","icon":"headset","pages":[{"title":"List Market Contacts","openapi":"openapi/v1.json GET /v1/market-contacts","href":"/api-reference/v1/market-contacts/list-market-contacts"}]},{"group":"Licenses","icon":"id-card","pages":[{"title":"Get Agent Licenses","openapi":"openapi/v1.json GET /v1/agents/{agentId}/licenses","href":"/api-reference/v1/licenses/agent-licenses"},{"title":"Get All Agent Licenses","openapi":"openapi/v1.json GET /v1/agents/licenses","href":"/api-reference/v1/licenses/all-agent-licenses"},{"title":"Get Downstream Entity Licenses","openapi":"openapi/v1.json GET /v1/downstream-entity-associations/{downstreamEntityAssociationId}/licenses","href":"/api-reference/v1/licenses/downstream-entity-licenses"},{"title":"Get All Downstream Entity Licenses","openapi":"openapi/v1.json GET /v1/downstream-entity-associations/licenses","href":"/api-reference/v1/licenses/all-downstream-entity-licenses"},{"title":"Get Downstream Entity Surplus Lines Licenses","openapi":"openapi/v1.json GET /v1/downstream-entity-associations/licenses/surplus-lines","href":"/api-reference/v1/licenses/surplus-lines"},{"title":"Get Downstream Entity Surplus Lines Licenses (Dangerously)","openapi":"openapi/v1.json GET /v1/downstream-entity-associations/licenses/dangerously-surplus-lines","deprecated":true,"href":"/api-reference/v1/licenses/dangerously-surplus-lines"}]},{"group":"Appointments","icon":"calendar","pages":[{"title":"Get Agent Appointments","openapi":"openapi/v1.json GET /v1/agents/{agentId}/appointments","href":"/api-reference/v1/appointments/agent-appointments"},{"title":"Get Downstream Entity Appointments","openapi":"openapi/v1.json GET /v1/downstream-entity-associations/{downstreamEntityAssociationId}/appointments","href":"/api-reference/v1/appointments/downstream-entity-appointments"}]},{"group":"Compliance Data Subscriptions","icon":"database","pages":[{"title":"Get Subscription Status","openapi":"openapi/v1.json GET /v1/compliance-data-subscriptions/{niprDataSubscriptionId}","href":"/api-reference/v1/compliance-data-subscriptions/get-status"},{"title":"Sync Downstream Entity","openapi":"openapi/v1.json POST /v1/downstream-entity-associations/{downstreamEntityAssociationId}/sync","href":"/api-reference/v1/compliance-data-subscriptions/sync-downstream-entity"},{"title":"Sync Agent","openapi":"openapi/v1.json POST /v1/agents/{agentId}/sync","href":"/api-reference/v1/compliance-data-subscriptions/sync-agent"}]},{"group":"Compliance Status","icon":"circle-check","pages":[{"title":"Get Agent Compliance Status","openapi":"openapi/v1.json GET /v1/agents/{agentId}/license-compliance-statuses","href":"/api-reference/v1/compliance-status/agent-compliance"},{"title":"Get Downstream Entity Compliance Status","openapi":"openapi/v1.json GET /v1/downstream-entity-associations/{downstreamEntityAssociationId}/license-compliance-statuses","href":"/api-reference/v1/compliance-status/downstream-entity-compliance"}]},{"group":"File Documents","icon":"file","pages":[{"title":"List Documents","openapi":"openapi/v1.json GET /v1/file-documents","href":"/api-reference/v1/file-documents/list-documents"},{"title":"Get Producer Agreement Templates","openapi":"openapi/v1.json GET /v1/file-documents","href":"/api-reference/v1/file-documents/get-producer-agreement-templates"},{"title":"Upload Document","description":"Upload a new file document","openapi":"openapi/v1.json POST /v1/file-documents","href":"/api-reference/v1/file-documents/upload-document"}]},{"group":"Policy Ingestion","icon":"file-lines","pages":[{"title":"Policies","openapi":"openapi/v1.json GET /v1/policies","href":"/api-reference/v1/policies/list-policies"},{"title":"Policy","description":"Retrieve a single policy by ID","openapi":"openapi/v1.json GET /v1/policies/{policyId}","href":"/api-reference/v1/policies/get-policy"},{"title":"Create Policy","openapi":"openapi/v1.json POST /v1/policies","href":"/api-reference/v1/policies/create-policy"},{"title":"Update Policy","openapi":"openapi/v1.json PATCH /v1/policies/{policyId}","href":"/api-reference/v1/policies/update-policy"},{"title":"Delete Policy","openapi":"openapi/v1.json DELETE /v1/policies/{policyId}","href":"/api-reference/v1/policies/delete-policy"},{"title":"Upload Policy File","openapi":"openapi/v1.json POST /v1/policies/upload","href":"/api-reference/v1/policies/upload-policy-file"},{"title":"Uploading Status","openapi":"openapi/v1.json GET /v1/policies/uploads/{uploadId}","href":"/api-reference/v1/policies/get-upload-status"}]},{"group":"Policy Transactions","icon":"arrow-right-arrow-left","pages":[{"title":"Create Transaction","openapi":"openapi/v1.json POST /v1/policies/{policyId}/transactions","href":"/api-reference/v1/policy-transactions/create-transaction"},{"title":"List Transactions","openapi":"openapi/v1.json GET /v1/policies/{policyId}/transactions","href":"/api-reference/v1/policy-transactions/list-transactions"},{"title":"Get Transaction","openapi":"openapi/v1.json GET /v1/policies/{policyId}/transactions/{transactionId}","href":"/api-reference/v1/policy-transactions/get-transaction"},{"title":"Update Transaction","openapi":"openapi/v1.json PATCH /v1/policies/{policyId}/transactions/{transactionId}","href":"/api-reference/v1/policy-transactions/update-transaction"},{"title":"Delete Transaction","openapi":"openapi/v1.json DELETE /v1/policies/{policyId}/transactions/{transactionId}","href":"/api-reference/v1/policy-transactions/delete-transaction"}]},{"group":"Surplus Lines Filings","icon":"file-invoice-dollar","pages":[{"title":"Surplus Lines Filings","openapi":"openapi/v1.json GET /v1/surplus-lines-filings","href":"/api-reference/v1/surplus-lines-filings/list-filings"},{"title":"Surplus Lines Filing","openapi":"openapi/v1.json GET /v1/surplus-lines-filings/{filingId}","href":"/api-reference/v1/surplus-lines-filings/get-filing"}]},{"group":"Webhooks","icon":"bell","pages":[{"title":"List Webhooks","openapi":"openapi/v1.json GET /v1/webhooks","href":"/api-reference/v1/webhooks/list-webhooks"},{"title":"Send Test Event","openapi":"openapi/v1.json POST /v1/webhooks/{webhookId}/test","href":"/api-reference/v1/webhooks/test-webhook"}]},{"group":"E\u0026O/Cyber Compliance","icon":"shield-check","pages":[{"title":"Get E\u0026O/Cyber Compliance","openapi":"openapi/v1.json GET /v1/downstream-entity-associations/{downstreamEntityAssociationId}/policy-compliance-statuses","href":"/api-reference/v1/eo-cyber-compliance/get-policy-compliance"}]},{"group":"Regulatory Actions","icon":"gavel","pages":[{"title":"Get Agent Regulatory Actions","openapi":"openapi/v1.json GET /v1/agents/{agentId}/regulatory-actions","href":"/api-reference/v1/regulatory-actions/agent-regulatory-actions"},{"title":"Get Downstream Entity Regulatory Actions","openapi":"openapi/v1.json GET /v1/downstream-entity-associations/{downstreamEntityAssociationId}/regulatory-actions","href":"/api-reference/v1/regulatory-actions/downstream-entity-regulatory-actions"}]},{"group":"Tools","icon":"wrench","pages":[{"title":"Validate NPNs","openapi":"openapi/v1.json POST /v1/npn-lookup","href":"/api-reference/v1/tools/validate-npns"}]}]}]},{"tab":"Agency API","icon":"building-user","pages":[{"title":"Agency API","href":"/guides/agency-api"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Policies - Turris Public API","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-NXj-Rqjv.js","utils-m0thOP-_.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D13EKcfm.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema--XTdfsEb.js","snippetPresets-D3s4lmAH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-ChURybxL.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DL8CiXq2.js","shallow-DI2-YB2E.js","getApiPlaygroundDisplay-DxbW7b_y.js","CodeSnippet-CiNYS0pP.js","CodeSnippets-BT87bThu.js","Page-DSpdRuhM.js","getPastedJson-F_g_IrFQ.js","icon-CCIG5BAs.js","MethodPill-DY3E0jwx.js","DuplicateIcon-BN88xnEg.js","createIcon-VCCc5HO5.js","DynamicMarkdown-CaSwclgK.js","SectionHeading-DXV8nWhc.js","axios-vUo_bRtp.js","Markdown-CV32Re6G.js","clsx-5ydLOnhV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-pFDdfjRe.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BUGO5bPJ.js"]}