---
title: "Ingest Record Event"
method: POST
path: "/sessions/records/ingest"
tags: ["Sessions", "Sessions"]
---

# Ingest Record Event

`POST /sessions/records/ingest`

## Request body

- SessionRecordIngestRequest
  - `session_id` string, required
  - `record_id` string, uuid, nullable
  - `record_index` integer, nullable
  - `timestamp` string, date-time, nullable
  - `record_type` string, nullable
  - `record_source` string, nullable
  - `attributes` object, nullable
  - `turn_id` string, nullable
  - `span_id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-03** `fc532d6dc820` — 2 info
  - added the new optional request property `span_id`
  - added the new optional request property `turn_id`
- **2026-07-25** `5a14788d939f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/sessions/records/ingest/post.md)

---

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