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

# Get File

> Retrieve details about a specific file

<ParamField path="GET" type="endpoint">
  /api/v1/files/:id
</ParamField>

Retrieve a file's metadata (not the file itself) from Forerunner.

## Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier of the file
</ParamField>

## Response

<ResponseField name="file" type="object">
  <Expandable title="properties">
    <ResponseField name="id" type="string">
      UUID uniquely identifying the file
    </ResponseField>

    <ResponseField name="filename" type="string">
      Original filename when uploaded
    </ResponseField>

    <ResponseField name="mimeType" type="string">
      File format type (e.g., `application/pdf`, `image/png`)
    </ResponseField>

    <ResponseField name="url" type="string">
      URL for the file's internal Forerunner page. Requires user authentication.
    </ResponseField>

    <ResponseField name="downloadURL" type="string">
      URL for direct file download. Requires authentication.
    </ResponseField>

    <ResponseField name="publicURL" type="string">
      Public download page URL. Absent if the file is hidden from public.
    </ResponseField>

    <ResponseField name="property" type="object | null">
      Associated property. Null if the file is not linked to a property. See [Property object](/developers/api/properties/list#response) for the object schema.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="errors" type="array">
  Array of error objects. See [Errors](/developers/api/overview#errors).
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://app.withforerunner.com/api/v1/files/f8a3b2c1-d4e5-6789-abcd-ef0123456789 \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "file": {
      "id": "f8a3b2c1-d4e5-6789-abcd-ef0123456789",
      "filename": "123_main_st_ec.pdf",
      "mimeType": "application/pdf",
      "url": "https://app.withforerunner.com/files/f8a3b2c1-d4e5-6789-abcd-ef0123456789",
      "downloadURL": "https://app.withforerunner.com/files/f8a3b2c1-d4e5-6789-abcd-ef0123456789/download",
      "publicURL": "https://app.withforerunner.com/public/files/f8a3b2c1-d4e5-6789-abcd-ef0123456789",
      "property": {
        "id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789",
        "address": "123 Main St, Springfield, IL 62701",
        "url": "https://app.withforerunner.com/properties/a1b2c3d4-e5f6-7890-abcd-ef0123456789",
        "publicURL": "https://app.withforerunner.com/public/properties/a1b2c3d4-e5f6-7890-abcd-ef0123456789",
        "coordinates": [39.7817, -89.6501],
        "parcel": {
          "id": "f1e2d3c4-b5a6-7890-dcba-098765432109",
          "parcelId": "12-34-567-890",
          "address": "123 Main St, Springfield, IL 62701"
        }
      }
    },
    "errors": []
  }
  ```
</ResponseExample>
