curl --request POST \ --url 'http://{{api_host}}/agents/{AGENT_ID}/query' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "query": "create now a file inside random name is fine"}'
Copy
{ "asynchronous": true}
Agents
POST - /agents/{id}/query
POST
/
agents
/
{AGENT_ID}
/
query
POST - /agents/{id}/query
Copy
curl --request POST \ --url 'http://{{api_host}}/agents/{AGENT_ID}/query' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "query": "create now a file inside random name is fine"}'