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

# Retry a failed Import

> Retry a failed Import, preserving the Import ID and prior receipts. No request body: the server tracks the attempt and starts the next one. Answers 409 when the Import already succeeded, is already running, or otherwise did not fail.



## OpenAPI

````yaml https://api.monaco.com/openapi.json post /v1/tam/import/{operation_id}/retry
openapi: 3.1.0
info:
  title: Monaco Public API
  description: Public API for Monaco
  version: 1.0.0
servers:
  - url: https://api.monaco.com
security: []
paths:
  /v1/tam/import/{operation_id}/retry:
    post:
      tags:
        - TAM
      summary: Retry a failed Import
      description: >-
        Retry a failed Import, preserving the Import ID and prior receipts. No
        request body: the server tracks the attempt and starts the next one.
        Answers 409 when the Import already succeeded, is already running, or
        otherwise did not fail.
      operationId: retry_tam_import
      parameters:
        - name: operation_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Operation Id
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicItemResponse_TamImportResponse_'
        4XX:
          description: Client error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorResponse'
components:
  schemas:
    PublicItemResponse_TamImportResponse_:
      properties:
        data:
          $ref: '#/components/schemas/TamImportResponse'
        meta:
          $ref: '#/components/schemas/ResponseMeta'
      type: object
      required:
        - data
      title: PublicItemResponse[TamImportResponse]
    PublicErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - error
      title: PublicErrorResponse
    TamImportResponse:
      properties:
        operation_id:
          type: string
          format: uuid
          title: Operation Id
        preview_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Preview Id
        status:
          type: string
          enum:
            - IN_PROGRESS
            - SUCCEEDED
            - FAILED
          title: Status
        attempt:
          type: integer
          minimum: 1
          title: Attempt
        accounts:
          $ref: '#/components/schemas/TamImportProgress'
        contacts:
          $ref: '#/components/schemas/TamImportProgress'
        materialization:
          $ref: '#/components/schemas/TamImportMaterialization'
        selection:
          anyOf:
            - $ref: '#/components/schemas/TamImportSelection'
            - type: 'null'
        failure_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Failure Reason
        started_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Started At
          description: When the Import was accepted.
        finished_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Finished At
          description: 'Null: the Import''s finish time is not stored yet.'
        totals:
          anyOf:
            - $ref: '#/components/schemas/TamImportTotals'
            - type: 'null'
        research:
          anyOf:
            - $ref: '#/components/schemas/TamImportResearch'
            - type: 'null'
      type: object
      required:
        - operation_id
        - preview_id
        - status
        - attempt
        - accounts
        - contacts
        - materialization
        - selection
        - failure_reason
      title: TamImportResponse
    ResponseMeta:
      properties:
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: Server timestamp of the response
      type: object
      title: ResponseMeta
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
          description: Machine-readable error code
          examples:
            - not_found
        message:
          type: string
          title: Message
          description: Human-readable error message
          examples:
            - Resource not found
      type: object
      required:
        - code
        - message
      title: ErrorDetail
    TamImportProgress:
      properties:
        total:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total
        created:
          anyOf:
            - type: integer
            - type: 'null'
          title: Created
        already_existed:
          anyOf:
            - type: integer
            - type: 'null'
          title: Already Existed
      type: object
      required:
        - total
        - created
        - already_existed
      title: TamImportProgress
    TamImportMaterialization:
      properties:
        ist_companies:
          $ref: '#/components/schemas/TamImportProgress'
        ist_gold_companies:
          $ref: '#/components/schemas/TamImportProgress'
        flattened_companies:
          $ref: '#/components/schemas/TamImportProgress'
        accounts:
          $ref: '#/components/schemas/TamImportProgress'
        account_icps:
          $ref: '#/components/schemas/TamImportProgress'
        ist_persons:
          $ref: '#/components/schemas/TamImportProgress'
        ist_employment_info:
          $ref: '#/components/schemas/TamImportProgress'
        flattened_persons:
          $ref: '#/components/schemas/TamImportProgress'
        contacts:
          $ref: '#/components/schemas/TamImportProgress'
      type: object
      required:
        - ist_companies
        - ist_gold_companies
        - flattened_companies
        - accounts
        - account_icps
        - ist_persons
        - ist_employment_info
        - flattened_persons
        - contacts
      title: TamImportMaterialization
    TamImportSelection:
      properties:
        rejected_companies:
          $ref: '#/components/schemas/TamImportSelectionCount'
        rejected_people:
          $ref: '#/components/schemas/TamImportSelectionCount'
        skipped_companies:
          $ref: '#/components/schemas/TamImportSelectionCount'
        skipped_inputs:
          $ref: '#/components/schemas/TamImportSkippedInputs'
      type: object
      required:
        - rejected_companies
        - rejected_people
        - skipped_companies
        - skipped_inputs
      title: TamImportSelection
    TamImportTotals:
      properties:
        accounts:
          $ref: '#/components/schemas/TamImportRecordCounts'
        contacts:
          $ref: '#/components/schemas/TamImportRecordCounts'
      type: object
      required:
        - accounts
        - contacts
      title: TamImportTotals
    TamImportResearch:
      properties:
        status:
          type: string
          enum:
            - not_started
            - dispatched
            - running
            - completed
            - failed
            - skipped
          title: Status
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
        accounts_total:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Accounts Total
        accounts_done:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Accounts Done
          description: 'Null: per-Account completion is not tracked yet.'
        fields:
          items:
            $ref: '#/components/schemas/TamResearchField'
          type: array
          title: Fields
        flow_run_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Flow Run Id
        started_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Started At
          description: 'Null: not stored yet.'
        finished_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Finished At
          description: 'Null: not stored yet.'
        qualifier_cost:
          anyOf:
            - $ref: '#/components/schemas/TamResearchCost'
            - type: 'null'
          description: >-
            The Preview's Qualifier research in AI signal credits, the figure
            the Preview showed, charged once when this Import was accepted. The
            research after Import (fields above) is billed as it runs and never
            re-researches that Qualifier field.
      additionalProperties: true
      type: object
      required:
        - status
      title: TamImportResearch
      description: >-
        AI web research started after Import, read from stored state only.


        Open object: later fields (for example a cost block) may be added
        without notice.
    TamImportSelectionCount:
      properties:
        total:
          type: integer
          title: Total
        reasons:
          additionalProperties:
            type: integer
          type: object
          title: Reasons
      type: object
      required:
        - total
        - reasons
      title: TamImportSelectionCount
    TamImportSkippedInputs:
      properties:
        total:
          type: integer
          title: Total
        reasons:
          additionalProperties:
            type: integer
          type: object
          title: Reasons
        records:
          items:
            $ref: '#/components/schemas/TamImportSkippedInput'
          type: array
          title: Records
        omitted_count:
          type: integer
          title: Omitted Count
      type: object
      required:
        - total
        - reasons
        - records
        - omitted_count
      title: TamImportSkippedInputs
    TamImportRecordCounts:
      properties:
        created:
          type: integer
          minimum: 0
          title: Created
        existing:
          type: integer
          minimum: 0
          title: Existing
        skipped:
          type: integer
          minimum: 0
          title: Skipped
      type: object
      required:
        - created
        - existing
        - skipped
      title: TamImportRecordCounts
    TamResearchField:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
      type: object
      required:
        - id
        - name
      title: TamResearchField
    TamResearchCost:
      properties:
        companies:
          anyOf:
            - type: integer
            - type: 'null'
          title: Companies
          description: Companies the Qualifier researches (the estimate's count).
        units:
          anyOf:
            - type: integer
            - type: 'null'
          title: Units
          description: >-
            Companies whose research returned a usable answer, pass or fail: the
            units charged. Failed or unanswered research is not charged. Known
            once READY.
        unit_rate:
          anyOf:
            - type: number
            - type: 'null'
          title: Unit Rate
          description: >-
            AI signal credits per answer at the list rate; null when
            unavailable.
        estimated_ai_signal_credits:
          anyOf:
            - type: integer
            - type: 'null'
          title: Estimated Ai Signal Credits
          description: >-
            companies x unit_rate at the list rate; null when the rate is
            unavailable.
        actual_ai_signal_credits:
          anyOf:
            - type: integer
            - type: 'null'
          title: Actual Ai Signal Credits
          description: units x unit_rate, known once READY.
        unit_product:
          type: string
          title: Unit Product
          description: The AI signal product these credits draw from.
        rate_basis:
          type: string
          const: list
          title: Rate Basis
          description: The global list rate, not a contracted rate.
          default: list
        charged:
          type: boolean
          title: Charged
          description: >-
            False until the customer's Import of this Preview is accepted; then
            true. A Preview that is never imported is never charged.
        charged_operation_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Charged Operation Id
          description: The accepted Import that charged the research.
      type: object
      required:
        - unit_product
        - charged
      title: TamResearchCost
      description: >-
        Qualifier research priced in AI signal credits, the unit every AI signal
        draws from.
    TamImportSkippedInput:
      properties:
        stage:
          type: string
          title: Stage
        reason_code:
          type: string
          title: Reason Code
        monaco_company_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Monaco Company Id
        monaco_person_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Monaco Person Id
      type: object
      required:
        - stage
        - reason_code
        - monaco_company_id
        - monaco_person_id
      title: TamImportSkippedInput

````

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