Hello! Anyone know what is the correct API endpoin...
# server-api
k
Hello! Anyone know what is the correct API endpoint for: lk dispatch create \ --agent-name test_agent \ --room aloha2 \ --metadata '{"user_id":"123"}' when I use CLI with this command works fine but when I try to do API call to https://my.livekit.cloud/twirp/agentdispatch.AgentDispatchService/CreateDispatch with same JSON body I have status OK but the room is not created.
l
At risk of not answering the actual question, the LK CLI source code is here: https://github.com/livekit/livekit-cli/blob/main/cmd/lk/dispatch.go and uses https://github.com/livekit/server-sdk-go
k
Hello @lively-winter-88668, I done with my setup and have success, Thanks. Now I move to add dynamic first message, create a tools and so..