@@ -2471,10 +2471,10 @@ paths:
24712471 ' 200 ' :
24722472 description : Successfully edited app values.
24732473
2474- ' /alpha/ai/llm ' :
2474+ ' /alpha/ai/models ' :
24752475 get :
24762476 operationId : getAIModels
2477- description : Get available LLMs
2477+ description : Get available shared AI models (foundation or embedding)
24782478 x-aclSchema : AplAIModel
24792479 responses :
24802480 ' 200 ' :
@@ -2566,6 +2566,86 @@ paths:
25662566 ' 200 ' :
25672567 description : Successfully deleted a team knowledge base
25682568
2569+ ' /alpha/teams/{teamId}/agents ' :
2570+ parameters :
2571+ - $ref : ' #/components/parameters/teamParams'
2572+ get :
2573+ operationId : getAplAgents
2574+ description : Get agents from a given team
2575+ x-aclSchema : AplAgent
2576+ responses :
2577+ ' 200 ' :
2578+ description : Successfully obtained agents
2579+ content :
2580+ application/json :
2581+ schema :
2582+ type : array
2583+ items :
2584+ $ref : ' #/components/schemas/AplAgentResponse'
2585+ post :
2586+ operationId : createAplAgent
2587+ description : Create a team agent
2588+ x-aclSchema : AplAgent
2589+ requestBody :
2590+ content :
2591+ application/json :
2592+ schema :
2593+ $ref : ' #/components/schemas/AplAgentRequest'
2594+ description : Agent object
2595+ required : true
2596+ responses :
2597+ << : *DefaultPostResponses
2598+ ' 200 ' :
2599+ description : Successfully stored agent configuration
2600+ content :
2601+ application/json :
2602+ schema :
2603+ $ref : ' #/components/schemas/AplAgentResponse'
2604+
2605+ ' /alpha/teams/{teamId}/agents/{agentName} ' :
2606+ parameters :
2607+ - $ref : ' #/components/parameters/teamParams'
2608+ - $ref : ' #/components/parameters/agentParams'
2609+ get :
2610+ operationId : getAplAgent
2611+ description : Get an agent from a given team
2612+ x-aclSchema : AplAgent
2613+ responses :
2614+ << : *DefaultGetResponses
2615+ ' 200 ' :
2616+ description : Successfully obtained agent configuration
2617+ content :
2618+ application/json :
2619+ schema :
2620+ $ref : ' #/components/schemas/AplAgentResponse'
2621+ put :
2622+ operationId : editAplAgent
2623+ description : Edit an agent from a given team
2624+ x-aclSchema : AplAgent
2625+ requestBody :
2626+ content :
2627+ application/json :
2628+ schema :
2629+ $ref : ' #/components/schemas/AplAgentRequest'
2630+ description : Agent object that contains updated values
2631+ required : true
2632+ responses :
2633+ << : *DefaultGetResponses
2634+ ' 200 ' :
2635+ description : Successfully edited a team agent
2636+ content :
2637+ application/json :
2638+ schema :
2639+ $ref : ' #/components/schemas/AplAgentResponse'
2640+ delete :
2641+ operationId : deleteAplAgent
2642+ description : Delete an agent from a given team
2643+ x-aclSchema : AplAgent
2644+ responses :
2645+ << : *DefaultGetResponses
2646+ ' 200 ' :
2647+ description : Successfully deleted a team agent
2648+
25692649# # -------------------------------------------- Servers
25702650#
25712651# servers:
@@ -2658,6 +2738,13 @@ components:
26582738 required : true
26592739 schema :
26602740 type : string
2741+ agentParams :
2742+ name : agentName
2743+ in : path
2744+ description : Name of the agent
2745+ required : true
2746+ schema :
2747+ type : string
26612748 securitySchemes :
26622749 groupAuthn :
26632750 type : apiKey
@@ -2752,6 +2839,27 @@ components:
27522839 - $ref : ' #/components/schemas/AplAIModel'
27532840 - $ref : ' #/components/schemas/aplMetadata'
27542841 - $ref : ' #/components/schemas/aplStatusResponse'
2842+ AplAgent :
2843+ type : object
2844+ properties :
2845+ kind :
2846+ type : string
2847+ enum : [AplAgent]
2848+ spec :
2849+ $ref : ' agent.yaml#/AplAgentSpec'
2850+ required :
2851+ - kind
2852+ - spec
2853+ AplAgentRequest :
2854+ allOf :
2855+ - $ref : ' #/components/schemas/AplAgent'
2856+ - $ref : ' #/components/schemas/aplMetadata'
2857+ AplAgentResponse :
2858+ type : object
2859+ allOf :
2860+ - $ref : ' #/components/schemas/AplAgent'
2861+ - $ref : ' #/components/schemas/aplTeamMetadata'
2862+ - $ref : ' #/components/schemas/aplStatusResponse'
27552863 AplBackup :
27562864 type : object
27572865 properties :
0 commit comments