---
title: "Create a playground endpoint"
method: POST
path: "/v1/playground-endpoints"
tags: ["Playground Endpoints"]
---

# Create a playground endpoint

`POST /v1/playground-endpoints`

## Request

- Base URL: `https://api.lunary.ai`
- URL: `https://api.lunary.ai/v1/playground-endpoints`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lunary/apis/lunary-api/docs/v1/playground-endpoints/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new playground endpoint

## Request body

- CreatePlaygroundEndpoint (unresolved $ref)

## Response `201`

Endpoint created successfully

- PlaygroundEndpoint (unresolved $ref)

---

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