---
title: "request a presigned URL to upload raw session transcript to S3"
method: POST
path: "/api/agent_sessions/presign"
tags: ["agent_sessions"]
---

# request a presigned URL to upload raw session transcript to S3

`POST /api/agent_sessions/presign`

Generate an S3 presigned PUT URL and object key for uploading raw session transcripts directly to S3.

## Response `200`

successful

- object
  - `s3_key` string, required
  - `presigned_url` string, required

## Other responses

- `401` — unauthorized
- `503` — service unavailable

## Changes

- **2026-08-28** (v1) `1f64f71fc2a7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/forem/apis/forem-api-v1/changes/api/agent_sessions/presign/post.md)

---

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