🏁Getting Started

🏁 Call your first agent through the API in minutes: prepare the key, send a request, and read the response.

1) Call the agent

curl -X POST https://www.wkil.ai/api/agents/{agent-id}/execute \
  -H "X-API-Key: $WKIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "input": "Hello" }'

2) Response

{
  "output": "Hello! How can I help?",
  "usage": { "tokens": 128, "model": "auto" },
  "runId": "run_01H..."
}
  • output: The agent's response.
  • usage: Token usage and the model used.
  • runId: The run identifier for review in Logs.

💡 Every call runs the live version and is logged, so you can monitor it in Logs.