> **For AI agents:** this page is a focused, LLM-optimized view of a
> single Fiber AI operation. Before calling it, fetch the routing
> instructions at [`https://api.fiber.ai/llms.txt`](https://api.fiber.ai/llms.txt) and the full operation
> index at [`https://api.fiber.ai/ai-docs/index.md`](https://api.fiber.ai/ai-docs/index.md).

# pollMosaic

`POST /v1/mosaic/poll`

**Tags:** `Repair Data`

Poll Mosaic run status

**Endpoint:** `https://api.fiber.ai/v1/mosaic/poll`

## Description

Retrieves the status of a Mosaic job started by `/mosaic/start`. When the run is done, the response includes temporary download links for the enriched CSV and the summary report.

⚡ Rate limit: 120 requests per 1 minute

💰 Cost: FREE! No credits are charged for this API. ⓘ

## Request body (JSON Schema)

```json
{
  "type": "object",
  "properties": {
    "apiKey": {
      "type": "string",
      "description": "Your Fiber API key"
    },
    "runId": {
      "type": "string",
      "minLength": 1,
      "description": "Run ID returned by the /mosaic/start endpoint"
    }
  },
  "required": [
    "apiKey",
    "runId"
  ]
}
```

## Response — success (JSON Schema)

```json
{
  "type": "object",
  "properties": {
    "output": {
      "type": "object",
      "properties": {
        "run": {
          "type": "object",
          "properties": {
            "runId": {
              "type": "string",
              "description": "Unique Mosaic run ID. Pass this to /mosaic/poll."
            },
            "status": {
              "type": "string",
              "enum": [
                "pending",
                "running",
                "done",
                "failed"
              ],
              "description": "Run lifecycle status. `pending` = queued, `running` = in progress, `done` = finished successfully, `failed` = terminal error. Download links are present only when status is `done`."
            },
            "rowCount": {
              "type": [
                "integer",
                "null"
              ],
              "minimum": 0,
              "description": "Rows detected in the input file."
            },
            "processedRowCount": {
              "type": [
                "integer",
                "null"
              ],
              "minimum": 0,
              "description": "Rows enriched and written to the output CSV (<= rowCount when maxRows or the free-trial cap applies)."
            },
            "isFreeTrialRun": {
              "type": "boolean",
              "description": "True when this run used the organization's one-time free Mosaic trial (first 1,000 rows free)."
            },
            "stats": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "inputRows": {
                  "type": "integer",
                  "minimum": 0
                },
                "outputRows": {
                  "type": "integer",
                  "minimum": 0
                },
                "rowsWhereProfileFound": {
                  "type": "integer",
                  "minimum": 0
                },
                "rowsWithContactDetails": {
                  "type": "integer",
                  "minimum": 0
                },
                "rowsWithErrors": {
                  "type": "integer",
                  "minimum": 0
                }
              },
              "required": [
                "inputRows",
                "outputRows",
                "rowsWhereProfileFound",
                "rowsWithContactDetails",
                "rowsWithErrors"
              ],
              "description": "Aggregate enrichment statistics. Present when the run has finished processing rows."
            },
            "outputCsvUrl": {
              "type": [
                "string",
                "null"
              ],
              "description": "Temporary HTTPS download link for the enriched CSV. Present only when status is `done`."
            },
            "reportUrl": {
              "type": [
                "string",
                "null"
              ],
              "description": "Temporary HTTPS download link for the Markdown summary report. Present only when status is `done`."
            }
          },
          "required": [
            "runId",
            "status",
            "rowCount",
            "processedRowCount",
            "isFreeTrialRun",
            "stats",
            "outputCsvUrl",
            "reportUrl"
          ],
          "description": "Current Mosaic run state. When status is done, outputCsvUrl and reportUrl are temporary download links."
        }
      },
      "required": [
        "run"
      ]
    },
    "chargeInfo": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "method": {
              "type": "string",
              "enum": [
                "charged-now"
              ]
            },
            "creditsCharged": {
              "type": "number"
            },
            "lowCreditAlert": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "getMoreCreditsUrl": {
                  "type": "string",
                  "format": "uri",
                  "description": "URL to top up credits or restart billing cycle to get fresh credits."
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable credits warning."
                },
                "availableCredits": {
                  "type": "number",
                  "description": "Number of credits remaining in the current billing period."
                }
              },
              "required": [
                "getMoreCreditsUrl",
                "message",
                "availableCredits"
              ],
              "description": "Contains a link to get more credits, a warning message, and the remaining credit count."
            }
          },
          "required": [
            "method",
            "creditsCharged"
          ],
          "description": "Credits were charged immediately for this operation"
        },
        {
          "type": "object",
          "properties": {
            "method": {
              "type": "string",
              "enum": [
                "charging-later"
              ]
            },
            "message": {
              "type": "string"
            },
            "lowCreditAlert": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "getMoreCreditsUrl": {
                  "type": "string",
                  "format": "uri",
                  "description": "URL to top up credits or restart billing cycle to get fresh credits."
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable credits warning."
                },
                "availableCredits": {
                  "type": "number",
                  "description": "Number of credits remaining in the current billing period."
                }
              },
              "required": [
                "getMoreCreditsUrl",
                "message",
                "availableCredits"
              ],
              "description": "Contains a link to get more credits, a warning message, and the remaining credit count."
            }
          },
          "required": [
            "method",
            "message"
          ],
          "description": "Credits will be charged after the operation completes"
        },
        {
          "type": "object",
          "properties": {
            "method": {
              "type": "string",
              "enum": [
                "charged-for-async-process"
              ]
            },
            "creditsCharged": {
              "type": "number"
            },
            "message": {
              "type": "string"
            },
            "lowCreditAlert": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "getMoreCreditsUrl": {
                  "type": "string",
                  "format": "uri",
                  "description": "URL to top up credits or restart billing cycle to get fresh credits."
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable credits warning."
                },
                "availableCredits": {
                  "type": "number",
                  "description": "Number of credits remaining in the current billing period."
                }
              },
              "required": [
                "getMoreCreditsUrl",
                "message",
                "availableCredits"
              ],
              "description": "Contains a link to get more credits, a warning message, and the remaining credit count."
            }
          },
          "required": [
            "method",
            "creditsCharged",
            "message"
          ],
          "description": "Credits that were charged for an asynchronous operation"
        },
        {
          "type": "object",
          "properties": {
            "method": {
              "type": "string",
              "enum": [
                "free"
              ]
            },
            "message": {
              "type": "string"
            },
            "lowCreditAlert": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "getMoreCreditsUrl": {
                  "type": "string",
                  "format": "uri",
                  "description": "URL to top up credits or restart billing cycle to get fresh credits."
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable credits warning."
                },
                "availableCredits": {
                  "type": "number",
                  "description": "Number of credits remaining in the current billing period."
                }
              },
              "required": [
                "getMoreCreditsUrl",
                "message",
                "availableCredits"
              ],
              "description": "Contains a link to get more credits, a warning message, and the remaining credit count."
            }
          },
          "required": [
            "method",
            "message"
          ],
          "description": "No credits were charged for this operation"
        },
        {
          "type": "object",
          "properties": {
            "method": {
              "type": "string",
              "enum": [
                "credits-refunded"
              ]
            },
            "creditsRefunded": {
              "type": "number"
            },
            "message": {
              "type": "string"
            },
            "lowCreditAlert": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "getMoreCreditsUrl": {
                  "type": "string",
                  "format": "uri",
                  "description": "URL to top up credits or restart billing cycle to get fresh credits."
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable credits warning."
                },
                "availableCredits": {
                  "type": "number",
                  "description": "Number of credits remaining in the current billing period."
                }
              },
              "required": [
                "getMoreCreditsUrl",
                "message",
                "availableCredits"
              ],
              "description": "Contains a link to get more credits, a warning message, and the remaining credit count."
            }
          },
          "required": [
            "method",
            "creditsRefunded",
            "message"
          ],
          "description": "Credits were refunded for this operation"
        }
      ]
    },
    "warnings": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "description": "Full path to extraneous field (e.g., 'searchParams.ExtraField')"
          },
          "message": {
            "type": "string",
            "description": "Warning message"
          }
        },
        "required": [
          "field",
          "message"
        ]
      },
      "description": "Warnings about extraneous fields in request"
    },
    "advice": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "Tips, recommendations, and suggestions for using this API effectively."
    }
  },
  "required": [
    "output",
    "chargeInfo"
  ],
  "additionalProperties": false
}
```

---

Canonical JSON: [`https://api.fiber.ai/openapi.json`](https://api.fiber.ai/openapi.json)
Operation index: [`https://api.fiber.ai/ai-docs/index.md`](https://api.fiber.ai/ai-docs/index.md)
