---
title: "Create generation"
method: POST
path: "/v1/betas/generations"
tags: ["Tool"]
---

# Create generation

`POST /v1/betas/generations`

Create a generation from a given prompt.

## Request body

- CreateGenerationRequest
  - `description` string, required
  - `examples` Example[]
    - `input` unknown
    - `output` unknown
  - `name` string, required

## Response `200`

OK

- Generation
  - `id` string, required
  - `status` string
  - `tool_id` string

## Other responses

- `401` — Unauthenticated error response

## Changes

- **2025-04-24** `f9777846c474` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/riza-io/apis/execute/changes/v1/betas/generations/post.md)

---

[API](https://skmtc.dev/riza-io/apis/execute.md) · [All operations](https://skmtc.dev/riza-io/apis/execute/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/riza-io/execute/revisions/bab65e0b0c2b/schema)
