PromptLayer home page
Search or ask...
Contact Us
Search...
Navigation
Reference
Create a Prompt Template Label
Get Started
Welcome to PromptLayer
Quickstart
Quickstart - Pt 2
Migration Guide
Recipe Example Project
Languages & Environments
Python
JavaScript
LangChain
REST API
Integrations
Usage Documentation
Sharing Requests
Prompt Registry
Running Requests
Advanced Logging
FAQ
Why PromptLayer?
Prompt Management
Advanced Search
A/B Releases (Prompt A/B Testing)
Evaluations
Agents
Fine-Tuning
Analytics
Scoring & Ranking Prompts
Playground
Shared Workspaces
How PromptLayer Works
Reference
REST API Reference
POST
Get Prompt Template
POST
Publish Prompt Template
GET
Get Prompt Template Labels
PATCH
Move Prompt Template Labels
DEL
Delete a Prompt Template Label
POST
Create a Prompt Template Label
POST
Track Score
POST
Track Prompt
POST
Track Group
POST
Track Metadata
GET
Get All Prompt Templates
POST
Create Dataset from History
POST
Create Evaluation Pipeline
DEL
Delete Reports by Name
POST
Log Request
GET
Get Agent Version Execution Results
POST
Run Agent
Reference
Create a Prompt Template Label
POST
/
prompts
/
{prompt_id}
/
label
Try it
Create a release label for a prompt template version.
Headers
X-API-KEY
string
required
Path Parameters
prompt_id
integer
required
Body
application/json
name
string
required
prompt_version_number
integer
required
Response
200 - application/json
created_at
string
required
id
integer
required
name
string
required
prompt_id
integer
required
prompt_version_id
integer
required
Was this page helpful?
Yes
No
Delete a Prompt Template Label
Track Score