title: Check Credential Health keywords: - check credential health - get - check - credential - health # Check Credential Health Check the health status of a credential. #### Path Parameters **`credential_id`** string required The credential id parameter. ## Returns **`credential_id`** string Credential ID **`tool_key`** string Tool key **`status`** string Health status: healthy, unhealthy, or unknown **`is_active`** boolean Whether credential is active in DB **`connection_status`** string or null Connection status **`reason`** string or null Reason for unhealthy status **`last_checked_at`** string Timestamp of health check Example ```bash cURL curl -X GET "https://api.aitronos.com/v1/personal-connectors/{credential_id}/health" \ -H "X-API-Key: $FREDDY_API_KEY" ``` ```python Python import os import requests api_key = os.environ["FREDDY_API_KEY"] response = requests.get( "https://api.aitronos.com/v1/personal-connectors/{credential_id}/health", headers={"X-API-Key": api_key} ) print(response.json()) ``` ```javascript JavaScript const apiKey = process.env.FREDDY_API_KEY; const response = await fetch('https://api.aitronos.com/v1/personal-connectors/{credential_id}/health', { method: 'GET', headers: { 'X-API-Key': apiKey } }); const data = await response.json(); console.log(data); ``` **Response:** ```json 200 OK { "credential_id": "cred_abc123def456", "tool_key": "slack", "status": "active", "is_active": true, "connection_status": "example_connection_status", "reason": "example_reason", "last_checked_at": "2025-11-15T10:30:00Z" } ``` Errors ```json 401 Unauthorized { "success": false, "error": { "code": "AUTHENTICATION_REQUIRED", "message": "Authentication required. Please provide a valid API key.", "system_message": "Missing or invalid authorization header", "type": "authentication_error", "status": 401, "trace_id": "req_abc123xyz", "timestamp": "2025-11-11T10:30:00Z", "details": {} } } ``` ```json 403 Forbidden { "success": false, "error": { "code": "INSUFFICIENT_PERMISSIONS", "message": "You do not have permission to access this resource.", "system_message": "Insufficient permissions for this operation", "type": "authorization_error", "status": 403, "trace_id": "req_def456uvw", "timestamp": "2025-11-11T10:30:00Z", "details": {} } } ``` ## Related Resources - [List Connectors](/docs/api-reference/connectors/introduction)