|
23 | 23 | description: Create, List, Retrieve, Update, and Delete collections of prompts. |
24 | 24 | - name: Labels |
25 | 25 | description: Create, List, Retrieve, Update, and Delete labels. |
26 | | - - name: PromptCollections |
| 26 | + - name: Prompts |
27 | 27 | description: Create, List, Retrieve, Update, and Delete prompt collections. |
28 | 28 | - name: PromptPartials |
29 | 29 | description: Create, List, Retrieve, Update, and Delete prompt partials. |
@@ -845,7 +845,7 @@ paths: |
845 | 845 | summary: Create a new prompt |
846 | 846 | operationId: createPrompt |
847 | 847 | tags: |
848 | | - - PromptCollections |
| 848 | + - Prompts |
849 | 849 | security: |
850 | 850 | - Portkey-Key: [] |
851 | 851 | requestBody: |
@@ -924,7 +924,7 @@ paths: |
924 | 924 | summary: List prompts |
925 | 925 | operationId: listPrompts |
926 | 926 | tags: |
927 | | - - PromptCollections |
| 927 | + - Prompts |
928 | 928 | security: |
929 | 929 | - Portkey-Key: [] |
930 | 930 | parameters: |
@@ -976,7 +976,7 @@ paths: |
976 | 976 | summary: Get a prompt by ID or slug |
977 | 977 | operationId: getPrompt |
978 | 978 | tags: |
979 | | - - PromptCollections |
| 979 | + - Prompts |
980 | 980 | security: |
981 | 981 | - Portkey-Key: [] |
982 | 982 | parameters: |
@@ -1007,7 +1007,7 @@ paths: |
1007 | 1007 | summary: Update a prompt |
1008 | 1008 | operationId: updatePrompt |
1009 | 1009 | tags: |
1010 | | - - PromptCollections |
| 1010 | + - Prompts |
1011 | 1011 | security: |
1012 | 1012 | - Portkey-Key: [] |
1013 | 1013 | parameters: |
@@ -1083,7 +1083,7 @@ paths: |
1083 | 1083 | summary: Delete a prompt |
1084 | 1084 | operationId: deletePrompt |
1085 | 1085 | tags: |
1086 | | - - PromptCollections |
| 1086 | + - Prompts |
1087 | 1087 | security: |
1088 | 1088 | - Portkey-Key: [] |
1089 | 1089 | parameters: |
@@ -1116,7 +1116,7 @@ paths: |
1116 | 1116 | summary: Get all versions of a prompt |
1117 | 1117 | operationId: getPromptVersions |
1118 | 1118 | tags: |
1119 | | - - PromptCollections |
| 1119 | + - Prompts |
1120 | 1120 | security: |
1121 | 1121 | - Portkey-Key: [] |
1122 | 1122 | parameters: |
@@ -1150,7 +1150,7 @@ paths: |
1150 | 1150 | summary: Get a specific version of a prompt |
1151 | 1151 | operationId: getPromptByVersion |
1152 | 1152 | tags: |
1153 | | - - PromptCollections |
| 1153 | + - Prompts |
1154 | 1154 | security: |
1155 | 1155 | - Portkey-Key: [] |
1156 | 1156 | parameters: |
@@ -1187,7 +1187,7 @@ paths: |
1187 | 1187 | summary: Update a specific version of a prompt |
1188 | 1188 | operationId: updatePromptVersion |
1189 | 1189 | tags: |
1190 | | - - PromptCollections |
| 1190 | + - Prompts |
1191 | 1191 | security: |
1192 | 1192 | - Portkey-Key: [] |
1193 | 1193 | parameters: |
@@ -1231,12 +1231,12 @@ paths: |
1231 | 1231 | '500': |
1232 | 1232 | description: Server error |
1233 | 1233 |
|
1234 | | - /prompts/{promptId}/default: |
| 1234 | + /prompts/{promptId}/makedefault: |
1235 | 1235 | put: |
1236 | 1236 | summary: Set a version as the default for a prompt |
1237 | 1237 | operationId: updatePromptDefault |
1238 | 1238 | tags: |
1239 | | - - PromptCollections |
| 1239 | + - Prompts |
1240 | 1240 | security: |
1241 | 1241 | - Portkey-Key: [] |
1242 | 1242 | parameters: |
@@ -1509,7 +1509,7 @@ paths: |
1509 | 1509 | '500': |
1510 | 1510 | description: Server error |
1511 | 1511 |
|
1512 | | - /prompts/partials/{promptPartialId}/default: |
| 1512 | + /prompts/partials/{promptPartialId}/makedefault: |
1513 | 1513 | put: |
1514 | 1514 | summary: Set a version as the default for a prompt partial |
1515 | 1515 | operationId: updatePromptPartialDefault |
|
0 commit comments