API Reference
Log In
API Reference

Get prompt data for an AI completion

        Returns only the prompt-related data for an AI completion metric.
        This endpoint provides a focused view of just the prompt capture fields:
        - systemPrompt: System instructions sent to the model
        - inputMessages: User input messages (JSON array)
        - outputResponse: Assistant output content
        - promptsTruncated: Whether prompts were truncated due to size limits

        Use this endpoint when you only need prompt data without the full completion details.

        **Permission Required**: User must have the `canViewPromptData` permission enabled by a Tenant Administrator,
        or be a System Administrator or Tenant Administrator (who have implicit access).
    
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique identifier of the AI completion metric. Format: Revenium hashid (URL-safe encoded string).

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/hal+json