---
title: "Create Use Case"
method: POST
path: "/v1/api-performance/use-cases"
tags: ["api-performance"]
---

# Create Use Case

`POST /v1/api-performance/use-cases`

## Request body

- CreatePublicApiPerformanceUseCaseRequest
  - `prompt` string, required
  - `category_name` string, nullable
  - `description` string, nullable

## Response `200`

Successful Response

- PublicApiPerformanceUseCase
  - `id` string, required
  - `prompt` string, required
  - `description` string, nullable
  - `category` PublicApiPerformanceCategory
    - `id` string, required
    - `name` string, required
    - `slug` string, required
    - `sort_order` integer
  - `created_at` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-05-15** `820f778732b1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/usesapient/apis/sapient-public-api/changes/v1/api-performance/use-cases/post.md)

---

[API](https://skmtc.dev/usesapient/apis/sapient-public-api.md) · [All operations](https://skmtc.dev/usesapient/apis/sapient-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usesapient/sapient-public-api/revisions/820f778732b1/schema)
