What problem does it solve?
Provides a direct, authenticated way to query the PrdAgent API and retrieve real runtime data so engineers can diagnose issues, verify system state, and inspect LLM request logs without guessing.
Core Features & Use Cases
- Authenticated API queries: Use AI access key and optional impersonation header to call internal endpoints safely.
- LLM log inspection: Retrieve recent LLM request logs to inspect requestPurpose, status, errors, and requestBody for troubleshooting.
- Endpoint coverage: Supports user management, projects, model management, visual agent operations, and system initialization checks.
- Use Case: A support engineer reproduces a user-reported failure by fetching the related LLM log entry and associated project and user records for root-cause analysis.
Quick Start
Use curl with the AI access key and X-AI-Impersonate header to GET the LLM logs at http://localhost:8000/api/logs/llm?limit=10 and inspect the returned JSON for requestPurpose, status, and error details.