---
search:
  tags:
    - Memory
    - POST
seo:
  description: >-
    Upload a file and get a fileKey for use with ingest(). Reference for the
    POST /api/v2/memory/files endpoint in the Anlyon API.
sidebar:
  label: Upload a file to R2 (v1.1)
  badge: POST
title: Upload a file to R2 (v1.1)
type: openapi-operation
---
Upload a file and get a fileKey for use with ingest().

`POST /api/v2/memory/files`
