Get started with LangWatch Skills in seconds: Set up evals, scenario tests, and tracing just by asking your AI coding assistant.
import requests
url = "https://app.langwatch.ai/api/projects"
payload = {
"name": "<string>",
"language": "<string>",
"framework": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"language": "<string>",
"framework": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"serviceApiKey": "<string>",
"serviceApiKeyId": "<string>"
}Create a new project in the organization. Returns the project with its API key (sk-lw-…) for sending traces. Provide either teamId (existing team) or newTeamName (creates a new team). Requires project:create permission.
import requests
url = "https://app.langwatch.ai/api/projects"
payload = {
"name": "<string>",
"language": "<string>",
"framework": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"language": "<string>",
"framework": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"serviceApiKey": "<string>",
"serviceApiKeyId": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://langwatch.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
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}.
Project name
1 - 255Programming language (e.g. python, typescript)
Framework (e.g. langchain, vercel-ai, openai)
ID of an existing team to assign the project to
Name for a new team to create and assign the project to
255Project created. Returns a scoped service API key for this project.
Project ID (project_...)
STRICT, ESSENTIAL, DISABLED Scoped service API key with ADMIN on this project (sk-lw-..._...). Store securely — shown only once.
ID of the auto-created service key, for management via DELETE /api/api-keys/{id}.
Was this page helpful?