Repository navigation
Expand file tree
/
Copy pathopenapi.yaml
More file actions
263 lines (263 loc) · 6.99 KB
/
Copy pathopenapi.yaml
File metadata and controls
263 lines (263 loc) · 6.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
openapi: 3.1.0
info:
title: AI-Native CI/CD Intelligence Platform API
version: 0.1.0
description: Spec-first contract for AI reasoning, pipeline intelligence, and artifact generation.
servers:
- url: https://api.example.com
paths:
/chat:
post:
summary: Conversational AI over delivery evidence
operationId: chat
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceRequest'
responses:
'200':
description: Chat response
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceResponse'
/analyze-pipeline:
post:
summary: Analyze a pipeline run or definition
operationId: analyzePipeline
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceRequest'
responses:
'200':
description: Pipeline analysis
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceResponse'
/deployment-summary:
post:
summary: Summarize a deployment
operationId: deploymentSummary
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceRequest'
responses:
'200':
description: Deployment summary
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceResponse'
/root-cause:
post:
summary: Rank root-cause hypotheses
operationId: rootCause
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceRequest'
responses:
'200':
description: Root cause analysis
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceResponse'
/optimize:
post:
summary: Optimize delivery systems
operationId: optimize
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceRequest'
responses:
'200':
description: Optimization plan
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceResponse'
/security-review:
post:
summary: Review delivery security posture
operationId: securityReview
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceRequest'
responses:
'200':
description: Security review
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceResponse'
/explain-workflow:
post:
summary: Explain a workflow graph
operationId: explainWorkflow
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceRequest'
responses:
'200':
description: Workflow explanation
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceResponse'
/generate-pipeline:
post:
summary: Generate a delivery pipeline
operationId: generatePipeline
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceRequest'
responses:
'200':
description: Generated pipeline
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceResponse'
/generate-terraform:
post:
summary: Generate Terraform
operationId: generateTerraform
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceRequest'
responses:
'200':
description: Generated Terraform
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceResponse'
/generate-kubernetes:
post:
summary: Generate Kubernetes manifests
operationId: generateKubernetes
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceRequest'
responses:
'200':
description: Generated Kubernetes manifests
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceResponse'
/generate-video-plan:
post:
summary: Generate a YouTube content and publishing brief
operationId: generateVideoPlan
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceRequest'
responses:
'200':
description: Generated YouTube brief
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceResponse'
/upload-video:
post:
summary: Prepare a YouTube video upload workflow
operationId: uploadVideo
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceRequest'
responses:
'200':
description: YouTube upload workflow
content:
application/json:
schema:
$ref: '#/components/schemas/InferenceResponse'
components:
schemas:
InferenceRequest:
type: object
required: [org_id, prompt]
properties:
org_id:
type: string
repository:
type: string
pipeline:
type: string
deployment:
type: string
prompt:
type: string
context:
type: object
properties:
branch:
type: string
environment:
type: string
time_range:
type: string
InferenceResponse:
type: object
required: [request_id, summary]
properties:
request_id:
type: string
model:
type: string
prompt_template:
type: string
summary:
type: string
confidence:
type: number
evidence:
type: array
items:
type: string
recommendations:
type: array
items:
type: string
artifacts:
type: array
items:
type: string