This lets me receive the live agent communication flow but it isn’t persistent because I can’t create or manage sessions using the available REST APIs.
When I try to access endpoints like:
GET /api/v1/sessions/{session_id}/tasks/{task_id}
I get:
{
"message": "Resource not found with path ...",
"validationDetails": null
}
Is there an officially supported way to create and retrieve session, task, and agent data entirely through API endpoints, without relying on SSE streams or broker subscriptions, so that I can integrate everything directly into my own UI?
Can you elaborate more on what you’re trying to do with your app? Are you trying to build something that uses Solace Agent Mesh or are you trying to build something that helps observe/monitor it?
I built a multi agent SAM application but I want to use my own custom UI to interact with it therefore I’m looking for a way to easily create sessions, chat and maintain conversations through my UI, I’ll check the documentation you sent.
Great to see you are using Soalce agent mesh for different use-cases. To answer your questions there a couple of things you can do. Interacting with Solace Agent Mesh happens through Gateways. Which means you can access agents interactions and dynamic workflows through sending prompts to the framework. There are several gateways you can take advantage of including
Built-in: for example, the WebUI Gateway is built-in into the SAM framework
You can still build your own custom UI with REST components to trigger events on a running SAM instance…
If you can provide more details on how you would like to use SAM as a backend to your custom UI it might be helpful to bring you to the right direction
Thank you so much for the detailed and helpful response!
I think the links you shared will cover everything I need to get started, I’ll go through them in detail and if I run into anything else I’ll add it to this post.
Really appreciate your time and thorough explanation!