# Observability Endpoints for monitoring agent performance and logs ## Get agent metrics - [GET /core/v1/metrics](https://api.docs.wabee.ai/openapi/observability/get_metrics_core_v1_metrics_get.md): Returns quantitative information about agent runs for monitoring. The following metrics are provided: - status_value_counts (histogram) - total_requests - total_errors - total_tokens - mean_tokens - mean_latency - max_latency - min_latency - total_prompt_tokens - mean_prompt_tokens - total_completion_tokens - mean_completion_tokens ## Get agent logs - [GET /core/v1/logs](https://api.docs.wabee.ai/openapi/observability/get_logs_core_v1_logs_get.md): Returns run execution logs in stringify format. The logs contain the following fields: - name: run name - id: run unique identifier - model: model name - error: run error if exists, else null - status: run status - latency: run latency - end_time: terminated run timestamp - completion_tokens: number of tokens returned by the model when the run is finished - total_tokens: total number of tokens associated with the run The results are paginated. Use offset and limit parameters to navigate through pages. ## Health check endpoint - [GET /health](https://api.docs.wabee.ai/openapi/observability/health_health_get.md): Returns the health status of the API