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

# Request a document refresh for a Florida filing

> Ask Florida OIR again for one catalog filing’s documents, so that documents added or revised after Effective last stored them appear in listFilingFiles. Only filings whose `source` is florida_irfs can be refreshed; any other filing answers 422 `document_refresh_unsupported`.

Florida OIR sends documents by email, usually within minutes and sometimes hours, so 202 means the request was accepted, not that files changed. To follow it, read `filesUrl` (listFilingFiles) and check `latestRefreshEvent`, where a `requested` event appears shortly after acceptance. That event describes the filing rather than this request: it can come from an earlier request by your workspace, `ready` means one reply was stored (possibly only some documents, or the same files as before), and no event says a request timed out. This operation takes no request body.

Not idempotent: every accepted call sends another request to Florida OIR and uses one of your workspace’s daily Florida document requests. Do not retry automatically. After a timeout or an unclear failure, read `latestRefreshEvent` first and call again only if a person wants another request. When the daily limit is used up the call answers 429 `document_refresh_quota_exceeded` and requests nothing; the limit resets at midnight US Eastern time and `Retry-After` gives the seconds until then. Free of credit charges. Requires a write-capable member credential. Scoped keys and app credentials with catalog read access cannot request documents.



## OpenAPI

````yaml /openapi.json post /insurance/filings/{filingId}/document-refresh
openapi: 3.0.3
info:
  title: Effective API
  version: 2.0.0
  description: The public Effective REST API. Authenticate using an Effective API key.
servers:
  - url: https://api.canary.effectiveai.app/api/v2
    description: Canary
security:
  - bearerAuth: []
paths:
  /insurance/filings/{filingId}/document-refresh:
    post:
      tags:
        - Filings
      summary: Request a document refresh for a Florida filing
      description: >-
        Ask Florida OIR again for one catalog filing’s documents, so that
        documents added or revised after Effective last stored them appear in
        listFilingFiles. Only filings whose `source` is florida_irfs can be
        refreshed; any other filing answers 422 `document_refresh_unsupported`.


        Florida OIR sends documents by email, usually within minutes and
        sometimes hours, so 202 means the request was accepted, not that files
        changed. To follow it, read `filesUrl` (listFilingFiles) and check
        `latestRefreshEvent`, where a `requested` event appears shortly after
        acceptance. That event describes the filing rather than this request: it
        can come from an earlier request by your workspace, `ready` means one
        reply was stored (possibly only some documents, or the same files as
        before), and no event says a request timed out. This operation takes no
        request body.


        Not idempotent: every accepted call sends another request to Florida OIR
        and uses one of your workspace’s daily Florida document requests. Do not
        retry automatically. After a timeout or an unclear failure, read
        `latestRefreshEvent` first and call again only if a person wants another
        request. When the daily limit is used up the call answers 429
        `document_refresh_quota_exceeded` and requests nothing; the limit resets
        at midnight US Eastern time and `Retry-After` gives the seconds until
        then. Free of credit charges. Requires a write-capable member
        credential. Scoped keys and app credentials with catalog read access
        cannot request documents.
      operationId: requestFilingDocumentRefresh
      parameters:
        - schema:
            type: string
            format: uuid
            description: Catalog filing ID from GET /insurance/filings.
          required: true
          description: Catalog filing ID from GET /insurance/filings.
          name: filingId
          in: path
      responses:
        '202':
          description: >-
            Request accepted. Documents arrive later; follow filesUrl and its
            latestRefreshEvent.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2FilingDocumentRefreshAccepted'
        '400':
          description: Invalid filing ID or unexpected query parameter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '401':
          description: Authentication required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '403':
          description: The caller cannot view filings, or is a read-only member.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '404':
          description: Filing not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '422':
          description: >-
            document_refresh_unsupported: the filing is not a Florida OIR
            filing. Nothing was requested.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '429':
          description: >-
            document_refresh_quota_exceeded: the workspace’s daily Florida
            document requests are used up. Nothing was requested. Retry-After is
            the seconds until the limit resets.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '500':
          description: >-
            Unexpected server error. The request may have been accepted; check
            latestRefreshEvent before calling again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '503':
          description: >-
            Dependency unavailable. The request may have been accepted; check
            latestRefreshEvent before calling again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
      security:
        - bearerAuth: []
components:
  schemas:
    V2FilingDocumentRefreshAccepted:
      type: object
      properties:
        acceptedAt:
          type: string
          format: date-time
          description: When Effective accepted this request.
        filesUrl:
          type: string
          description: >-
            Path of listFilingFiles for this filing, whose latestRefreshEvent
            reports what has happened since.
      required:
        - acceptedAt
        - filesUrl
      additionalProperties: false
    V2CodedError:
      allOf:
        - $ref: '#/components/schemas/V2Error'
        - type: object
          properties:
            code:
              type: string
              minLength: 1
              description: Stable error code. Clients must tolerate unknown future codes.
            details:
              type: array
              items:
                type: object
                properties:
                  location:
                    type: string
                    enum:
                      - path
                      - query
                      - header
                      - body
                  path:
                    type: array
                    items:
                      type: string
                      maxLength: 64
                    maxItems: 12
                  code:
                    type: string
                    enum:
                      - required
                      - invalid_type
                      - invalid_value
                      - unknown_field
                  message:
                    type: string
                    minLength: 1
                    maxLength: 200
                required:
                  - location
                  - path
                  - code
                  - message
              minItems: 1
              maxItems: 20
              description: Bounded safe validation issues; may omit some invalid fields.
            requestId:
              type: string
              minLength: 1
              maxLength: 128
              description: >-
                Existing server correlation for this HTTP attempt, when
                available.
            dataset:
              type: string
              enum:
                - naic
                - osha
              description: Dataset needed for dataset_not_enabled.
            businessCode:
              type: string
              description: The rater’s own refusal code, for business_rejection.
            violations:
              type: array
              items:
                type: object
                properties:
                  code:
                    type: string
                    description: Authored or built-in constraint code
                  message:
                    type: string
                    description: Authored message for the failed constraint
                  path:
                    type: string
                    description: Input path of the offending value; empty for the request
                  value:
                    nullable: true
                    description: Offending input value, size-bounded by the runtime
                  constraint:
                    type: string
                    description: The constraint the value failed, as text
                  cite:
                    type: string
                    nullable: true
                    description: >-
                      Filing citation of the constraint, when the source cites
                      one
                required:
                  - code
                  - message
                  - path
                  - value
                  - constraint
                  - cite
                additionalProperties: false
              maxItems: 256
              description: >-
                Each input constraint the submission failed, for invalid_inputs
                and business_rejection.
            violationsTruncated:
              type: boolean
              description: >-
                True when the rater reported more violations than violations
                holds.
            executionId:
              type: string
              description: >-
                The recorded execution of a failed rating, for rater rating
                failures.
            accessUrl:
              type: string
              nullable: true
              format: uri
              description: Not currently returned.
          required:
            - code
    V2Error:
      type: object
      properties:
        error:
          type: string
          minLength: 1
          description: Human-readable explanation of the failure.
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Effective API key. Send Authorization: Bearer sk-eai-...'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.