---
title: "Create Log Entry"
method: POST
path: "/felix/synthesis-log"
tags: ["felix", "synthesis-log"]
---

# Create Log Entry

`POST /felix/synthesis-log`

Create a single synthesis log entry.

Args:
    request: Log entry data.
    auth: Authentication result.

Returns:
    The created SynthesisLogEntry.

Raises:
    HTTPException: If the entry could not be created.

## Request body

- SynthesisLogCreate — Request body for creating a single synthesis log entry.
  - `session_id` string, required — UUID grouping all entries for one synthesis session
  - `entry_type` 'prompt' | 'seed_generation' | 'seed_feedback' | 'prompt_update' | 'expansion' | 'finalization', required — Type of log entry
  - `content` object — Flexible payload keyed by entry_type
  - `dataset_id` string, nullable — Dataset ID, set when already linked
  - `project_id` string, nullable — Project ID for the session

## Response `200`

Successful Response

- SynthesisLogEntry — Single synthesis log entry returned from the API.
  - `id` string, required
  - `user_id` string, required
  - `dataset_id` string, nullable
  - `project_id` string, nullable
  - `session_id` string, required
  - `entry_type` 'prompt' | 'seed_generation' | 'seed_feedback' | 'prompt_update' | 'expansion' | 'finalization', required
  - `content` object, required
  - `created_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pioneer/apis/brain-api.md) · [All operations](https://skmtc.net/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pioneer/brain-api/versions/31dfe831e079/schema)
