> ## Documentation Index
> Fetch the complete documentation index at: https://docs.microcrop.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Get policy status

> Full policy plus daysRemaining, payouts[] and damageAssessments[]. The best single call for current state.



## OpenAPI

````yaml /api-reference/openapi.json get /policies/{policyId}/status
openapi: 3.1.0
info:
  title: MicroCrop Partner API
  version: 1.0.0
  description: >-
    Parametric crop & livestock insurance API for integrating partners. All
    requests authenticate with an organization API key in the `x-api-key`
    header.
servers:
  - url: https://app.microcrop.app/api
    description: Production (Base mainnet)
security:
  - apiKey: []
tags:
  - name: Farmers
  - name: Plots
  - name: Herds
  - name: Policies
  - name: Payments
  - name: Payouts
  - name: Organization
  - name: Determinations
paths:
  /policies/{policyId}/status:
    get:
      tags:
        - Policies
      summary: Get policy status
      description: >-
        Full policy plus daysRemaining, payouts[] and damageAssessments[]. The
        best single call for current state.
      parameters:
        - $ref: '#/components/parameters/policyId'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyEnvelope'
components:
  parameters:
    policyId:
      name: policyId
      in: path
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    PolicyEnvelope:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          $ref: '#/components/schemas/Policy'
    Policy:
      type: object
      properties:
        id:
          type: string
          format: uuid
        policyNumber:
          type: string
        status:
          type: string
          enum:
            - PENDING
            - ACTIVE
            - EXPIRED
            - CANCELLED
        premiumPaid:
          type: boolean
        sumInsured:
          type: number
        premium:
          type: number
        coverageType:
          type: string
        onChainPolicyId:
          type: string
          nullable: true
        daysRemaining:
          type: integer
        payouts:
          type: array
          items:
            type: object
        damageAssessments:
          type: array
          items:
            type: object
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````