@tangle-network/agent-eval 0.120.0 → 0.120.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/dist/analyst/index.d.ts +0 -3111
- package/dist/analyst/index.js +0 -403
- package/dist/analyst/index.js.map +0 -1
- package/dist/authenticity/index.d.ts +0 -161
- package/dist/authenticity/index.js +0 -215
- package/dist/authenticity/index.js.map +0 -1
- package/dist/belief-state/index.d.ts +0 -1301
- package/dist/belief-state/index.js +0 -2152
- package/dist/belief-state/index.js.map +0 -1
- package/dist/benchmarks/index.d.ts +0 -974
- package/dist/benchmarks/index.js +0 -60
- package/dist/benchmarks/index.js.map +0 -1
- package/dist/builder-eval/index.d.ts +0 -695
- package/dist/builder-eval/index.js +0 -366
- package/dist/builder-eval/index.js.map +0 -1
- package/dist/campaign/index.d.ts +0 -7454
- package/dist/campaign/index.js +0 -272
- package/dist/campaign/index.js.map +0 -1
- package/dist/chunk-32BZXMSO.js +0 -3878
- package/dist/chunk-32BZXMSO.js.map +0 -1
- package/dist/chunk-3A246TSA.js +0 -998
- package/dist/chunk-3A246TSA.js.map +0 -1
- package/dist/chunk-3RF76KTD.js +0 -84
- package/dist/chunk-3RF76KTD.js.map +0 -1
- package/dist/chunk-3YYRZDON.js +0 -45
- package/dist/chunk-3YYRZDON.js.map +0 -1
- package/dist/chunk-4I2E3LLO.js +0 -1030
- package/dist/chunk-4I2E3LLO.js.map +0 -1
- package/dist/chunk-ARU2PZFM.js +0 -312
- package/dist/chunk-ARU2PZFM.js.map +0 -1
- package/dist/chunk-BOD4O7OF.js +0 -40
- package/dist/chunk-BOD4O7OF.js.map +0 -1
- package/dist/chunk-DPZAEKA6.js +0 -880
- package/dist/chunk-DPZAEKA6.js.map +0 -1
- package/dist/chunk-DTJ6QUQB.js +0 -131
- package/dist/chunk-DTJ6QUQB.js.map +0 -1
- package/dist/chunk-GGE4NNQT.js +0 -65
- package/dist/chunk-GGE4NNQT.js.map +0 -1
- package/dist/chunk-H5UD2323.js +0 -286
- package/dist/chunk-H5UD2323.js.map +0 -1
- package/dist/chunk-HHWE3POT.js +0 -94
- package/dist/chunk-HHWE3POT.js.map +0 -1
- package/dist/chunk-HKUCJ437.js +0 -787
- package/dist/chunk-HKUCJ437.js.map +0 -1
- package/dist/chunk-JHCHEVET.js +0 -274
- package/dist/chunk-JHCHEVET.js.map +0 -1
- package/dist/chunk-JHOJHHU7.js +0 -867
- package/dist/chunk-JHOJHHU7.js.map +0 -1
- package/dist/chunk-JM2SKQMS.js +0 -750
- package/dist/chunk-JM2SKQMS.js.map +0 -1
- package/dist/chunk-JN2FCO5W.js +0 -7958
- package/dist/chunk-JN2FCO5W.js.map +0 -1
- package/dist/chunk-K4DBDHLK.js +0 -158
- package/dist/chunk-K4DBDHLK.js.map +0 -1
- package/dist/chunk-K6N6XJJX.js +0 -306
- package/dist/chunk-K6N6XJJX.js.map +0 -1
- package/dist/chunk-MA6HLL3S.js +0 -65
- package/dist/chunk-MA6HLL3S.js.map +0 -1
- package/dist/chunk-MAZ26DC7.js +0 -99
- package/dist/chunk-MAZ26DC7.js.map +0 -1
- package/dist/chunk-MOXWMGPC.js +0 -577
- package/dist/chunk-MOXWMGPC.js.map +0 -1
- package/dist/chunk-NJC7U437.js +0 -626
- package/dist/chunk-NJC7U437.js.map +0 -1
- package/dist/chunk-NPCTHQIO.js +0 -91
- package/dist/chunk-NPCTHQIO.js.map +0 -1
- package/dist/chunk-ONWEPEDO.js +0 -57
- package/dist/chunk-ONWEPEDO.js.map +0 -1
- package/dist/chunk-OYZAPX5G.js +0 -1526
- package/dist/chunk-OYZAPX5G.js.map +0 -1
- package/dist/chunk-PC4UYEBM.js +0 -166
- package/dist/chunk-PC4UYEBM.js.map +0 -1
- package/dist/chunk-PICTDURQ.js +0 -766
- package/dist/chunk-PICTDURQ.js.map +0 -1
- package/dist/chunk-PJQFMIOX.js +0 -1182
- package/dist/chunk-PJQFMIOX.js.map +0 -1
- package/dist/chunk-PXD6ZFNY.js +0 -1107
- package/dist/chunk-PXD6ZFNY.js.map +0 -1
- package/dist/chunk-PXE2VKMX.js +0 -140
- package/dist/chunk-PXE2VKMX.js.map +0 -1
- package/dist/chunk-PZ5AY32C.js +0 -10
- package/dist/chunk-PZ5AY32C.js.map +0 -1
- package/dist/chunk-QBRSJK47.js +0 -622
- package/dist/chunk-QBRSJK47.js.map +0 -1
- package/dist/chunk-QWMPPZ3X.js +0 -550
- package/dist/chunk-QWMPPZ3X.js.map +0 -1
- package/dist/chunk-S3UZOQ5Y.js +0 -328
- package/dist/chunk-S3UZOQ5Y.js.map +0 -1
- package/dist/chunk-S5TT5R3L.js +0 -2668
- package/dist/chunk-S5TT5R3L.js.map +0 -1
- package/dist/chunk-T4SQEITX.js +0 -95
- package/dist/chunk-T4SQEITX.js.map +0 -1
- package/dist/chunk-TT4KNT67.js +0 -124
- package/dist/chunk-TT4KNT67.js.map +0 -1
- package/dist/chunk-U5CHZ5M3.js +0 -357
- package/dist/chunk-U5CHZ5M3.js.map +0 -1
- package/dist/chunk-ULOKLHIQ.js +0 -1937
- package/dist/chunk-ULOKLHIQ.js.map +0 -1
- package/dist/chunk-VI2UW6B6.js +0 -162
- package/dist/chunk-VI2UW6B6.js.map +0 -1
- package/dist/chunk-VQMK5FMP.js +0 -247
- package/dist/chunk-VQMK5FMP.js.map +0 -1
- package/dist/chunk-VSMTAMNK.js +0 -53
- package/dist/chunk-VSMTAMNK.js.map +0 -1
- package/dist/chunk-VZSRQ272.js +0 -149
- package/dist/chunk-VZSRQ272.js.map +0 -1
- package/dist/chunk-WW2A73HW.js +0 -159
- package/dist/chunk-WW2A73HW.js.map +0 -1
- package/dist/chunk-X4UCIOTZ.js +0 -136
- package/dist/chunk-X4UCIOTZ.js.map +0 -1
- package/dist/chunk-XDIRG3TO.js +0 -1266
- package/dist/chunk-XDIRG3TO.js.map +0 -1
- package/dist/chunk-XJYR7XFV.js +0 -317
- package/dist/chunk-XJYR7XFV.js.map +0 -1
- package/dist/chunk-ZET2UAYW.js +0 -89
- package/dist/chunk-ZET2UAYW.js.map +0 -1
- package/dist/chunk-ZZUXHH3R.js +0 -99
- package/dist/chunk-ZZUXHH3R.js.map +0 -1
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +0 -112
- package/dist/cli.js.map +0 -1
- package/dist/contract/index.d.ts +0 -4969
- package/dist/contract/index.js +0 -1653
- package/dist/contract/index.js.map +0 -1
- package/dist/control.d.ts +0 -1013
- package/dist/control.js +0 -34
- package/dist/control.js.map +0 -1
- package/dist/fuzz.d.ts +0 -759
- package/dist/fuzz.js +0 -714
- package/dist/fuzz.js.map +0 -1
- package/dist/hosted/index.d.ts +0 -730
- package/dist/hosted/index.js +0 -14
- package/dist/hosted/index.js.map +0 -1
- package/dist/index.d.ts +0 -16780
- package/dist/index.js +0 -12168
- package/dist/index.js.map +0 -1
- package/dist/matrix/index.d.ts +0 -155
- package/dist/matrix/index.js +0 -8
- package/dist/matrix/index.js.map +0 -1
- package/dist/meta-eval/index.d.ts +0 -1030
- package/dist/meta-eval/index.js +0 -417
- package/dist/meta-eval/index.js.map +0 -1
- package/dist/multishot/index.d.ts +0 -579
- package/dist/multishot/index.js +0 -589
- package/dist/multishot/index.js.map +0 -1
- package/dist/openapi.json +0 -992
- package/dist/pipelines/index.d.ts +0 -567
- package/dist/pipelines/index.js +0 -515
- package/dist/pipelines/index.js.map +0 -1
- package/dist/reporting.d.ts +0 -1277
- package/dist/reporting.js +0 -48
- package/dist/reporting.js.map +0 -1
- package/dist/rl.d.ts +0 -4092
- package/dist/rl.js +0 -1724
- package/dist/rl.js.map +0 -1
- package/dist/run-campaign-HNFPJET4.js +0 -14
- package/dist/run-campaign-HNFPJET4.js.map +0 -1
- package/dist/storyboard/index.d.ts +0 -279
- package/dist/storyboard/index.js +0 -767
- package/dist/storyboard/index.js.map +0 -1
- package/dist/trace-attributes.d.ts +0 -52
- package/dist/trace-attributes.js +0 -62
- package/dist/trace-attributes.js.map +0 -1
- package/dist/traces.d.ts +0 -2343
- package/dist/traces.js +0 -249
- package/dist/traces.js.map +0 -1
- package/dist/wire/index.d.ts +0 -1252
- package/dist/wire/index.js +0 -81
- package/dist/wire/index.js.map +0 -1
package/dist/openapi.json
DELETED
|
@@ -1,992 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openapi": "3.1.0",
|
|
3
|
-
"info": {
|
|
4
|
-
"title": "@tangle-network/agent-eval — wire protocol",
|
|
5
|
-
"version": "0.120.0",
|
|
6
|
-
"description": "HTTP and stdio RPC interface to agent-eval. The TypeScript runtime is the source of truth; this spec is the contract that cross-language clients (Python, Rust, Go) generate from.\n\nWire-protocol version: 1.0.0. Bumps on breaking changes to request/response schemas.",
|
|
7
|
-
"contact": {
|
|
8
|
-
"name": "Tangle Network",
|
|
9
|
-
"url": "https://github.com/tangle-network/agent-eval"
|
|
10
|
-
},
|
|
11
|
-
"license": {
|
|
12
|
-
"name": "MIT"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"servers": [
|
|
16
|
-
{
|
|
17
|
-
"url": "http://localhost:5005",
|
|
18
|
-
"description": "Local agent-eval serve"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"components": {
|
|
22
|
-
"schemas": {
|
|
23
|
-
"JudgeRequest": {
|
|
24
|
-
"oneOf": [
|
|
25
|
-
{
|
|
26
|
-
"type": "object",
|
|
27
|
-
"additionalProperties": false,
|
|
28
|
-
"required": [
|
|
29
|
-
"rubricName",
|
|
30
|
-
"content"
|
|
31
|
-
],
|
|
32
|
-
"properties": {
|
|
33
|
-
"rubricName": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"minLength": 1
|
|
36
|
-
},
|
|
37
|
-
"content": {
|
|
38
|
-
"type": "string",
|
|
39
|
-
"minLength": 1
|
|
40
|
-
},
|
|
41
|
-
"context": {
|
|
42
|
-
"type": "object",
|
|
43
|
-
"additionalProperties": true
|
|
44
|
-
},
|
|
45
|
-
"model": {
|
|
46
|
-
"type": "string"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"type": "object",
|
|
52
|
-
"additionalProperties": false,
|
|
53
|
-
"required": [
|
|
54
|
-
"rubric",
|
|
55
|
-
"content"
|
|
56
|
-
],
|
|
57
|
-
"properties": {
|
|
58
|
-
"rubric": {
|
|
59
|
-
"$ref": "#/components/schemas/Rubric"
|
|
60
|
-
},
|
|
61
|
-
"content": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"minLength": 1
|
|
64
|
-
},
|
|
65
|
-
"context": {
|
|
66
|
-
"type": "object",
|
|
67
|
-
"additionalProperties": true
|
|
68
|
-
},
|
|
69
|
-
"model": {
|
|
70
|
-
"type": "string"
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
],
|
|
75
|
-
"description": "Judge request. Provide exactly one of rubricName or rubric."
|
|
76
|
-
},
|
|
77
|
-
"Rubric": {
|
|
78
|
-
"type": "object",
|
|
79
|
-
"properties": {
|
|
80
|
-
"name": {
|
|
81
|
-
"type": "string",
|
|
82
|
-
"minLength": 1,
|
|
83
|
-
"description": "Stable name like \"anti-slop\" — used by clients to invoke this rubric."
|
|
84
|
-
},
|
|
85
|
-
"description": {
|
|
86
|
-
"type": "string",
|
|
87
|
-
"minLength": 1,
|
|
88
|
-
"description": "What this rubric measures. Shown in /v1/rubrics listing."
|
|
89
|
-
},
|
|
90
|
-
"systemPrompt": {
|
|
91
|
-
"type": "string",
|
|
92
|
-
"minLength": 1,
|
|
93
|
-
"description": "Instructs the judging LLM. Should explain the persona (e.g. \"senior engineer reviewing voice\"), what to score on, and what to return."
|
|
94
|
-
},
|
|
95
|
-
"dimensions": {
|
|
96
|
-
"type": "array",
|
|
97
|
-
"items": {
|
|
98
|
-
"$ref": "#/components/schemas/RubricDimension"
|
|
99
|
-
},
|
|
100
|
-
"minItems": 1,
|
|
101
|
-
"description": "Scoring axes. The composite score is a weighted sum of these."
|
|
102
|
-
},
|
|
103
|
-
"failureModes": {
|
|
104
|
-
"type": "array",
|
|
105
|
-
"items": {
|
|
106
|
-
"$ref": "#/components/schemas/FailureMode"
|
|
107
|
-
},
|
|
108
|
-
"default": [],
|
|
109
|
-
"description": "Patterns to detect; each detected mode appears in the result.failureModes list."
|
|
110
|
-
},
|
|
111
|
-
"wins": {
|
|
112
|
-
"type": "array",
|
|
113
|
-
"items": {
|
|
114
|
-
"$ref": "#/components/schemas/FailureMode"
|
|
115
|
-
},
|
|
116
|
-
"default": [],
|
|
117
|
-
"description": "Positive patterns; each detected one appears in the result.wins list."
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
"required": [
|
|
121
|
-
"name",
|
|
122
|
-
"description",
|
|
123
|
-
"systemPrompt",
|
|
124
|
-
"dimensions"
|
|
125
|
-
],
|
|
126
|
-
"description": "Inline rubric definition. Mutually exclusive with `rubricName`."
|
|
127
|
-
},
|
|
128
|
-
"RubricDimension": {
|
|
129
|
-
"type": "object",
|
|
130
|
-
"properties": {
|
|
131
|
-
"id": {
|
|
132
|
-
"type": "string",
|
|
133
|
-
"minLength": 1,
|
|
134
|
-
"description": "Short stable id like \"buyer_quality\" — used as the key in scoring output."
|
|
135
|
-
},
|
|
136
|
-
"description": {
|
|
137
|
-
"type": "string",
|
|
138
|
-
"minLength": 1,
|
|
139
|
-
"description": "One-line plain-English meaning. Read by humans reviewing low scores."
|
|
140
|
-
},
|
|
141
|
-
"weight": {
|
|
142
|
-
"type": "number",
|
|
143
|
-
"minimum": 0,
|
|
144
|
-
"default": 1,
|
|
145
|
-
"description": "Relative weight in the composite score. Default 1; 0 disables."
|
|
146
|
-
},
|
|
147
|
-
"min": {
|
|
148
|
-
"type": "number",
|
|
149
|
-
"default": 0,
|
|
150
|
-
"description": "Lower bound of valid score for this dimension."
|
|
151
|
-
},
|
|
152
|
-
"max": {
|
|
153
|
-
"type": "number",
|
|
154
|
-
"default": 1,
|
|
155
|
-
"description": "Upper bound of valid score for this dimension."
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
"required": [
|
|
159
|
-
"id",
|
|
160
|
-
"description"
|
|
161
|
-
]
|
|
162
|
-
},
|
|
163
|
-
"FailureMode": {
|
|
164
|
-
"type": "object",
|
|
165
|
-
"properties": {
|
|
166
|
-
"id": {
|
|
167
|
-
"type": "string",
|
|
168
|
-
"minLength": 1,
|
|
169
|
-
"description": "Short stable id like \"ai-cadence\" — used in detection lists."
|
|
170
|
-
},
|
|
171
|
-
"description": {
|
|
172
|
-
"type": "string",
|
|
173
|
-
"minLength": 1,
|
|
174
|
-
"description": "Plain-English description of the failure pattern."
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
"required": [
|
|
178
|
-
"id",
|
|
179
|
-
"description"
|
|
180
|
-
]
|
|
181
|
-
},
|
|
182
|
-
"JudgeResult": {
|
|
183
|
-
"type": "object",
|
|
184
|
-
"properties": {
|
|
185
|
-
"composite": {
|
|
186
|
-
"type": "number",
|
|
187
|
-
"minimum": 0,
|
|
188
|
-
"maximum": 1,
|
|
189
|
-
"description": "Weighted combination of dimension scores in 0..1. The single number to gate on."
|
|
190
|
-
},
|
|
191
|
-
"dimensions": {
|
|
192
|
-
"type": "object",
|
|
193
|
-
"additionalProperties": {
|
|
194
|
-
"type": "number"
|
|
195
|
-
},
|
|
196
|
-
"description": "Per-dimension score, keyed by RubricDimension.id."
|
|
197
|
-
},
|
|
198
|
-
"failureModes": {
|
|
199
|
-
"type": "array",
|
|
200
|
-
"items": {
|
|
201
|
-
"type": "string"
|
|
202
|
-
},
|
|
203
|
-
"default": [],
|
|
204
|
-
"description": "Failure-mode ids detected in the content (subset of rubric.failureModes ids)."
|
|
205
|
-
},
|
|
206
|
-
"wins": {
|
|
207
|
-
"type": "array",
|
|
208
|
-
"items": {
|
|
209
|
-
"type": "string"
|
|
210
|
-
},
|
|
211
|
-
"default": [],
|
|
212
|
-
"description": "Win ids detected in the content (subset of rubric.wins ids)."
|
|
213
|
-
},
|
|
214
|
-
"rationale": {
|
|
215
|
-
"type": "string",
|
|
216
|
-
"description": "Plain-English explanation of the score. Surfaced to the human reviewer."
|
|
217
|
-
},
|
|
218
|
-
"rubricVersion": {
|
|
219
|
-
"type": "string",
|
|
220
|
-
"description": "Stable hash of the rubric used. Scores are only comparable across runs when this matches."
|
|
221
|
-
},
|
|
222
|
-
"model": {
|
|
223
|
-
"type": "string",
|
|
224
|
-
"description": "Model that produced the judgement, for reproducibility."
|
|
225
|
-
},
|
|
226
|
-
"durationMs": {
|
|
227
|
-
"type": "integer",
|
|
228
|
-
"minimum": 0,
|
|
229
|
-
"description": "End-to-end wall time for this call."
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
"required": [
|
|
233
|
-
"composite",
|
|
234
|
-
"dimensions",
|
|
235
|
-
"rationale",
|
|
236
|
-
"rubricVersion",
|
|
237
|
-
"model",
|
|
238
|
-
"durationMs"
|
|
239
|
-
]
|
|
240
|
-
},
|
|
241
|
-
"ListRubricsResponse": {
|
|
242
|
-
"type": "object",
|
|
243
|
-
"properties": {
|
|
244
|
-
"rubrics": {
|
|
245
|
-
"type": "array",
|
|
246
|
-
"items": {
|
|
247
|
-
"$ref": "#/components/schemas/RubricInfo"
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
"required": [
|
|
252
|
-
"rubrics"
|
|
253
|
-
]
|
|
254
|
-
},
|
|
255
|
-
"RubricInfo": {
|
|
256
|
-
"type": "object",
|
|
257
|
-
"properties": {
|
|
258
|
-
"name": {
|
|
259
|
-
"type": "string",
|
|
260
|
-
"description": "Pass this to /v1/judge as `rubricName`."
|
|
261
|
-
},
|
|
262
|
-
"description": {
|
|
263
|
-
"type": "string",
|
|
264
|
-
"description": "What this rubric measures."
|
|
265
|
-
},
|
|
266
|
-
"dimensions": {
|
|
267
|
-
"type": "array",
|
|
268
|
-
"items": {
|
|
269
|
-
"type": "object",
|
|
270
|
-
"properties": {
|
|
271
|
-
"id": {
|
|
272
|
-
"type": "string"
|
|
273
|
-
},
|
|
274
|
-
"description": {
|
|
275
|
-
"type": "string"
|
|
276
|
-
},
|
|
277
|
-
"weight": {
|
|
278
|
-
"type": "number"
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
"required": [
|
|
282
|
-
"id",
|
|
283
|
-
"description",
|
|
284
|
-
"weight"
|
|
285
|
-
]
|
|
286
|
-
},
|
|
287
|
-
"description": "The scoring axes this rubric uses, with weights."
|
|
288
|
-
},
|
|
289
|
-
"failureModes": {
|
|
290
|
-
"type": "array",
|
|
291
|
-
"items": {
|
|
292
|
-
"type": "string"
|
|
293
|
-
},
|
|
294
|
-
"default": [],
|
|
295
|
-
"description": "Failure-mode ids this rubric detects."
|
|
296
|
-
},
|
|
297
|
-
"rubricVersion": {
|
|
298
|
-
"type": "string",
|
|
299
|
-
"description": "Stable hash — match this to compare scores across runs."
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
"required": [
|
|
303
|
-
"name",
|
|
304
|
-
"description",
|
|
305
|
-
"dimensions",
|
|
306
|
-
"rubricVersion"
|
|
307
|
-
]
|
|
308
|
-
},
|
|
309
|
-
"VersionResponse": {
|
|
310
|
-
"type": "object",
|
|
311
|
-
"properties": {
|
|
312
|
-
"package": {
|
|
313
|
-
"type": "string",
|
|
314
|
-
"description": "Package name (always \"@tangle-network/agent-eval\")."
|
|
315
|
-
},
|
|
316
|
-
"version": {
|
|
317
|
-
"type": "string",
|
|
318
|
-
"description": "Semver of the running server. Match your client to this."
|
|
319
|
-
},
|
|
320
|
-
"wireVersion": {
|
|
321
|
-
"type": "string",
|
|
322
|
-
"description": "Wire-protocol semver. Bumps separately from package version when the schema changes."
|
|
323
|
-
},
|
|
324
|
-
"apiSurface": {
|
|
325
|
-
"type": "array",
|
|
326
|
-
"items": {
|
|
327
|
-
"type": "string"
|
|
328
|
-
},
|
|
329
|
-
"description": "List of supported method names."
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
"required": [
|
|
333
|
-
"package",
|
|
334
|
-
"version",
|
|
335
|
-
"wireVersion",
|
|
336
|
-
"apiSurface"
|
|
337
|
-
]
|
|
338
|
-
},
|
|
339
|
-
"HealthResponse": {
|
|
340
|
-
"type": "object",
|
|
341
|
-
"properties": {
|
|
342
|
-
"status": {
|
|
343
|
-
"type": "string",
|
|
344
|
-
"enum": [
|
|
345
|
-
"ok"
|
|
346
|
-
]
|
|
347
|
-
},
|
|
348
|
-
"uptimeSec": {
|
|
349
|
-
"type": "number"
|
|
350
|
-
}
|
|
351
|
-
},
|
|
352
|
-
"required": [
|
|
353
|
-
"status",
|
|
354
|
-
"uptimeSec"
|
|
355
|
-
]
|
|
356
|
-
},
|
|
357
|
-
"ErrorResponse": {
|
|
358
|
-
"type": "object",
|
|
359
|
-
"properties": {
|
|
360
|
-
"error": {
|
|
361
|
-
"type": "object",
|
|
362
|
-
"properties": {
|
|
363
|
-
"code": {
|
|
364
|
-
"type": "string",
|
|
365
|
-
"description": "Machine-readable code: \"validation_error\", \"rubric_not_found\", \"judge_error\"."
|
|
366
|
-
},
|
|
367
|
-
"message": {
|
|
368
|
-
"type": "string",
|
|
369
|
-
"description": "Human-readable message."
|
|
370
|
-
},
|
|
371
|
-
"details": {
|
|
372
|
-
"description": "Optional structured detail."
|
|
373
|
-
}
|
|
374
|
-
},
|
|
375
|
-
"required": [
|
|
376
|
-
"code",
|
|
377
|
-
"message"
|
|
378
|
-
],
|
|
379
|
-
"description": "Errors are always wrapped in this shape across all endpoints."
|
|
380
|
-
}
|
|
381
|
-
},
|
|
382
|
-
"required": [
|
|
383
|
-
"error"
|
|
384
|
-
]
|
|
385
|
-
},
|
|
386
|
-
"TracesIngestRequest": {
|
|
387
|
-
"type": "object",
|
|
388
|
-
"properties": {
|
|
389
|
-
"events": {
|
|
390
|
-
"type": "array",
|
|
391
|
-
"items": {
|
|
392
|
-
"$ref": "#/components/schemas/TraceEvent"
|
|
393
|
-
},
|
|
394
|
-
"minItems": 1,
|
|
395
|
-
"maxItems": 10000,
|
|
396
|
-
"description": "Batch of events. Max 10k per call — bigger streams should be chunked."
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
"required": [
|
|
400
|
-
"events"
|
|
401
|
-
]
|
|
402
|
-
},
|
|
403
|
-
"TraceEvent": {
|
|
404
|
-
"type": "object",
|
|
405
|
-
"properties": {
|
|
406
|
-
"eventId": {
|
|
407
|
-
"type": "string",
|
|
408
|
-
"minLength": 1,
|
|
409
|
-
"description": "Stable id for the event. Use ULID or UUID."
|
|
410
|
-
},
|
|
411
|
-
"runId": {
|
|
412
|
-
"type": "string",
|
|
413
|
-
"minLength": 1,
|
|
414
|
-
"description": "Run this event belongs to."
|
|
415
|
-
},
|
|
416
|
-
"spanId": {
|
|
417
|
-
"type": "string",
|
|
418
|
-
"description": "Span that emitted the event, if any."
|
|
419
|
-
},
|
|
420
|
-
"kind": {
|
|
421
|
-
"type": "string",
|
|
422
|
-
"enum": [
|
|
423
|
-
"log",
|
|
424
|
-
"error",
|
|
425
|
-
"budget_decrement",
|
|
426
|
-
"budget_breach",
|
|
427
|
-
"state_mutation",
|
|
428
|
-
"policy_violation",
|
|
429
|
-
"redaction_applied",
|
|
430
|
-
"custom"
|
|
431
|
-
],
|
|
432
|
-
"description": "Coarse event category — matches the TraceSchema v1 EventKind enum."
|
|
433
|
-
},
|
|
434
|
-
"timestamp": {
|
|
435
|
-
"type": "integer",
|
|
436
|
-
"minimum": 0,
|
|
437
|
-
"description": "Unix millis. Must be monotonically non-decreasing within a span."
|
|
438
|
-
},
|
|
439
|
-
"payload": {
|
|
440
|
-
"type": "object",
|
|
441
|
-
"additionalProperties": {},
|
|
442
|
-
"description": "Free-form payload — the runtime owns the shape."
|
|
443
|
-
}
|
|
444
|
-
},
|
|
445
|
-
"required": [
|
|
446
|
-
"eventId",
|
|
447
|
-
"runId",
|
|
448
|
-
"kind",
|
|
449
|
-
"timestamp",
|
|
450
|
-
"payload"
|
|
451
|
-
]
|
|
452
|
-
},
|
|
453
|
-
"TracesIngestResponse": {
|
|
454
|
-
"type": "object",
|
|
455
|
-
"properties": {
|
|
456
|
-
"accepted": {
|
|
457
|
-
"type": "integer",
|
|
458
|
-
"minimum": 0,
|
|
459
|
-
"description": "Number of events persisted."
|
|
460
|
-
},
|
|
461
|
-
"rejected": {
|
|
462
|
-
"type": "integer",
|
|
463
|
-
"minimum": 0,
|
|
464
|
-
"description": "Number of events the store refused — see `errors[]` for reasons."
|
|
465
|
-
},
|
|
466
|
-
"errors": {
|
|
467
|
-
"type": "array",
|
|
468
|
-
"items": {
|
|
469
|
-
"type": "object",
|
|
470
|
-
"properties": {
|
|
471
|
-
"eventId": {
|
|
472
|
-
"type": "string",
|
|
473
|
-
"description": "Event id this error applies to."
|
|
474
|
-
},
|
|
475
|
-
"message": {
|
|
476
|
-
"type": "string",
|
|
477
|
-
"description": "Why the event was rejected."
|
|
478
|
-
}
|
|
479
|
-
},
|
|
480
|
-
"required": [
|
|
481
|
-
"eventId",
|
|
482
|
-
"message"
|
|
483
|
-
]
|
|
484
|
-
},
|
|
485
|
-
"default": []
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
|
-
"required": [
|
|
489
|
-
"accepted",
|
|
490
|
-
"rejected"
|
|
491
|
-
]
|
|
492
|
-
},
|
|
493
|
-
"FeedbackTrajectory": {
|
|
494
|
-
"type": "object",
|
|
495
|
-
"properties": {
|
|
496
|
-
"id": {
|
|
497
|
-
"type": "string",
|
|
498
|
-
"minLength": 1,
|
|
499
|
-
"description": "Stable id; idempotency key for the trajectory."
|
|
500
|
-
},
|
|
501
|
-
"projectId": {
|
|
502
|
-
"type": "string"
|
|
503
|
-
},
|
|
504
|
-
"scenarioId": {
|
|
505
|
-
"type": "string"
|
|
506
|
-
},
|
|
507
|
-
"task": {
|
|
508
|
-
"type": "object",
|
|
509
|
-
"properties": {
|
|
510
|
-
"intent": {
|
|
511
|
-
"type": "string",
|
|
512
|
-
"minLength": 1
|
|
513
|
-
},
|
|
514
|
-
"context": {}
|
|
515
|
-
},
|
|
516
|
-
"required": [
|
|
517
|
-
"intent"
|
|
518
|
-
]
|
|
519
|
-
},
|
|
520
|
-
"attempts": {
|
|
521
|
-
"type": "array",
|
|
522
|
-
"items": {
|
|
523
|
-
"$ref": "#/components/schemas/FeedbackAttempt"
|
|
524
|
-
},
|
|
525
|
-
"default": []
|
|
526
|
-
},
|
|
527
|
-
"labels": {
|
|
528
|
-
"type": "array",
|
|
529
|
-
"items": {
|
|
530
|
-
"$ref": "#/components/schemas/FeedbackLabel"
|
|
531
|
-
},
|
|
532
|
-
"default": []
|
|
533
|
-
},
|
|
534
|
-
"outcome": {
|
|
535
|
-
"type": "object",
|
|
536
|
-
"properties": {
|
|
537
|
-
"success": {
|
|
538
|
-
"type": "boolean"
|
|
539
|
-
},
|
|
540
|
-
"score": {
|
|
541
|
-
"type": "number"
|
|
542
|
-
},
|
|
543
|
-
"metrics": {
|
|
544
|
-
"type": "object",
|
|
545
|
-
"additionalProperties": {
|
|
546
|
-
"type": "number"
|
|
547
|
-
}
|
|
548
|
-
},
|
|
549
|
-
"costUsd": {
|
|
550
|
-
"type": "number"
|
|
551
|
-
},
|
|
552
|
-
"detail": {
|
|
553
|
-
"type": "string"
|
|
554
|
-
},
|
|
555
|
-
"observedAt": {
|
|
556
|
-
"type": "string"
|
|
557
|
-
},
|
|
558
|
-
"metadata": {
|
|
559
|
-
"type": "object",
|
|
560
|
-
"additionalProperties": {}
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
"split": {
|
|
565
|
-
"type": "string",
|
|
566
|
-
"enum": [
|
|
567
|
-
"train",
|
|
568
|
-
"dev",
|
|
569
|
-
"test",
|
|
570
|
-
"holdout"
|
|
571
|
-
]
|
|
572
|
-
},
|
|
573
|
-
"tags": {
|
|
574
|
-
"type": "object",
|
|
575
|
-
"additionalProperties": {
|
|
576
|
-
"type": "string"
|
|
577
|
-
}
|
|
578
|
-
},
|
|
579
|
-
"createdAt": {
|
|
580
|
-
"type": "string",
|
|
581
|
-
"description": "ISO-8601 UTC."
|
|
582
|
-
},
|
|
583
|
-
"updatedAt": {
|
|
584
|
-
"type": "string"
|
|
585
|
-
},
|
|
586
|
-
"metadata": {
|
|
587
|
-
"type": "object",
|
|
588
|
-
"additionalProperties": {}
|
|
589
|
-
}
|
|
590
|
-
},
|
|
591
|
-
"required": [
|
|
592
|
-
"id",
|
|
593
|
-
"task",
|
|
594
|
-
"createdAt"
|
|
595
|
-
]
|
|
596
|
-
},
|
|
597
|
-
"FeedbackAttempt": {
|
|
598
|
-
"type": "object",
|
|
599
|
-
"properties": {
|
|
600
|
-
"id": {
|
|
601
|
-
"type": "string",
|
|
602
|
-
"minLength": 1
|
|
603
|
-
},
|
|
604
|
-
"stepIndex": {
|
|
605
|
-
"type": "integer",
|
|
606
|
-
"minimum": 0
|
|
607
|
-
},
|
|
608
|
-
"artifactType": {
|
|
609
|
-
"type": "string",
|
|
610
|
-
"enum": [
|
|
611
|
-
"text",
|
|
612
|
-
"code",
|
|
613
|
-
"plan",
|
|
614
|
-
"research",
|
|
615
|
-
"action",
|
|
616
|
-
"ui",
|
|
617
|
-
"decision",
|
|
618
|
-
"data",
|
|
619
|
-
"other"
|
|
620
|
-
]
|
|
621
|
-
},
|
|
622
|
-
"artifact": {},
|
|
623
|
-
"options": {
|
|
624
|
-
"type": "array",
|
|
625
|
-
"items": {}
|
|
626
|
-
},
|
|
627
|
-
"proposedAction": {
|
|
628
|
-
"type": "object",
|
|
629
|
-
"properties": {
|
|
630
|
-
"type": {
|
|
631
|
-
"type": "string"
|
|
632
|
-
},
|
|
633
|
-
"risk": {
|
|
634
|
-
"type": "string",
|
|
635
|
-
"enum": [
|
|
636
|
-
"low",
|
|
637
|
-
"medium",
|
|
638
|
-
"high"
|
|
639
|
-
]
|
|
640
|
-
},
|
|
641
|
-
"costUsd": {
|
|
642
|
-
"type": "number"
|
|
643
|
-
},
|
|
644
|
-
"externalSideEffect": {
|
|
645
|
-
"type": "boolean"
|
|
646
|
-
},
|
|
647
|
-
"requiresApproval": {
|
|
648
|
-
"type": "boolean"
|
|
649
|
-
},
|
|
650
|
-
"metadata": {
|
|
651
|
-
"type": "object",
|
|
652
|
-
"additionalProperties": {}
|
|
653
|
-
}
|
|
654
|
-
},
|
|
655
|
-
"required": [
|
|
656
|
-
"type"
|
|
657
|
-
]
|
|
658
|
-
},
|
|
659
|
-
"feedback": {
|
|
660
|
-
"type": "array",
|
|
661
|
-
"items": {
|
|
662
|
-
"$ref": "#/components/schemas/FeedbackLabel"
|
|
663
|
-
}
|
|
664
|
-
},
|
|
665
|
-
"createdAt": {
|
|
666
|
-
"type": "string"
|
|
667
|
-
},
|
|
668
|
-
"metadata": {
|
|
669
|
-
"type": "object",
|
|
670
|
-
"additionalProperties": {}
|
|
671
|
-
}
|
|
672
|
-
},
|
|
673
|
-
"required": [
|
|
674
|
-
"id",
|
|
675
|
-
"stepIndex",
|
|
676
|
-
"artifactType",
|
|
677
|
-
"createdAt"
|
|
678
|
-
]
|
|
679
|
-
},
|
|
680
|
-
"FeedbackLabel": {
|
|
681
|
-
"type": "object",
|
|
682
|
-
"properties": {
|
|
683
|
-
"id": {
|
|
684
|
-
"type": "string"
|
|
685
|
-
},
|
|
686
|
-
"source": {
|
|
687
|
-
"type": "string",
|
|
688
|
-
"enum": [
|
|
689
|
-
"user",
|
|
690
|
-
"judge",
|
|
691
|
-
"environment",
|
|
692
|
-
"metric",
|
|
693
|
-
"policy",
|
|
694
|
-
"system"
|
|
695
|
-
]
|
|
696
|
-
},
|
|
697
|
-
"kind": {
|
|
698
|
-
"type": "string",
|
|
699
|
-
"enum": [
|
|
700
|
-
"approve",
|
|
701
|
-
"reject",
|
|
702
|
-
"select",
|
|
703
|
-
"edit",
|
|
704
|
-
"rank",
|
|
705
|
-
"rate",
|
|
706
|
-
"comment",
|
|
707
|
-
"metric_outcome",
|
|
708
|
-
"policy_block",
|
|
709
|
-
"revision_request"
|
|
710
|
-
]
|
|
711
|
-
},
|
|
712
|
-
"value": {},
|
|
713
|
-
"reason": {
|
|
714
|
-
"type": "string"
|
|
715
|
-
},
|
|
716
|
-
"severity": {
|
|
717
|
-
"type": "string",
|
|
718
|
-
"enum": [
|
|
719
|
-
"info",
|
|
720
|
-
"warning",
|
|
721
|
-
"error",
|
|
722
|
-
"critical"
|
|
723
|
-
]
|
|
724
|
-
},
|
|
725
|
-
"createdAt": {
|
|
726
|
-
"type": "string",
|
|
727
|
-
"description": "ISO-8601 UTC."
|
|
728
|
-
},
|
|
729
|
-
"metadata": {
|
|
730
|
-
"type": "object",
|
|
731
|
-
"additionalProperties": {}
|
|
732
|
-
}
|
|
733
|
-
},
|
|
734
|
-
"required": [
|
|
735
|
-
"source",
|
|
736
|
-
"kind",
|
|
737
|
-
"createdAt"
|
|
738
|
-
]
|
|
739
|
-
},
|
|
740
|
-
"FeedbackIngestResponse": {
|
|
741
|
-
"type": "object",
|
|
742
|
-
"properties": {
|
|
743
|
-
"id": {
|
|
744
|
-
"type": "string",
|
|
745
|
-
"description": "Trajectory id that was persisted."
|
|
746
|
-
},
|
|
747
|
-
"persisted": {
|
|
748
|
-
"type": "boolean",
|
|
749
|
-
"description": "True when the trajectory was saved (idempotent on id)."
|
|
750
|
-
}
|
|
751
|
-
},
|
|
752
|
-
"required": [
|
|
753
|
-
"id",
|
|
754
|
-
"persisted"
|
|
755
|
-
]
|
|
756
|
-
}
|
|
757
|
-
},
|
|
758
|
-
"parameters": {}
|
|
759
|
-
},
|
|
760
|
-
"paths": {
|
|
761
|
-
"/v1/judge": {
|
|
762
|
-
"post": {
|
|
763
|
-
"summary": "Score a piece of content against a rubric",
|
|
764
|
-
"description": "Runs the judging LLM with the named (or inline) rubric and returns dimension scores, detected failure modes, wins, and a composite score in 0..1.",
|
|
765
|
-
"requestBody": {
|
|
766
|
-
"content": {
|
|
767
|
-
"application/json": {
|
|
768
|
-
"schema": {
|
|
769
|
-
"$ref": "#/components/schemas/JudgeRequest"
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
},
|
|
774
|
-
"responses": {
|
|
775
|
-
"200": {
|
|
776
|
-
"description": "Successful judgement",
|
|
777
|
-
"content": {
|
|
778
|
-
"application/json": {
|
|
779
|
-
"schema": {
|
|
780
|
-
"$ref": "#/components/schemas/JudgeResult"
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
},
|
|
785
|
-
"400": {
|
|
786
|
-
"description": "Validation error",
|
|
787
|
-
"content": {
|
|
788
|
-
"application/json": {
|
|
789
|
-
"schema": {
|
|
790
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
},
|
|
795
|
-
"404": {
|
|
796
|
-
"description": "Rubric not found",
|
|
797
|
-
"content": {
|
|
798
|
-
"application/json": {
|
|
799
|
-
"schema": {
|
|
800
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
},
|
|
805
|
-
"500": {
|
|
806
|
-
"description": "Judge error",
|
|
807
|
-
"content": {
|
|
808
|
-
"application/json": {
|
|
809
|
-
"schema": {
|
|
810
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
},
|
|
818
|
-
"/v1/rubrics": {
|
|
819
|
-
"get": {
|
|
820
|
-
"summary": "List built-in rubrics",
|
|
821
|
-
"description": "Returns every rubric registered server-side, with their dimensions and stable rubricVersion hash.",
|
|
822
|
-
"responses": {
|
|
823
|
-
"200": {
|
|
824
|
-
"description": "Listing",
|
|
825
|
-
"content": {
|
|
826
|
-
"application/json": {
|
|
827
|
-
"schema": {
|
|
828
|
-
"$ref": "#/components/schemas/ListRubricsResponse"
|
|
829
|
-
}
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
},
|
|
836
|
-
"/v1/version": {
|
|
837
|
-
"get": {
|
|
838
|
-
"summary": "Server and wire-protocol version",
|
|
839
|
-
"description": "Match your client version to `version`; check `wireVersion` for compatibility.",
|
|
840
|
-
"responses": {
|
|
841
|
-
"200": {
|
|
842
|
-
"description": "Version info",
|
|
843
|
-
"content": {
|
|
844
|
-
"application/json": {
|
|
845
|
-
"schema": {
|
|
846
|
-
"$ref": "#/components/schemas/VersionResponse"
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
},
|
|
854
|
-
"/healthz": {
|
|
855
|
-
"get": {
|
|
856
|
-
"summary": "Liveness check",
|
|
857
|
-
"responses": {
|
|
858
|
-
"200": {
|
|
859
|
-
"description": "OK",
|
|
860
|
-
"content": {
|
|
861
|
-
"application/json": {
|
|
862
|
-
"schema": {
|
|
863
|
-
"$ref": "#/components/schemas/HealthResponse"
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
},
|
|
871
|
-
"/v1/traces/ingest": {
|
|
872
|
-
"post": {
|
|
873
|
-
"summary": "Ingest a batch of production TraceEvents",
|
|
874
|
-
"description": "Append a batch of TraceEvents to the configured TraceStore. Accepts application/json ({events:[...]}) or application/x-ndjson (one event per line). Returns counts of accepted + rejected events.",
|
|
875
|
-
"requestBody": {
|
|
876
|
-
"content": {
|
|
877
|
-
"application/json": {
|
|
878
|
-
"schema": {
|
|
879
|
-
"$ref": "#/components/schemas/TracesIngestRequest"
|
|
880
|
-
}
|
|
881
|
-
},
|
|
882
|
-
"application/x-ndjson": {
|
|
883
|
-
"schema": {
|
|
884
|
-
"$ref": "#/components/schemas/TracesIngestRequest"
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
}
|
|
888
|
-
},
|
|
889
|
-
"responses": {
|
|
890
|
-
"200": {
|
|
891
|
-
"description": "Ingestion summary",
|
|
892
|
-
"content": {
|
|
893
|
-
"application/json": {
|
|
894
|
-
"schema": {
|
|
895
|
-
"$ref": "#/components/schemas/TracesIngestResponse"
|
|
896
|
-
}
|
|
897
|
-
}
|
|
898
|
-
}
|
|
899
|
-
},
|
|
900
|
-
"400": {
|
|
901
|
-
"description": "Validation error",
|
|
902
|
-
"content": {
|
|
903
|
-
"application/json": {
|
|
904
|
-
"schema": {
|
|
905
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
}
|
|
909
|
-
},
|
|
910
|
-
"401": {
|
|
911
|
-
"description": "Unauthorized (when bearer auth is configured)",
|
|
912
|
-
"content": {
|
|
913
|
-
"application/json": {
|
|
914
|
-
"schema": {
|
|
915
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
},
|
|
920
|
-
"503": {
|
|
921
|
-
"description": "No trace store configured",
|
|
922
|
-
"content": {
|
|
923
|
-
"application/json": {
|
|
924
|
-
"schema": {
|
|
925
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
}
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
},
|
|
933
|
-
"/v1/feedback": {
|
|
934
|
-
"post": {
|
|
935
|
-
"summary": "Ingest a FeedbackTrajectory from production",
|
|
936
|
-
"description": "Persist a single FeedbackTrajectory. Idempotent on trajectory.id — re-posting replaces the prior record. Used by production runtimes to forward user 👍/👎/edits into the eval substrate.",
|
|
937
|
-
"requestBody": {
|
|
938
|
-
"content": {
|
|
939
|
-
"application/json": {
|
|
940
|
-
"schema": {
|
|
941
|
-
"$ref": "#/components/schemas/FeedbackTrajectory"
|
|
942
|
-
}
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
},
|
|
946
|
-
"responses": {
|
|
947
|
-
"200": {
|
|
948
|
-
"description": "Persisted",
|
|
949
|
-
"content": {
|
|
950
|
-
"application/json": {
|
|
951
|
-
"schema": {
|
|
952
|
-
"$ref": "#/components/schemas/FeedbackIngestResponse"
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
},
|
|
957
|
-
"400": {
|
|
958
|
-
"description": "Validation error",
|
|
959
|
-
"content": {
|
|
960
|
-
"application/json": {
|
|
961
|
-
"schema": {
|
|
962
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
},
|
|
967
|
-
"401": {
|
|
968
|
-
"description": "Unauthorized (when bearer auth is configured)",
|
|
969
|
-
"content": {
|
|
970
|
-
"application/json": {
|
|
971
|
-
"schema": {
|
|
972
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
973
|
-
}
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
},
|
|
977
|
-
"503": {
|
|
978
|
-
"description": "No feedback store configured",
|
|
979
|
-
"content": {
|
|
980
|
-
"application/json": {
|
|
981
|
-
"schema": {
|
|
982
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
}
|
|
989
|
-
}
|
|
990
|
-
},
|
|
991
|
-
"webhooks": {}
|
|
992
|
-
}
|