🔌API Deployment

🔌 Publish an agent as a REST endpoint that any system can call programmatically.

Request

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": "Customer inquiry #4821" }'
  • Authentication uses the X-API-Key header.
  • Inputs and outputs use JSON.
  • Every request runs the live version and is recorded with a runId.

🔐 Store the key as a secret. Never place it directly in source code or instructions.