Message
Get message claims.
Changed onReturns the factual claims extracted from an agent's response. Each claim is a discrete statement that can be independently verified against the source documents. Use this for fact-checking or building trust indicators.
get/api/v1/projects/{projectId}/conversations/{sessionId}/messages/{promptId}/claims
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Example:1
The ID of the agent to get the messages for
sessionIdstring required
Example:1
The session ID of the conversation to get the messages for
promptIdinteger required
The unique identifier of the message to retrieve the Verify Responses data for. Obtain message IDs from the messages list endpoint.
Response
Retrieve explainability claims for a message
Example response
{
"status": "success",
"data": {
"extracted_claims": [
{
"id": "claim_1",
"text": "CustomGPT is a user-friendly, no-code AI platform.",
"status": "VERIFIED",
"sources": [
{
"source": "https://customgpt.ai/industry/...",
"source_sentence": "No technical expertise is needed."
}
],
"source_sentence": "CustomGPT.ai is a user-friendly, no-code platform designed for easy deployment.",
"source_explanation": "The source sentence confirms..."
}
],
"evaluation_duration_ms": 28466.99
}
}Changes
- info
endpoint added
- info