File tree 2 files changed +37
-13
lines changed
2 files changed +37
-13
lines changed Original file line number Diff line number Diff line change @@ -41,19 +41,19 @@ paths:
41
41
x-fern-audiences :
42
42
- public
43
43
44
- /api/prompts/indicators :
44
+ /api/prompts/{prompt_id}/versions/{version_id}/inference-runs/{pk}/ indicators :
45
45
get :
46
- $ref : " ./resources/prompts.yaml#/paths/~1api~1prompts~1indicators/get"
46
+ $ref : " ./resources/prompts.yaml#/paths/~1api~1prompts~1{prompt_id}~1versions~1{version_id}~1inference-runs~1{pk}~ 1indicators/get"
47
47
x-fern-sdk-group-name :
48
48
- prompts
49
49
- indicators
50
50
x-fern-sdk-method-name : list
51
51
x-fern-audiences :
52
52
- public
53
53
54
- /api/prompts/indicators/{key } :
54
+ /api/prompts/{prompt_id}/versions/{version_id}/inference-runs/{pk}/ indicators/{indicator_key } :
55
55
get :
56
- $ref : " ./resources/prompts.yaml#/paths/~1api~1prompts~1indicators~1{key }/get"
56
+ $ref : " ./resources/prompts.yaml#/paths/~1api~1prompts~1{prompt_id}~1versions~1{version_id}~1inference-runs~1{pk}~ 1indicators~1{indicator_key }/get"
57
57
x-fern-sdk-group-name :
58
58
- prompts
59
59
- indicators
Original file line number Diff line number Diff line change @@ -126,14 +126,26 @@ paths:
126
126
schema :
127
127
$ref : " #/components/schemas/InferenceRun"
128
128
129
- /api/prompts/indicators :
129
+ /api/prompts/{prompt_id}/versions/{version_id}/inference-runs/{pk}/ indicators :
130
130
get :
131
131
summary : Get key indicators
132
132
description : >
133
133
Get key indicators for the Prompt dashboard.
134
134
parameters :
135
- - name : run_id
136
- in : query
135
+ - name : prompt_id
136
+ in : path
137
+ description : Prompt ID
138
+ required : true
139
+ schema :
140
+ type : integer
141
+ - name : version_id
142
+ in : path
143
+ description : Prompt Version ID
144
+ required : true
145
+ schema :
146
+ type : integer
147
+ - name : pk
148
+ in : path
137
149
description : Inference run ID
138
150
required : true
139
151
schema :
@@ -146,24 +158,36 @@ paths:
146
158
schema :
147
159
$ref : " ./dashboards.yaml#/components/schemas/KeyIndicators"
148
160
149
- /api/prompts/indicators/{key } :
161
+ /api/prompts/{prompt_id}/versions/{version_id}/inference-runs/{pk}/ indicators/{indicator_key } :
150
162
get :
151
163
summary : Get key indicator
152
164
description : >
153
165
Get a specific key indicator for the Prompt dashboard.
154
166
parameters :
155
- - name : key
167
+ - name : prompt_id
156
168
in : path
157
- description : Key of the indicator
169
+ description : Prompt ID
158
170
required : true
159
171
schema :
160
- type : string
161
- - name : run_id
162
- in : query
172
+ type : integer
173
+ - name : version_id
174
+ in : path
175
+ description : Prompt Version ID
176
+ required : true
177
+ schema :
178
+ type : integer
179
+ - name : pk
180
+ in : path
163
181
description : Inference run ID
164
182
required : true
165
183
schema :
166
184
type : integer
185
+ - name : indicator_key
186
+ in : path
187
+ description : Key of the indicator
188
+ required : true
189
+ schema :
190
+ type : string
167
191
responses :
168
192
" 200 " :
169
193
description : " "
You can’t perform that action at this time.
0 commit comments