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

# Retrieve file by file ID and report ID

> Use this endpoint to retrieve a file by its file ID and report ID.

GET/digitalwallets/aliasdirectory/visa/reports/\{reportId}/file/\{fileId}

Use this endpoint to retrieve a file by its file ID and report ID.

## Header parameter

| Fields | Description |
| - | - |
| req-sys-id string  Required | Identifier generated by the card program. These identifiers are used for troubleshooting requests between the card program and Marqeta. **Allowable Values:**  36 char max |
| participant-id string  Required | Visa Business Identifier (BID) that is assigned to the program. **Allowable Values:**  Existing participant ID |

## URL path parameters

| Fields | Description |
| - | - |
| reportId string  Required | Unique identifier of the report. **Allowable Values:**  Existing report ID |
| fileId string  Required | Unique identifier of the file. **Allowable Values:**  Existing file ID |

## Response body

| Fields | Description |
| - | - |
| operationsCount integer  Conditionally returned | The number of operations in the report **Allowable Values:**  Any integer |
| operationType string  Conditionally returned | The type of the operation |
| originatorActorId string  Conditionally returned | The Originator Actor Id **Allowable Values:**  36 char max |
| programId string  Conditionally returned | The program ID **Allowable Values:**  36 char max |
| statusCode integer  Conditionally returned | The status code of the operation |

## Sample response body

```json JSON expandable lines wrap theme={null}
[
  {
    "programId": "baf85624-3cf6-4c52-b91f-b8f3493e7330",
    "statusCode": 200,
    "operationType": "resolveAlias",
    "operationsCount": 18,
    "originatorActorId": "012af73f-44d8-4c9c-bbee-628b07faae1c"
  }
]
```


## Related topics

- [Visa Alias Reports Overview](https://www.marqeta.com/docs/core-api/digital-wallets-management/visa-alias-reports.md)
- [Digital Wallets Management Overview](https://www.marqeta.com/docs/core-api/digital-wallets-management.md)
- [Retrieve report status by report ID](https://www.marqeta.com/docs/core-api/digital-wallets-management/visa-alias-reports/retrieve-report-status-by-report-id.md)
- [Disputes in the Marqeta Dashboard](https://www.marqeta.com/docs/developer-guides/disputes-dashboard.md)
- [Settlement and Reconciliation in Europe](https://www.marqeta.com/docs/developer-guides/mq-eu-settlement-reconciliation.md)
