Skip to main content
POST
/
api
/
v3
/
agents
/
run-agents
/
{agent_name}
/
run
Run Agent
curl --request POST \
  --url https://api.nugen.in/api/v3/agents/run-agents/{agent_name}/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.nugen.in/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Session-ID
string | null

Path Parameters

agent_name
string
required

Name of the agent to execute

Body

application/json
message
string
required

User message or prompt to send to the agent

Response

Returns the generated response from the agent along with usage statistics and model information after executing the specified agent by name