---
title: "Upload file for MCP session"
method: POST
path: "/v1/files/upload"
tags: ["Files"]
---

# Upload file for MCP session

`POST /v1/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/files/upload`
- Auth: none declared

Upload a .sav, .csv, .tsv, or .xlsx file via multipart/form-data. Returns a `file_id` valid for 30 minutes that can be used with any MCP tool or API endpoint. Designed for Claude.ai integration where base64 encoding exceeds token limits.

## Response `200`

File uploaded, session created

- unknown

## Other responses

- `401`: Invalid or missing API key
- `413`: File exceeds plan size limit
- `415`: Unsupported file format
- `422`: File is corrupted or unreadable

---

[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)
