pub fn prompt_logs(
conn: &Connection,
q: &PromptLogQuery,
) -> Result<Vec<PromptLogRow>>Expand description
Execute a prompt-logs query (DW-081): return the raw
ai_prompt_logs rows in a time window, newest first. Reads the
RAW rows directly — prompt logs are per-request, not rolled up.
Optionally filtered by consumer.