---
title: "Get file upload status"
method: GET
path: "/files/uploads/{intentId}"
---

# Get file upload status

`GET /files/uploads/{intentId}`

## Request

- Base URL: `https://www.useanyfile.com/api/v1`
- URL: `https://www.useanyfile.com/api/v1/files/uploads/{intentId}`
- Auth: HTTP bearer

Poll after the direct Blob transfer until status is complete. The complete response returns the created AnyFile file ID.

## Path parameters

- `intentId` string, required

## Response `200`

Upload status

- object
  - `data` union, required
    - object
      - `status` 'pending', required
      - `phase` 'uploading' | 'processing', required
    - object
      - `status` 'complete', required
      - `result` object, required
        - `id` string, required
    - object
      - `status` 'error', required
      - `error` string, required

## Other responses

- `400`: Structured AnyFile API error
- `401`: Structured AnyFile API error
- `403`: Structured AnyFile API error
- `404`: Structured AnyFile API error
- `409`: Structured AnyFile API error
- `429`: Structured AnyFile API error

---

[API](https://skmtc.dev/useanyfile/apis/anyfile-rest-api.md) · [All operations](https://skmtc.dev/useanyfile/apis/anyfile-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/useanyfile/apis/anyfile-rest-api/revisions/bad3e5a8e395?raw)
