Skip to main content
POST
Create a project

Authorizations

Authorization
string
header
required

Admin API key for organization-level operations (managing projects, API keys). Create one in Settings > API Keys or via POST /api/api-keys. Format: sk-lw-{id}_{secret}.

Body

application/json
name
string
required

Project name

Required string length: 1 - 255
language
string
required

Programming language, such as python or typescript

Minimum string length: 1
framework
string
required

Framework in use, such as langchain or openai

Minimum string length: 1
teamId
string

Id of an existing team to put the project in

Minimum string length: 1
newTeamName
string

Create a team with this name and put the project in it

Required string length: 1 - 255

Response

Project created. Returns a scoped service API key for this project.

id
string

Project ID (project_...)

name
string
slug
string
language
string
framework
string
teamId
string
piiRedactionLevel
enum<string>
Available options:
STRICT,
ESSENTIAL,
DISABLED
createdAt
string<date-time>
updatedAt
string<date-time>
serviceApiKey
string

Scoped service API key with ADMIN on this project (sk-lw-..._...). Store securely — shown only once.

serviceApiKeyId
string

ID of the auto-created service key, for management via DELETE /api/api-keys/{id}.

Last modified on May 13, 2026