Required. The parent (project, location and processor) to list all versions. Format: projects/{project}/locations/{location}/processors/{processor} It takes the form projects/{project}/locations/{location}/processors/{processor}.
Authorization requires the following IAM permission on the specified resource parent:
documentai.processorVersions.list
Query parameters
Parameters
pageSize
integer
The maximum number of processor versions to return. If unspecified, at most 10 processor versions will be returned. The maximum value is 20. Values above 20 will be coerced to 20.
pageToken
string
We will return the processor versions sorted by creation time. The page token will point to the next processor version.
[[["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 endpoint (\u003ccode\u003eprojects.locations.processors.processorVersions.list\u003c/code\u003e) retrieves a list of all versions of a specified processor.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the \u003ccode\u003eparent\u003c/code\u003e path parameter, which specifies the project, location, and processor, formatted as \u003ccode\u003eprojects/{project}/locations/{location}/processors/{processor}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the \u003ccode\u003epageSize\u003c/code\u003e query parameter to limit the number of processor versions returned, with a maximum of 20, and if not set, it will return at most 10 versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epageToken\u003c/code\u003e query parameter allows you to navigate through the list of processor versions, which are sorted by creation time.\u003c/p\u003e\n"],["\u003cp\u003eThe response will list the \u003ccode\u003eprocessorVersions\u003c/code\u003e along with the \u003ccode\u003enextPageToken\u003c/code\u003e if it exists, and requesting this requires the IAM permission \u003ccode\u003edocumentai.processorVersions.list\u003c/code\u003e and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: processorVersions.list\n\n**Full name**: projects.locations.processors.processorVersions.list\n\nLists all versions of a processor.\n\n### HTTP request\n\n`GET https://{endpoint}/v1/{parent}/processorVersions`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/document-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for the [processorVersions.list](/document-ai/docs/reference/rest/v1/projects.locations.processors.processorVersions/list#google.cloud.documentai.v1.DocumentProcessorService.ListProcessorVersions) method.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `documentai.processorVersions.list`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]