Skip to content

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

docs: add note on encoding of folders on prompts api (#10509)

Marc Klingen53b8ec83cfd8
diff --git a/fern/apis/server/definition/prompt-version.yml b/fern/apis/server/definition/prompt-version.yml
index 15a169965e..78bacec974 100644
--- a/fern/apis/server/definition/prompt-version.yml
+++ b/fern/apis/server/definition/prompt-version.yml
@@ -15,8 +15,7 @@ service:
type: string
docs: |
The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
- the folder path must be URL encoded. For example, use "folder%2Fsubfolder%2Fprompt-name" instead
- of "folder/subfolder/prompt-name". The forward slash (/) character must be encoded as %2F.
+ the folder path must be URL encoded.
version:
type: integer
docs: Version of the prompt to update
diff --git a/fern/apis/server/definition/prompts.yml b/fern/apis/server/definition/prompts.yml
index 3d6958dde6..68859d21a5 100644
--- a/fern/apis/server/definition/prompts.yml
+++ b/fern/apis/server/definition/prompts.yml
@@ -15,8 +15,7 @@ service:
type: string
docs: |
The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
- the folder path must be URL encoded. For example, use "folder%2Fsubfolder%2Fprompt-name" instead
- of "folder/subfolder/prompt-name". The forward slash (/) character must be encoded as %2F.
+ the folder path must be URL encoded.
request:
name: GetPromptRequest
query-parameters:
diff --git a/web/public/generated/api/openapi.yml b/web/public/generated/api/openapi.yml
index f8ab14f6f1..f01960c747 100644
--- a/web/public/generated/api/openapi.yml
+++ b/web/public/generated/api/openapi.yml
@@ -3481,7 +3481,11 @@ paths:
parameters:
- name: name
in: path
- description: The name of the prompt
+ description: >-
+ The name of the prompt. If the prompt is in a folder (e.g.,
+ "folder/subfolder/prompt-name"),
+
+ the folder path must be URL encoded.
required: true
schema:
type: string
@@ -3551,7 +3555,11 @@ paths:
parameters:
- name: promptName
in: path
- description: The name of the prompt
+ description: >-
+ The name of the prompt. If the prompt is in a folder (e.g.,
+ "folder/subfolder/prompt-name"),
+
+ the folder path must be URL encoded.
required: true
schema:
type: string
diff --git a/web/public/generated/postman/collection.json b/web/public/generated/postman/collection.json
index 37b4824bf3..fd953ba658 100644
--- a/web/public/generated/postman/collection.json
+++ b/web/public/generated/postman/collection.json
@@ -2480,7 +2480,7 @@
{
"key": "name",
"value": "",
- "description": "The name of the prompt"
+ "description": "The name of the prompt. If the prompt is in a folder (e.g., \"folder/subfolder/prompt-name\"), \nthe folder path must be URL encoded."
},
{
"key": "version",
@@ -2544,7 +2544,7 @@
{
"key": "promptName",
"value": "",
- "description": "The name of the prompt"
+ "description": "The name of the prompt. If the prompt is in a folder (e.g., \"folder/subfolder/prompt-name\"), \nthe folder path must be URL encoded."
}
]
},