Endpoint
An AI Search endpoint — compute infrastructure that hosts AI Search indexes and serves queries against them. Customers create, query, and delete endpoints; the system manages provisioning, scaling, and health status.
Endpoint object
An AI Search endpoint — compute infrastructure that hosts AI Search indexes and serves queries against them. Customers create, query, and delete endpoints; the system manages provisioning, scaling, and health status.
- namestringPublic Preview
Name of the AI Search endpoint. Server-assigned full resource path (
workspaces/{workspace}/endpoints/{endpoint}) on output. On create, the user-supplied short name is conveyed viaCreateEndpointRequest.endpoint_id; the server composes the fullnameand returns it on the response.
- creatorstringPublic PreviewOutput only
Creator of the endpoint
- create_timestringPublic PreviewOutput only
Time the endpoint was created.
- update_timestringPublic PreviewOutput only
Time the endpoint was last updated.
- endpoint_typestringPublic PreviewImmutable
Type of endpoint. Required on create and immutable thereafter.
STORAGE_OPTIMIZEDSTANDARD
- last_updated_userstringPublic PreviewOutput only
User who last updated the endpoint
- idstringPublic PreviewOutput only
Unique identifier of the endpoint
- endpoint_statusobjectPublic PreviewOutput only
Current status of the endpoint
Show child attributesHide child attributes
- statestringPublic PreviewOutput only
Current lifecycle state of the endpoint. See
Statefor the meaning of each value.PROVISIONINGONLINEOFFLINERED_STATEYELLOW_STATEDELETED
- messagestringPublic PreviewOutput only
Human-readable detail about the endpoint's current state or the reason for a state transition.
- index_countint32Public PreviewOutput only
Number of indexes on the endpoint
- budget_policy_idstringPublic Preview
The user-selected budget policy id for the endpoint.
- effective_budget_policy_idstringPublic PreviewOutput only
The budget policy id applied to the endpoint
- custom_tagsarray of objectPublic Preview
The custom tags assigned to the endpoint
Show child attributesHide child attributes
- keystringPublic Preview
Key field for an AI Search endpoint tag.
- valuestringPublic Preview
[Optional] Value field for an AI Search endpoint tag.
- throughput_infoobjectPublic PreviewOutput only
Throughput information for the endpoint
Show child attributesHide child attributes
- requested_concurrencydoublePublic Preview
The requested concurrency (total CPU) for the endpoint
- current_concurrencydoublePublic PreviewOutput only
The current concurrency (total CPU) allocated to the endpoint
- current_concurrency_utilization_percentagedoublePublic PreviewOutput only
The current utilization of concurrency as a percentage (0-100)
- minimal_concurrency_alloweddoublePublic Preview
The minimum concurrency allowed for this endpoint
- maximum_concurrency_alloweddoublePublic Preview
The maximum concurrency allowed for this endpoint
- change_request_statestringPublic PreviewOutput only
The state of the most recent throughput change request
CHANGE_SUCCESSCHANGE_FAILEDCHANGE_REACHED_MINIMUMCHANGE_REACHED_MAXIMUMCHANGE_IN_PROGRESSCHANGE_ADJUSTED
- change_request_messagestringPublic PreviewOutput only
Additional information about the throughput change request
- requested_num_replicasint32Public Preview
The requested number of replicas for the endpoint
- current_num_replicasint32Public PreviewOutput only
The current number of replicas allocated to the endpoint
- scaling_infoobjectPublic PreviewOutput only
Scaling information for the endpoint
Show child attributesHide child attributes
- statestringPublic PreviewOutput only
The current state of the scaling change request.
SCALING_CHANGE_UNSPECIFIEDSCALING_CHANGE_APPLIEDSCALING_CHANGE_IN_PROGRESS
- requested_target_qpsint64Public Preview
The requested QPS target for the endpoint. Best-effort; the system does not guarantee this QPS will be achieved.
- usage_policy_idstringPublic Preview
The usage policy id applied to the endpoint.
- replica_countint32Public Preview
The client-supplied desired number of replicas for the endpoint, applied at create/update time. Mutually exclusive with
target_qps.
- target_qpsint32Public Preview
Target QPS for the endpoint. Mutually exclusive with
replica_count. Best-effort; the system does not guarantee this QPS will be achieved.
Get an AI Search endpoint Public Preview
GET
Get details for a single AI Search endpoint.
API scopes: ai-search
Parameters
- namestringRequiredpath
Full resource name of the endpoint. Format:
workspaces/{workspace_id}/endpoints/{endpoint_id}
Response
Returns the Endpoint object.
List AI Search endpoints Public Preview
GET
List AI Search endpoints in a workspace.
API scopes: ai-search
Parameters
- parentstringRequiredpath
The Workspace that owns this collection of endpoints. Format:
workspaces/{workspace_id}
- page_sizeint32query
Best-effort upper bound on the number of results to return. Honored as an upper bound by the shim:
page_sizeonly narrows the legacy backend's response, never widens it, so the practical cap ismin(page_size, legacy_fixed_page_size).
- page_tokenstringquery
Page token from a previous response. If not provided, returns the first page.
Response
Returns a list of Endpoint objects.
Create an AI Search endpoint Public Preview
POST
Create a new AI Search endpoint.
API scopes: ai-search
Parameters
- parentstringRequiredpath
The Workspace where this Endpoint will be created. Format:
workspaces/{workspace_id}
- endpoint_idstringquery
The user-supplied short name for the Endpoint, per AIP-133. The server composes the full
Endpoint.nameas{parent}/endpoints/{endpoint_id}. AIP-133 does not listendpoint_idas a fields-may-be-required entry, so we annotate it OPTIONAL on the wire; the server still rejects empty values with INVALID_PARAMETER_VALUE.
Request body
The Endpoint resource to create. Fields other than endpoint.name carry the desired
configuration; endpoint.name is server-assigned from parent and endpoint_id.
- namestring
Name of the AI Search endpoint. Server-assigned full resource path (
workspaces/{workspace}/endpoints/{endpoint}) on output. On create, the user-supplied short name is conveyed viaCreateEndpointRequest.endpoint_id; the server composes the fullnameand returns it on the response.
- endpoint_typestringRequiredImmutable
Type of endpoint. Required on create and immutable thereafter.
STORAGE_OPTIMIZEDSTANDARD
- budget_policy_idstring
The user-selected budget policy id for the endpoint.
- custom_tagsarray of object
The custom tags assigned to the endpoint
Show child attributesHide child attributes
- keystringRequired
Key field for an AI Search endpoint tag.
- valuestring
[Optional] Value field for an AI Search endpoint tag.
- usage_policy_idstring
The usage policy id applied to the endpoint.
- replica_countint32
The client-supplied desired number of replicas for the endpoint, applied at create/update time. Mutually exclusive with
target_qps.
- target_qpsint32
Target QPS for the endpoint. Mutually exclusive with
replica_count. Best-effort; the system does not guarantee this QPS will be achieved.
Response
Returns the Endpoint object.
Update an AI Search endpoint Public Preview
PATCH
Update an existing AI Search endpoint. Multi-bucket masks are supported and dispatched in deterministic bucket order: budget policy, custom tags, throughput, then scaling/replicas. Per-bucket dispatch is not atomic across buckets — if a later bucket fails, earlier buckets may already have been applied.
API scopes: ai-search
Parameters
- namestringRequiredpath
Name of the AI Search endpoint. Server-assigned full resource path (
workspaces/{workspace}/endpoints/{endpoint}) on output. On create, the user-supplied short name is conveyed viaCreateEndpointRequest.endpoint_id; the server composes the fullnameand returns it on the response.
- update_maskstringRequiredquery
The list of fields to update.
Request body
The Endpoint resource to update. endpoint.name carries the full resource path.
- endpoint_typestringRequiredImmutable
Type of endpoint. Required on create and immutable thereafter.
STORAGE_OPTIMIZEDSTANDARD
- budget_policy_idstring
The user-selected budget policy id for the endpoint.
- custom_tagsarray of object
The custom tags assigned to the endpoint
Show child attributesHide child attributes
- keystringRequired
Key field for an AI Search endpoint tag.
- valuestring
[Optional] Value field for an AI Search endpoint tag.
- usage_policy_idstring
The usage policy id applied to the endpoint.
- replica_countint32
The client-supplied desired number of replicas for the endpoint, applied at create/update time. Mutually exclusive with
target_qps.
- target_qpsint32
Target QPS for the endpoint. Mutually exclusive with
replica_count. Best-effort; the system does not guarantee this QPS will be achieved.
Response
Returns the Endpoint object.