How to actually use the API after running autogenstudio serve? #7087
Unanswered
sedatepace
asked this question in
Q&A
Replies: 1 comment
-
|
You're using the wrong endpoint. The correct endpoint is /api/chat, and the payload needs to specify your workflow ID (the filename). curl -X POST "http://127.0.0.1:8084/api/chat" I hope this helps |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
💬 Title
🧩 Body
Hi everyone 👋
I successfully ran:
The server starts fine, and I can open the
/docsendpoint in the browser to see the OpenAPI UI.However, the documentation doesn’t clearly explain how to actually send a request to the running API.
I tried this command:
but the response was:
So I’m wondering:
serve?{ "task": "...", "input": "..." })?RoundRobin_OneShot.json) through the served API?Would really appreciate an example or a short “how to test your served workflow via curl / Postman” guide 🙏
Environment
0.1.7)autogenstudio serve --team RoundRobin_OneShot.json --port 8084Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions