curl --request POST \
--url https://api-lr.agent.ai/v1/action/invoke_agent \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "deepseek-r1",
"input": "value"
}'
{
"response": "<think>\n\n</think>\n\nAI agents are autonomous entities that use artificial intelligence to perceive their environment, make decisions, and take actions to achieve specific goals. They operate with varying levels of autonomy, ranging from simple rule-based systems to complex, adaptive, and learning-based models. AI agents can be deployed across diverse applications, including software applications, robotics, and IoT devices, to perform tasks such as data analysis, decision-making, and interaction with humans.",
"status": 200
}
Trigger another agent to perform additional processing or data handling within workflows.
curl --request POST \
--url https://api-lr.agent.ai/v1/action/invoke_agent \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "deepseek-r1",
"input": "value"
}'
{
"response": "<think>\n\n</think>\n\nAI agents are autonomous entities that use artificial intelligence to perceive their environment, make decisions, and take actions to achieve specific goals. They operate with varying levels of autonomy, ranging from simple rule-based systems to complex, adaptive, and learning-based models. AI agents can be deployed across diverse applications, including software applications, robotics, and IoT devices, to perform tasks such as data analysis, decision-making, and interaction with humans.",
"status": 200
}
Bearer token from your account (https://agent.ai/user/settings#credits)
API response
The response is of type object
.