# Get File

Get the details of a single file.

## Get File

<mark style="color:blue;">`GET`</mark> `https://api.xclaim.xcover-staging.com/partners/{partnerCode}/claims/{claimUuid}/files/{fileUuid}`

Get the details of a single file

#### Path Parameters

| Name                                          | Type   | Description |
| --------------------------------------------- | ------ | ----------- |
| partnerCode<mark style="color:red;">\*</mark> | String | eg. XYZ999  |

#### Headers

| Name                                            | Type   | Description          |
| ----------------------------------------------- | ------ | -------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer {{JWT token}} |

{% tabs %}
{% tab title="200: OK " %}
{% tabs %}
{% tab title="Request" %}

{% endtab %}

{% tab title="Response" %}

```json
{
    "data": {
        "id": "f2cf311d-63ff-4463-890a-ff2dc8629404",
        "claimId": "fd98bfd5-7702-4ede-afdc-78686b3bdfb9",
        "location": "claim_files/ef5035a2-52c3-11ee-9a20-a3470727dedc.pdf",
        "meta": {
            "dirname": ".",
            "basename": "dummy.pdf",
            "extension": "pdf",
            "filename": "dummy"
        },
        "createdAt": "2023-09-14T05:59:58+00:00",
        "updatedAt": "2023-09-14T06:00:12+00:00"
    }
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="404: Not Found " %}
{% tabs %}
{% tab title="Request" %}

{% endtab %}

{% tab title="Response" %}

```json
{
    "type": "exception",
    "message": "Resource 'Claim' with given UUID fd98bfd5-7702-4ede-afdc-78686b3bdf99 not found"
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="404: Not Found " %}
{% tabs %}
{% tab title="Request" %}

{% endtab %}

{% tab title="Response" %}

```json
{
    "type": "exception",
    "message": "No query results for model [App\\Models\\ClaimFile]."
}
```

{% endtab %}
{% endtabs %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://partner-docs.covergenius.com/xclaim/claims/claim-files/get-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
