How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

LangWatch Prompts API

The Prompts API from LangWatch — 8 operation(s) for prompts.

LangWatch Prompts API is one of 28 APIs that LangWatch publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Prompts. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 13 operations across 8 paths. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://app.langwatch.ai.

13 operations 8 paths 0 schemas 2 DELETE4 GET4 POST3 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Server
https://app.langwatch.ai
Authentication
API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 2

LangWatch Prompts API declares 2 security schemes for authenticating requests. An API key is passed in the header as X-Auth-Token (project_api_key). It accepts HTTP bearer tokens (admin_api_key). By default, every request must be authenticated.

  • project_api_key — Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin AP…
  • admin_api_key — 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}{se…

Paths & Operations 13

Across 8 paths, the API surfaces 13 operations — 2 DELETE, 4 GET, 4 POST, 3 PUT. Each is listed below with its method, path, parameters, and response codes.

Prompts 13
GET
/api/prompts
Get all prompts for a project
getApiPrompts → 200400401422500
POST
/api/prompts
Create a new prompt with default initial version
postApiPrompts body → 200400401409422500
GET
/api/prompts/tags
List all prompt tag definitions for the organization
getApiPromptsTags → 200400401422500
POST
/api/prompts/tags
Create a custom prompt tag definition for the organization
postApiPromptsTags body → 201400401422500
PUT
/api/prompts/tags/{tag}
Rename a prompt tag definition
putApiPromptsTagsByTag 1 param body → 200400401422500
DELETE
/api/prompts/tags/{tag}
Delete a prompt tag definition and cascade to assignments
deleteApiPromptsTagsByTag 1 param → 204400401422500
GET
/api/prompts/{id}
Get a specific prompt by slug, with optional shorthand syntax for tags and versions. Pass a bare slug like "pizza-prompt" to get the latest version, "pizza-prompt:production" to resolve a tagged vers…
getApiPromptsById 3 params → 200400401404422500
PUT
/api/prompts/{id}
Update a prompt
putApiPromptsById 1 param body → 200400401404409422500
DELETE
/api/prompts/{id}
Delete a prompt
deleteApiPromptsById 1 param → 200400401404422500
POST
/api/prompts/{id}/sync
Sync/upsert a prompt with local content
postApiPromptsByIdSync 1 param body → 200400401422500
PUT
/api/prompts/{id}/tags/{tag}
Assign a tag (e.g. "production", "staging") to a specific prompt version
putApiPromptsByIdTagsByTag 2 params body → 200400401404422500
GET
/api/prompts/{id}/versions
Get all versions for a prompt. Does not include base prompt data, only versioned data.
getApiPromptsByIdVersions 1 param → 200400401404422500
POST
/api/prompts/{id}/versions/{versionId}/restore
Restore a prompt to a previous version. Creates a new version with the same config data as the specified version.
postApiPromptsByIdVersionsByVersionIdRestore 2 params → 200400401404422500

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

langwatch-prompts-api-openapi.yml Raw ↑

Other APIs LangWatch publishes across the network.

LangWatch Agents API
LangWatch Analytics API
LangWatch Annotations API
LangWatch Api Keys API
LangWatch Budgets API
LangWatch Cache Rules API
LangWatch Dashboards API
LangWatch Dataset API
LangWatch Evaluations V3 API
LangWatch Evaluators API
LangWatch Graphs API
LangWatch LangWatch API API
Where this information came from

This is an independent, third-party profile of LangWatch Prompts API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.