---
updatedAt: 2026-04-29T16:33:48.000Z
agentTools:
  projectIndex: https://docs.customgpt.ai/llms.txt
---

# Verify message accuracy.

Triggers a fact-checking verification process for a message's claims. The system compares each claim against the source documents and reports which claims are supported, partially supported, or unsupported.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "CustomGPT.ai",
    "description": "API Documentation for CustomGPT.ai.",
    "contact": {
      "name": "CustomGPT.ai",
      "url": "https://app.customgpt.ai",
      "email": "hello@customgpt.ai"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://app.customgpt.ai",
      "description": "API Version 1"
    }
  ],
  "paths": {
    "/api/v1/projects/{projectId}/conversations/{sessionId}/messages/{promptId}/verify": {
      "post": {
        "tags": [
          "Message"
        ],
        "summary": "Verify message accuracy.",
        "description": "Triggers a fact-checking verification process for a message's claims. The system compares each claim against the source documents and reports which claims are supported, partially supported, or unsupported.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "description": "The ID of the agent to get the messages for",
            "required": true,
            "schema": {
              "type": "integer",
              "example": 1
            }
          },
          {
            "name": "sessionId",
            "in": "path",
            "description": "The session ID of the conversation to get the messages for",
            "required": true,
            "schema": {
              "type": "string",
              "example": "1"
            }
          },
          {
            "name": "promptId",
            "in": "path",
            "description": "The unique identifier of the message to retrieve the Verify Responses data for. Obtain message IDs from the messages list endpoint.",
            "required": true,
            "schema": {
              "type": "integer",
              "example": "1"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/VerifyResponseSuccessResponse"
          },
          "400": {
            "$ref": "#/components/responses/BadArgumentErrorResponse"
          },
          "401": {
            "$ref": "#/components/responses/ApiTokenValidationErrorResponse"
          },
          "404": {
            "$ref": "#/components/responses/ConversationMessageNotFoundErrorResponse"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerErrorResponse"
          }
        },
        "security": [
          {
            "BearerToken": []
          }
        ]
      }
    }
  },
  "components": {
    "responses": {
      "ApiTokenValidationErrorResponse": {
        "description": "API Token is either missing or invalid",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "description": "The status of the response",
                  "enum": [
                    "error",
                    "success"
                  ],
                  "type": "string",
                  "example": "error"
                },
                "url": {
                  "description": "The URL of the request",
                  "type": "string",
                  "example": "https://app.customgpt.ai/api/v1/projects/1"
                },
                "data": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "description": "The error status code",
                      "enum": [
                        400,
                        401,
                        403,
                        404,
                        422,
                        500,
                        503
                      ],
                      "type": "integer",
                      "example": 401
                    },
                    "message": {
                      "type": "string",
                      "example": "API Token is either missing or invalid"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "BadArgumentErrorResponse": {
        "description": "Bad Argument",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "description": "The status of the response",
                  "enum": [
                    "error",
                    "success"
                  ],
                  "type": "string",
                  "example": "error"
                },
                "url": {
                  "description": "The URL of the request",
                  "type": "string",
                  "example": "https://app.customgpt.ai/api/v1/projects/1"
                },
                "data": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "description": "The error status code",
                      "enum": [
                        400,
                        401,
                        403,
                        404,
                        422,
                        500,
                        503
                      ],
                      "type": "integer",
                      "example": 400
                    },
                    "message": {
                      "description": "The error message",
                      "type": "string",
                      "example": "Agent id must be integer"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "ConversationMessageNotFoundErrorResponse": {
        "description": "Conversation message not found",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "description": "The status of the response",
                  "enum": [
                    "error",
                    "success"
                  ],
                  "type": "string",
                  "example": "error"
                },
                "url": {
                  "description": "The URL of the request",
                  "type": "string",
                  "example": "https://app.customgpt.ai/api/v1/projects/1"
                },
                "data": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "description": "The error status code",
                      "enum": [
                        400,
                        401,
                        403,
                        404,
                        422,
                        500,
                        503
                      ],
                      "type": "integer",
                      "example": 404
                    },
                    "message": {
                      "description": "The error message",
                      "enum": [
                        "Conversation message id is required",
                        "Conversation message with id {messageId} not found"
                      ],
                      "type": "string",
                      "example": "Conversation message with id 1 not found"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "InternalServerErrorResponse": {
        "description": "Internal Server Error",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "description": "The status of the response",
                  "enum": [
                    "error",
                    "success"
                  ],
                  "type": "string",
                  "example": "error"
                },
                "url": {
                  "description": "The URL of the request",
                  "type": "string",
                  "example": "https://app.customgpt.ai/api/v1/projects/1"
                },
                "data": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "description": "The error status code",
                      "enum": [
                        400,
                        401,
                        403,
                        404,
                        422,
                        500,
                        503
                      ],
                      "type": "integer",
                      "example": 500
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "VerifyResponseSuccessResponse": {
        "description": "Verification request sent successfully",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "description": "The status of the response",
                  "enum": [
                    "error",
                    "success"
                  ],
                  "type": "string",
                  "example": "success"
                },
                "data": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Verification request sent successfully."
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "BearerToken": {
        "type": "http",
        "description": "HTTP Bearer authentication using a CustomGPT API token.\n\nHow to obtain a token:\n1. Log in to your CustomGPT dashboard\n2. Go to Developers page in the sidebar\n3. Click Create new key and copy the token\n\nUsage: Include the token in every request:\n Authorization: Bearer YOUR_API_TOKEN\n\nTokens do not expire by default but can be configured to expire. Token also can be revoked from the dashboard. A missing or invalid token returns 401 Unauthorized.",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```