@@ -2,7 +2,7 @@ openapi: 3.1.0
22info :
33 title : Devgraph AI API
44 description : The Devgraph AI ontology engine and entity management API
5- version : 1.0.0-beta.17
5+ version : 1.0.0-beta.18
66paths :
77 /api/v1/entities/definitions :
88 get :
@@ -613,6 +613,98 @@ paths:
613613 $ref : ' #/components/schemas/HTTPValidationError'
614614 security :
615615 - OAuth2PasswordBearer : []
616+ /api/v1/chats/suggestions :
617+ post :
618+ tags :
619+ - chats
620+ summary : Create Chat Suggestion
621+ description : Create a new chat suggestion for the environment
622+ operationId : create_chat_suggestion
623+ security :
624+ - OAuth2PasswordBearer : []
625+ requestBody :
626+ required : true
627+ content :
628+ application/json :
629+ schema :
630+ $ref : ' #/components/schemas/ChatSuggestionCreate'
631+ responses :
632+ ' 201 ' :
633+ description : Successful Response
634+ content :
635+ application/json :
636+ schema :
637+ $ref : ' #/components/schemas/ChatSuggestionResponse'
638+ ' 404 ' :
639+ description : Not found
640+ ' 422 ' :
641+ description : Validation Error
642+ content :
643+ application/json :
644+ schema :
645+ $ref : ' #/components/schemas/HTTPValidationError'
646+ get :
647+ tags :
648+ - chats
649+ summary : List Chat Suggestions
650+ description : List chat suggestions including system-wide and user-specific ones
651+ operationId : list_chat_suggestions
652+ security :
653+ - OAuth2PasswordBearer : []
654+ parameters :
655+ - name : active_only
656+ in : query
657+ required : false
658+ schema :
659+ type : boolean
660+ default : true
661+ title : Active Only
662+ responses :
663+ ' 200 ' :
664+ description : Successful Response
665+ content :
666+ application/json :
667+ schema :
668+ type : array
669+ items :
670+ $ref : ' #/components/schemas/ChatSuggestionResponse'
671+ title : Response List Chat Suggestions
672+ ' 404 ' :
673+ description : Not found
674+ ' 422 ' :
675+ description : Validation Error
676+ content :
677+ application/json :
678+ schema :
679+ $ref : ' #/components/schemas/HTTPValidationError'
680+ /api/v1/chats/suggestions/{suggestion_id} :
681+ delete :
682+ tags :
683+ - chats
684+ summary : Delete Chat Suggestion
685+ description : Delete a chat suggestion owned by the user
686+ operationId : delete_chat_suggestion
687+ security :
688+ - OAuth2PasswordBearer : []
689+ parameters :
690+ - name : suggestion_id
691+ in : path
692+ required : true
693+ schema :
694+ type : string
695+ format : uuid
696+ title : Suggestion Id
697+ responses :
698+ ' 204 ' :
699+ description : Successful Response
700+ ' 404 ' :
701+ description : Not found
702+ ' 422 ' :
703+ description : Validation Error
704+ content :
705+ application/json :
706+ schema :
707+ $ref : ' #/components/schemas/HTTPValidationError'
616708 /api/v1/chats/title :
617709 post :
618710 tags :
@@ -936,98 +1028,6 @@ paths:
9361028 application/json :
9371029 schema :
9381030 $ref : ' #/components/schemas/HTTPValidationError'
939- /api/v1/chats/suggestions :
940- post :
941- tags :
942- - chats
943- summary : Create Chat Suggestion
944- description : Create a new chat suggestion for the environment
945- operationId : create_chat_suggestion
946- security :
947- - OAuth2PasswordBearer : []
948- requestBody :
949- required : true
950- content :
951- application/json :
952- schema :
953- $ref : ' #/components/schemas/ChatSuggestionCreate'
954- responses :
955- ' 201 ' :
956- description : Successful Response
957- content :
958- application/json :
959- schema :
960- $ref : ' #/components/schemas/ChatSuggestionResponse'
961- ' 404 ' :
962- description : Not found
963- ' 422 ' :
964- description : Validation Error
965- content :
966- application/json :
967- schema :
968- $ref : ' #/components/schemas/HTTPValidationError'
969- get :
970- tags :
971- - chats
972- summary : List Chat Suggestions
973- description : List chat suggestions including system-wide and user-specific ones
974- operationId : list_chat_suggestions
975- security :
976- - OAuth2PasswordBearer : []
977- parameters :
978- - name : active_only
979- in : query
980- required : false
981- schema :
982- type : boolean
983- default : true
984- title : Active Only
985- responses :
986- ' 200 ' :
987- description : Successful Response
988- content :
989- application/json :
990- schema :
991- type : array
992- items :
993- $ref : ' #/components/schemas/ChatSuggestionResponse'
994- title : Response List Chat Suggestions
995- ' 404 ' :
996- description : Not found
997- ' 422 ' :
998- description : Validation Error
999- content :
1000- application/json :
1001- schema :
1002- $ref : ' #/components/schemas/HTTPValidationError'
1003- /api/v1/chats/suggestions/{suggestion_id} :
1004- delete :
1005- tags :
1006- - chats
1007- summary : Delete Chat Suggestion
1008- description : Delete a chat suggestion owned by the user
1009- operationId : delete_chat_suggestion
1010- security :
1011- - OAuth2PasswordBearer : []
1012- parameters :
1013- - name : suggestion_id
1014- in : path
1015- required : true
1016- schema :
1017- type : string
1018- format : uuid
1019- title : Suggestion Id
1020- responses :
1021- ' 204 ' :
1022- description : Successful Response
1023- ' 404 ' :
1024- description : Not found
1025- ' 422 ' :
1026- description : Validation Error
1027- content :
1028- application/json :
1029- schema :
1030- $ref : ' #/components/schemas/HTTPValidationError'
10311031 /api/v1/chat/completions :
10321032 post :
10331033 tags :
0 commit comments