3838 "description" : " Response after creating observations" ,
3939 "type" : " object"
4040 },
41- "ErrorResponse" : {
42- "description" : " API error response" ,
43- "properties" : {
44- "code" : {
45- "description" : " Optional error code" ,
46- "nullable" : true ,
47- "type" : " string"
48- },
49- "details" : {
50- "description" : " Optional additional details"
51- },
52- "error" : {
53- "description" : " Error message" ,
54- "type" : " string"
55- }
56- },
57- "required" : [
58- " error"
59- ],
60- "type" : " object"
61- },
6241 "Execution" : {
6342 "description" : " An execution represents the root scope for data collection.\n All observations are associated with one execution." ,
6443 "properties" : {
130109 ],
131110 "type" : " object"
132111 },
133- "ListExecutionsQuery" : {
134- "description" : " Query parameters for listing executions" ,
135- "properties" : {
136- "limit" : {
137- "description" : " Maximum number of results to return" ,
138- "minimum" : 0 ,
139- "nullable" : true ,
140- "type" : " integer"
141- },
142- "offset" : {
143- "description" : " Number of results to skip (for pagination)" ,
144- "minimum" : 0 ,
145- "nullable" : true ,
146- "type" : " integer"
147- },
148- "search" : {
149- "description" : " Search query for execution names or metadata" ,
150- "nullable" : true ,
151- "type" : " string"
152- }
153- },
154- "type" : " object"
155- },
156112 "ListExecutionsResponse" : {
157113 "description" : " Response for listing executions" ,
158114 "properties" : {
174130 ],
175131 "type" : " object"
176132 },
177- "ListObservationsQuery" : {
178- "description" : " Query parameters for listing observations" ,
179- "properties" : {
180- "labels" : {
181- "description" : " Filter by labels (comma-separated)" ,
182- "nullable" : true ,
183- "type" : " string"
184- },
185- "limit" : {
186- "description" : " Maximum number of results to return" ,
187- "minimum" : 0 ,
188- "nullable" : true ,
189- "type" : " integer"
190- },
191- "offset" : {
192- "description" : " Number of results to skip (for pagination)" ,
193- "minimum" : 0 ,
194- "nullable" : true ,
195- "type" : " integer"
196- },
197- "parent_span_id" : {
198- "description" : " Filter by parent span ID" ,
199- "nullable" : true ,
200- "type" : " string"
201- },
202- "search" : {
203- "description" : " Search query for observation names or metadata" ,
204- "nullable" : true ,
205- "type" : " string"
206- },
207- "source_file" : {
208- "description" : " Filter by source file" ,
209- "nullable" : true ,
210- "type" : " string"
211- }
212- },
213- "type" : " object"
214- },
215133 "ListObservationsResponse" : {
216134 "description" : " Response for listing observations" ,
217135 "properties" : {
350268 ],
351269 "type" : " object"
352270 }
271+ },
272+ "securitySchemes" : {
273+ "bearer_auth" : {
274+ "bearerFormat" : " API Key" ,
275+ "description" : " API key authentication. Set OBSERVATION_TOOLS_API_SECRET on the server to enable." ,
276+ "scheme" : " bearer" ,
277+ "type" : " http"
278+ }
353279 }
354280 },
355281 "info" : {
356- "description" : " API for the Observation Tools developer data inspection toolkit" ,
357- "license" : {
358- "identifier" : " AGPL-3" ,
359- "name" : " AGPL-3"
360- },
361- "title" : " Observation Tools API" ,
362- "version" : " 0.1.0"
282+ "title" : " " ,
283+ "version" : " "
363284 },
364285 "openapi" : " 3.0.3" ,
365286 "paths" : {
388309 "nullable" : true ,
389310 "type" : " integer"
390311 }
391- },
392- {
393- "description" : " Search query for execution names or metadata" ,
394- "in" : " query" ,
395- "name" : " search" ,
396- "required" : false ,
397- "schema" : {
398- "nullable" : true ,
399- "type" : " string"
400- }
401312 }
402313 ],
403314 "responses" : {
487398 "nullable" : true ,
488399 "type" : " integer"
489400 }
490- },
491- {
492- "description" : " Search query for observation names or metadata" ,
493- "in" : " query" ,
494- "name" : " search" ,
495- "required" : false ,
496- "schema" : {
497- "nullable" : true ,
498- "type" : " string"
499- }
500- },
501- {
502- "description" : " Filter by labels (comma-separated)" ,
503- "in" : " query" ,
504- "name" : " labels" ,
505- "required" : false ,
506- "schema" : {
507- "nullable" : true ,
508- "type" : " string"
509- }
510- },
511- {
512- "description" : " Filter by source file" ,
513- "in" : " query" ,
514- "name" : " source_file" ,
515- "required" : false ,
516- "schema" : {
517- "nullable" : true ,
518- "type" : " string"
519- }
520- },
521- {
522- "description" : " Filter by parent span ID" ,
523- "in" : " query" ,
524- "name" : " parent_span_id" ,
525- "required" : false ,
526- "schema" : {
527- "nullable" : true ,
528- "type" : " string"
529- }
530401 }
531402 ],
532403 "responses" : {
730601 ]
731602 }
732603 }
733- },
734- "tags" : [
735- {
736- "description" : " Execution management endpoints" ,
737- "name" : " executions"
738- },
739- {
740- "description" : " Observation management endpoints" ,
741- "name" : " observations"
742- }
743- ]
604+ }
744605}
0 commit comments