Skip to navigation

Prompt Analyzer

View as Markdown
Analyze LLM Prompt and Response

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
promptstringRequired
outputstringOptional
modelstringOptional

Response

Successful Prompt Analyzer response
responseobjectOptional
providerstringOptional
modelstringOptional
verdictbooleanOptional
The overall verdict of the analysis
categoriesobjectOptional
The analysis detection categories
resultsobjectOptional
The analysis results
policyobjectOptional
The policy used during analysis
frameworksobjectOptional
The framework labels identified during analysis
elapsed_msdoubleOptional
The time in milliseconds it took to process the request
upstream_elapsed_msdoubleOptional
The time in milliseconds the upstream LLM took to process the request