---
title: "List supported upload formats"
method: GET
path: "/api/v0/documents/formats"
tags: ["Documents"]
---

# List supported upload formats

`GET /api/v0/documents/formats`

Returns the document formats this server accepts for upload, so clients (e.g. the SDK) can discover them at runtime instead of hardcoding a list that drifts from the server.

## Response `200`

Successful Response

- SupportedFormatsResponse
  - `formats` DocumentFormatInfo[], required — The document formats this server accepts for upload.
    - `extension` string, required — The file extension, without a leading dot (e.g. `pdf`).
    - `mime_types` string[], required — The MIME type(s) accepted for this format.

---

[API](https://skmtc.dev/outerport/apis/outerport-api.md) · [All operations](https://skmtc.dev/outerport/apis/outerport-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/outerport/outerport-api/revisions/f565b46daaea/schema)
