Required. The resource name of the ProcessorVersion to evaluate. projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion} It takes the form projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorversion}.
Authorization requires the following IAM permission on the specified resource processorVersion:
documentai.evaluations.create
Request body
The request body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-10 UTC."],[[["\u003cp\u003eThis API endpoint \u003ccode\u003eprojects.locations.processors.processorVersions.evaluateProcessorVersion\u003c/code\u003e allows for the evaluation of a specified ProcessorVersion against annotated documents.\u003c/p\u003e\n"],["\u003cp\u003eThe endpoint uses a \u003ccode\u003ePOST\u003c/code\u003e request to the specified URL with the \u003ccode\u003eprocessorVersion\u003c/code\u003e path parameter, which includes project, location, processor, and version identifiers.\u003c/p\u003e\n"],["\u003cp\u003eThe request body can optionally include \u003ccode\u003eevaluationDocuments\u003c/code\u003e, otherwise it defaults to the processor's dataset for evaluation.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful calls to this endpoint will return an \u003ccode\u003eOperation\u003c/code\u003e instance within the response body.\u003c/p\u003e\n"],["\u003cp\u003eUtilizing this endpoint requires the \u003ccode\u003edocumentai.evaluations.create\u003c/code\u003e IAM permission on the \u003ccode\u003eprocessorVersion\u003c/code\u003e resource, and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]