Health Check
REST API
Health Check
Check system health and initialization status
GET
Health Check
Endpoint
Description
Returns the current health status of the YouTube Automation Agent, including initialization state and available agents. This endpoint is useful for monitoring and ensuring all components are properly initialized.Request
No parameters required.Headers
No special headers required.Response
Current health status. Returns
"healthy" when the system is operational.Indicates whether the agent has completed initialization.
true means all agents and services are ready.List of initialized agent names.Available agents:
strategy- Content Strategy AgentscriptWriter- Script Writer AgentthumbnailDesigner- Thumbnail Designer AgentseoOptimizer- SEO Optimizer Agentproduction- Production Management Agentpublishing- Publishing & Scheduling Agentanalytics- Analytics & Optimization Agent
ISO 8601 formatted timestamp of when the health check was performed.
Example Request
Example Response
Response Codes
| Status Code | Description |
|---|---|
| 200 | Health check successful |
Use Cases
System Monitoring
Use this endpoint to verify the system is running and all agents are initialized:Startup Verification
Check initialization status before making other API calls:Docker Health Check
Use in Docker containers for health monitoring:If
initialized is false, credentials may be missing or invalid. Check the application logs and run npm run credentials:setup to configure credentials.