@@ -74,9 +74,9 @@ Returns:
7474
7575| Status Code | Description | Component |
7676| -------------| -------------| -----------|
77- | 200 | Successful Response | [ ModelsResponse] ( #modelsresponse ) |
77+ | 200 | Successful Response | [ ModelsResponse] ( #modelsresponse )
78+ |
7879| 503 | Connection to Llama Stack is broken | |
79-
8080## POST ` /v1/query `
8181
8282> ** Query Endpoint Handler**
@@ -107,11 +107,15 @@ Returns:
107107
108108| Status Code | Description | Component |
109109| -------------| -------------| -----------|
110- | 200 | Successful Response | [ QueryResponse] ( #queryresponse ) |
111- | 400 | Missing or invalid credentials provided by client | [ UnauthorizedResponse] ( #unauthorizedresponse ) |
112- | 403 | User is not authorized | [ ForbiddenResponse] ( #forbiddenresponse ) |
110+ | 200 | Successful Response | [ QueryResponse] ( #queryresponse )
111+ |
112+ | 400 | Missing or invalid credentials provided by client | [ UnauthorizedResponse] ( #unauthorizedresponse )
113+ |
114+ | 403 | User is not authorized | [ ForbiddenResponse] ( #forbiddenresponse )
115+ |
113116| 503 | Service Unavailable | |
114- | 422 | Validation Error | [ HTTPValidationError] ( #httpvalidationerror ) |
117+ | 422 | Validation Error | [ HTTPValidationError] ( #httpvalidationerror )
118+ |
115119## POST ` /v1/streaming_query `
116120
117121> ** Streaming Query Endpoint Handler**
@@ -146,7 +150,8 @@ Raises:
146150| Status Code | Description | Component |
147151| -------------| -------------| -----------|
148152| 200 | Successful Response | ... |
149- | 422 | Validation Error | [ HTTPValidationError] ( #httpvalidationerror ) |
153+ | 422 | Validation Error | [ HTTPValidationError] ( #httpvalidationerror )
154+ |
150155## GET ` /v1/config `
151156
152157> ** Config Endpoint Handler**
@@ -167,7 +172,8 @@ Returns:
167172
168173| Status Code | Description | Component |
169174| -------------| -------------| -----------|
170- | 200 | Successful Response | [ Configuration] ( #configuration ) |
175+ | 200 | Successful Response | [ Configuration] ( #configuration )
176+ |
171177| 503 | Service Unavailable | |
172178## POST ` /v1/feedback `
173179
@@ -203,11 +209,16 @@ Raises:
203209
204210| Status Code | Description | Component |
205211| -------------| -------------| -----------|
206- | 200 | Feedback received and stored | [ FeedbackResponse] ( #feedbackresponse ) |
207- | 401 | Missing or invalid credentials provided by client | [ UnauthorizedResponse] ( #unauthorizedresponse ) |
208- | 403 | Client does not have permission to access resource | [ ForbiddenResponse] ( #forbiddenresponse ) |
209- | 500 | User feedback can not be stored | [ ErrorResponse] ( #errorresponse ) |
210- | 422 | Validation Error | [ HTTPValidationError] ( #httpvalidationerror ) |
212+ | 200 | Feedback received and stored | [ FeedbackResponse] ( #feedbackresponse )
213+ |
214+ | 401 | Missing or invalid credentials provided by client | [ UnauthorizedResponse] ( #unauthorizedresponse )
215+ |
216+ | 403 | Client does not have permission to access resource | [ ForbiddenResponse] ( #forbiddenresponse )
217+ |
218+ | 500 | User feedback can not be stored | [ ErrorResponse] ( #errorresponse )
219+ |
220+ | 422 | Validation Error | [ HTTPValidationError] ( #httpvalidationerror )
221+ |
211222## GET ` /v1/feedback/status `
212223
213224> ** Feedback Status**
@@ -228,7 +239,8 @@ Returns:
228239
229240| Status Code | Description | Component |
230241| -------------| -------------| -----------|
231- | 200 | Successful Response | [ StatusResponse] ( #statusresponse ) |
242+ | 200 | Successful Response | [ StatusResponse] ( #statusresponse )
243+ |
232244## GET ` /v1/conversations `
233245
234246> ** Get Conversations List Endpoint Handler**
@@ -243,7 +255,8 @@ Handle request to retrieve all conversations for the authenticated user.
243255
244256| Status Code | Description | Component |
245257| -------------| -------------| -----------|
246- | 200 | Successful Response | [ ConversationsListResponse] ( #conversationslistresponse ) |
258+ | 200 | Successful Response | [ ConversationsListResponse] ( #conversationslistresponse )
259+ |
247260| 503 | Service Unavailable | |
248261## GET ` /v1/conversations/{conversation_id} `
249262
@@ -278,10 +291,12 @@ Returns:
278291
279292| Status Code | Description | Component |
280293| -------------| -------------| -----------|
281- | 200 | Successful Response | [ ConversationResponse] ( #conversationresponse ) |
294+ | 200 | Successful Response | [ ConversationResponse] ( #conversationresponse )
295+ |
282296| 404 | Not Found | |
283297| 503 | Service Unavailable | |
284- | 422 | Validation Error | [ HTTPValidationError] ( #httpvalidationerror ) |
298+ | 422 | Validation Error | [ HTTPValidationError] ( #httpvalidationerror )
299+ |
285300## DELETE ` /v1/conversations/{conversation_id} `
286301
287302> ** Delete Conversation Endpoint Handler**
@@ -309,10 +324,12 @@ Returns:
309324
310325| Status Code | Description | Component |
311326| -------------| -------------| -----------|
312- | 200 | Successful Response | [ ConversationDeleteResponse] ( #conversationdeleteresponse ) |
327+ | 200 | Successful Response | [ ConversationDeleteResponse] ( #conversationdeleteresponse )
328+ |
313329| 404 | Not Found | |
314330| 503 | Service Unavailable | |
315- | 422 | Validation Error | [ HTTPValidationError] ( #httpvalidationerror ) |
331+ | 422 | Validation Error | [ HTTPValidationError] ( #httpvalidationerror )
332+ |
316333## GET ` /readiness `
317334
318335> ** Readiness Probe Get Method**
@@ -331,8 +348,10 @@ service is ready.
331348
332349| Status Code | Description | Component |
333350| -------------| -------------| -----------|
334- | 200 | Service is ready | [ ReadinessResponse] ( #readinessresponse ) |
335- | 503 | Service is not ready | [ ReadinessResponse] ( #readinessresponse ) |
351+ | 200 | Service is ready | [ ReadinessResponse] ( #readinessresponse )
352+ |
353+ | 503 | Service is not ready | [ ReadinessResponse] ( #readinessresponse )
354+ |
336355## GET ` /liveness `
337356
338357> ** Liveness Probe Get Method**
@@ -350,8 +369,10 @@ Returns:
350369
351370| Status Code | Description | Component |
352371| -------------| -------------| -----------|
353- | 200 | Service is alive | [ LivenessResponse] ( #livenessresponse ) |
354- | 503 | Service is not alive | [ LivenessResponse] ( #livenessresponse ) |
372+ | 200 | Service is alive | [ LivenessResponse] ( #livenessresponse )
373+ |
374+ | 503 | Service is not alive | [ LivenessResponse] ( #livenessresponse )
375+ |
355376## POST ` /authorized `
356377
357378> ** Authorized Endpoint Handler**
@@ -372,9 +393,12 @@ Returns:
372393
373394| Status Code | Description | Component |
374395| -------------| -------------| -----------|
375- | 200 | The user is logged-in and authorized to access OLS | [ AuthorizedResponse] ( #authorizedresponse ) |
376- | 400 | Missing or invalid credentials provided by client | [ UnauthorizedResponse] ( #unauthorizedresponse ) |
377- | 403 | User is not authorized | [ ForbiddenResponse] ( #forbiddenresponse ) |
396+ | 200 | The user is logged-in and authorized to access OLS | [ AuthorizedResponse] ( #authorizedresponse )
397+ |
398+ | 400 | Missing or invalid credentials provided by client | [ UnauthorizedResponse] ( #unauthorizedresponse )
399+ |
400+ | 403 | User is not authorized | [ ForbiddenResponse] ( #forbiddenresponse )
401+ |
378402## GET ` /metrics `
379403
380404> ** Metrics Endpoint Handler**
@@ -897,9 +921,9 @@ Attributes:
897921
898922| Field | Type | Description |
899923| -------| ------| -------------|
900- | provider_id | string | |
901- | status | string | |
902- | message | | |
924+ | provider_id | string | The ID of the provider |
925+ | status | string | The health status |
926+ | message | | Optinal message about the health status |
903927
904928
905929## QueryRequest
0 commit comments