---
title: "Create App"
method: POST
path: "/applications"
---

# Create App

`POST /applications`

## Request

- The document declares no server URL.
- Auth: none declared

Endpoint to create a new application.

Args:
    application (ApplicationCreate): The application data to create.

Returns:
    ApplicationCreateResponse: The response containing the ID of the created application.

## Request body

- ApplicationCreate: The request model for creating app.
  - `name` string, required
  - `langfusePublicKey` string
  - `langfuseSecretKey` string

## Response `200`

Successful Response

- ApplicationCreateResponse: The response model for creating app.
  - `id` string, uuid, required

## Other responses

- `422`: Validation Error

## Changes

- **2024-03-13** `30dce2138b23`: 2 info
  - added the new optional request property `langfusePublicKey`
  - added the new optional request property `langfuseSecretKey`

[Operation history](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api/changes/applications/post.md)

---

[API](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api.md) - [All operations](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api/revisions/1194d2174bed?raw)
