curl --location --request POST 'https://api.superagent.sh/api/v1/agents/{agentId}/predict' \ --header 'Content-Type: application/json' \ --header 'X_SUPERAGENT_API_KEY: <api_token>' --data-raw '{ "input": {"input": "Hi"}, "has_streaming": true }'
{ "success": true, "data": "Hi, how may I help you?", "trace": {} }
Call an agent.
Show input object
EventSource