# getUploadReport

One upload's report: what its report sheet shows: rows in the file, how many contacts or properties it created, matched to existing records, restored, merged, skipped, failed or duplicated, and its skip-trace outcome and spend. Needs to be the uploader or able to see all contacts. Read the rows behind a count with listUploadReportRows.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "getUploadReport", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

- `fileProcessingTaskId`: `ID!` (required)

## Response (data, an example)

```json
{
  "fileProcessingTaskQuery": {
    "fileProcessingTask": {
      "id": "<ID>",
      "type": "PROPERTIES",
      "status": "CREATED",
      "totalRows": 0,
      "producedRecordsCount": 0,
      "createdAt": "2026-01-01T00:00:00.000Z",
      "file": {
        "id": "<ID>",
        "fileName": "…"
      }
    },
    "uploadReport": {
      "totalRows": 0,
      "createdCount": 0,
      "matchedCount": 0,
      "restoredCount": 0,
      "skippedCount": 0,
      "failedCount": 0,
      "mergedAfterImportCount": 0,
      "duplicateRowCount": 0,
      "distinctContactsCount": 0,
      "distinctPropertiesCount": 0,
      "processedRowCount": 0,
      "hasOutcomeTracking": true,
      "skiptrace": {
        "wasBilled": true,
        "netSpent": 0,
        "found": 0,
        "foundNothing": 0,
        "failed": 0,
        "notRunYet": 0,
        "notTraced": 0
      }
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "getUploadReport",
    "variables": {
      "fileProcessingTaskId": "<fileProcessingTaskId>"
    }
  }'
```
