Vertex AI is transitioning to become part of Gemini Enterprise Agent Platform. See the most up-to-date information in the Agent Platform documentation.
Method: projects.locations.collections.dataObjects.create
Stay organized with collections
Save and categorize content based on your preferences.
Creates a dataObject.
HTTP request
POST https://vectorsearch.googleapis.com/v1beta/{parent}/dataObjects
Path parameters
Parameters
parent
string
Required. The resource name of the Collection to create the DataObject in. Format: projects/{project}/locations/{location}/collections/{collection}
Query parameters
Parameters
dataObjectId
string
Required. The id of the dataObject to create. The id must be 1-63 characters long, and comply with RFC1035. Specifically, it must be 1-63 characters long and match the regular expression [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?.
Request body
The request body contains an instance of DataObject.
Response body
If successful, the response body contains a newly created instance of DataObject.
[[["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 2026-01-29 UTC."],[],[]]