Authentication
Requires JWT token or Platform API key via Authorization: Bearer <token> header.
Example Request
curl https://api.app.shinzo.ai/v1/agent/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ready \
-H "Authorization: Bearer <token>"
Example Response
Agent Ready
{
"ready": true,
"status": "active",
"pod_status": "running",
"last_heartbeat": "2026-02-24T14:30:00Z"
}
Agent Not Ready
{
"ready": false,
"status": "stopped",
"pod_status": "not_running",
"reason": "Agent pod is stopped"
}
Response Fields
Whether the agent is ready to receive and process messages
Current agent status: active, paused, stopped, or error
Kubernetes pod status: running, pending, not_running, or error
ISO 8601 timestamp of last health check from agent pod (only present if pod is running)
Human-readable reason why agent is not ready (only present if ready is false)
Use this endpoint before sending messages to ensure the agent is available. An agent is ready when its status is active and its pod is running.
Status Codes
| Code | Description |
|---|
200 | Readiness check completed |
401 | Unauthorized - invalid or missing authentication |
404 | Agent not found |