# reviseLibraryFileRun

Change how a run maps the spreadsheet's columns, in the person's words (message), then read previewLibraryFileRun again. skipTrace is true for a SKIPTRACE run and false for TAG_PROPERTIES. Nothing runs.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "reviseLibraryFileRun", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `fileProcessingTaskId`: `ID!` (required)
- `skipTrace`: `Boolean!` (required)
- `message`: `String!` (required)

## Response (data, an example)

```json
{
  "fileProcessingTaskMutation": {
    "skipTraceRun (if $skipTrace)": {
      "id": "<ID>",
      "status": "CREATED",
      "transformerAuthoringState": "COMPLETED",
      "hasAuthoredTransformer": true,
      "totalRows": 0,
      "csvSample": [
        {
          "header": "…",
          "exampleData": [
            "…"
          ]
        }
      ]
    },
    "tagRun (unless $skipTrace)": {
      "id": "<ID>",
      "status": "CREATED",
      "transformerAuthoringState": "COMPLETED",
      "hasAuthoredTransformer": true,
      "totalRows": 0,
      "csvSample": [
        {
          "header": "…",
          "exampleData": [
            "…"
          ]
        }
      ]
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "reviseLibraryFileRun",
    "variables": {
      "fileProcessingTaskId": "<fileProcessingTaskId>",
      "skipTrace": true,
      "message": "<String>"
    }
  }'
```
