Overview
Prompt Details
Metadata and context display for submitted prompts
metadatapromptdetails
Docs
Prompt Details surfaces metadata and contextual information about a submitted prompt — what was sent, when, to which model, and at what cost. This transparency helps users understand the full context of their interactions, debug unexpected results, and maintain an audit trail. It's especially valuable in professional settings where prompt provenance matters for compliance, collaboration, or iterative refinement.
Variants
- Card view — A structured card showing the prompt text alongside metadata badges for model, timestamp, token count, and other details.
- Inline metadata — Compact metadata displayed directly beneath or beside the prompt, minimizing visual footprint while maintaining transparency.
- Expandable details — A collapsed summary that reveals full metadata on click, keeping the default view clean while offering depth on demand.
Use Cases
- Debugging AI responses by reviewing the exact prompt sent
- Auditing prompt history for compliance or quality assurance
- Collaborative environments where team members review each other's prompts
- Cost tracking by surfacing token counts and model information per prompt
- Iterative refinement where users compare prompts across attempts
Best Practices
- Show the exact prompt text as sent, including any system-level modifications.
- Include timestamp, model, and token count as standard metadata fields.
- Support copying the prompt for reuse or sharing with team members.
- Link prompt details to the corresponding response for easy cross-reference.
- Allow filtering and searching through prompt history by metadata fields.