---
title: "Upload File Endpoint"
method: POST
path: "/v1/projects/{project_id}/files/upload"
tags: ["Projects"]
---

# Upload File Endpoint

`POST /v1/projects/{project_id}/files/upload`

## Request

- Base URL: `https://spss.insightgenius.io` (the document declares no server; this is the origin it was published from)
- URL: `https://spss.insightgenius.io/v1/projects/{project_id}/files/upload`
- Auth: none declared

Upload a data file to a project.

SPSS (.sav) only — CSV/Excel are rejected with 415 (see the
detected_type guard below): they have no metadata-extraction path, so
accepting them would leave the project stuck in PROCESSING forever.
Automatically extracts metadata from SPSS files.

## Path parameters

- `project_id` string, uuid, required

## Query parameters

- `file_type` string, nullable: Override file type detection

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/insightgenius/apis/spss-insightgenius-api.md) · [All operations](https://skmtc.dev/insightgenius/apis/spss-insightgenius-api/llms.txt) · [OpenAPI document](https://skmtc.dev/insightgenius/apis/spss-insightgenius-api/revisions/0d165df595f0?raw)
