Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

docs: add note that POST /prompts creates a new prompt version

Marc Klingenf39576ccb456
diff --git a/fern/apis/server/definition/prompts.yml b/fern/apis/server/definition/prompts.yml
index 2cf2291bf9..bba38337df 100644
--- a/fern/apis/server/definition/prompts.yml
+++ b/fern/apis/server/definition/prompts.yml
@@ -51,7 +51,7 @@ service:
response: PromptMetaListResponse
create:
- docs: Create a prompt
+ docs: Create a new version for the prompt with the given `name`
method: POST
path: /prompts
request: CreatePromptRequest
diff --git a/web/public/generated/api/openapi.yml b/web/public/generated/api/openapi.yml
index 090c88c0ac..9c15f2e557 100644
--- a/web/public/generated/api/openapi.yml
+++ b/web/public/generated/api/openapi.yml
@@ -1242,7 +1242,7 @@ paths:
schema: {}
security: *ref_0
post:
- description: Create a prompt
+ description: Create a new version for the prompt with the given `name`
operationId: prompts_create
tags:
- Prompts
diff --git a/web/public/generated/postman/collection.json b/web/public/generated/postman/collection.json
index 8b6d92ca5a..6c5288a9a1 100644
--- a/web/public/generated/postman/collection.json
+++ b/web/public/generated/postman/collection.json
@@ -937,7 +937,7 @@
"_type": "endpoint",
"name": "Create",
"request": {
- "description": "Create a prompt",
+ "description": "Create a new version for the prompt with the given `name`",
"url": {
"raw": "{{baseUrl}}/api/public/v2/prompts",
"host": [