Google Vertex AI Endpoints API

Manage prediction endpoints

GitHub OpenAPI
Business capability
Artificial Intelligence Management BC-610.60

Operations 13

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/endpoints/{endpointsId}:predict Make a synchronous prediction on an endpoint · Predict endpoints #
Ask an LLM
“How do I send text to a deployed endpoint and get a prediction back right away?”
“Can I pass parameters and labels along with the instances when predicting?”
Tell an agent
Send {instances} to endpoint {endpointsId} for a synchronous prediction.
Predict on endpoint {endpointsId} with instances {instances} and parameters {parameters}.
POST /v1/endpoints/{endpointsId}:countTokens Count tokens in text on an endpoint · Count tokens endpoints #
Ask an LLM
“How many tokens would a given piece of text take up on my endpoint?”
“Can I count tokens for a prompt before sending it to the model?”
Tell an agent
Count the tokens of {contents} on endpoint {endpointsId}.
Token count {instances} against endpoint {endpointsId}.
POST /v1/endpoints/{endpointsId}:streamGenerateContent Stream content generation from an endpoint · Stream generate content endpoints #
Ask an LLM
“Can I stream a model's response back piece by piece from an endpoint?”
“Is there a streaming chat endpoint that supports tools and safety settings?”
Tell an agent
Stream a generation from endpoint {endpointsId} with {contents}.
Stream chat from endpoint {endpointsId} with {contents} and tools {tools}.
POST /v1/endpoints/{endpointsId}:fetchPredictOperation Fetch an asynchronous prediction operation · Fetch predict operation endpoints #
Ask an LLM
“How do I poll the result of a long-running prediction I started earlier?”
“Can I fetch an async prediction operation by its operation name?”
Tell an agent
Fetch the async prediction operation {operationName} on endpoint {endpointsId}.
Poll prediction operation {operationName} for endpoint {endpointsId}.
POST /v1/endpoints/{endpointsId}:computeTokens Compute tokens for text on an endpoint · Compute tokens endpoints #
Ask an LLM
“Can I get a list of the tokens a model would split a text into?”
“What does the tokenization of a prompt look like on my endpoint?”
Tell an agent
Compute tokens for {instances} on endpoint {endpointsId}.
Tokenize {contents} on endpoint {endpointsId} using model {model}.
POST /v1/endpoints/{endpointsId}:generateContent Generate content from an endpoint · Generate content endpoints #
Ask an LLM
“How do I get an endpoint to generate a long-form answer from a prompt?”
“Can I generate content with multimodal inputs and tools?”
Tell an agent
Generate content on endpoint {endpointsId} with {contents}.
Generate a response from endpoint {endpointsId} with {contents} and safety settings {safetySettings}.
POST /v1/endpoints/{endpointsId}:predictLongRunning Start a long-running prediction · Predict long running endpoints #
Ask an LLM
“Can I send a large batch of predictions to an endpoint and get the results later?”
“How do I start an asynchronous prediction job on an endpoint?”
Tell an agent
Start a long-running prediction on endpoint {endpointsId} with {instances}.
Queue a batch prediction on endpoint {endpointsId} for {instances} with labels {labels}.
GET /v1/endpoints/{endpointsId}/operations List operations on an endpoint · List operations #
Ask an LLM
“Which long-running operations are in progress on my endpoint?”
“Can I filter the operations on an endpoint?”
Tell an agent
List operations on endpoint {endpointsId}.
List operations on endpoint {endpointsId} matching {filter}.
DELETE /v1/endpoints/{endpointsId}/operations/{operationsId} Delete an operation on an endpoint · Delete operations #
Ask an LLM
“Can I delete an operation on an endpoint so it stops being tracked?”
“What happens to an operation on an endpoint when I delete it?”
Tell an agent destructive · confirm first
Delete operation {operationsId} on endpoint {endpointsId}.
Remove endpoint {endpointsId} operation {operationsId} from tracking.
GET /v1/endpoints/{endpointsId}/operations/{operationsId} Get an operation on an endpoint · Get operations #
Ask an LLM
“What is the current state of a long-running operation on my endpoint?”
“Has my endpoint operation finished yet?”
Tell an agent
Get operation {operationsId} on endpoint {endpointsId}.
Check the status of endpoint {endpointsId} operation {operationsId}.
POST /v1/endpoints/{endpointsId}/operations/{operationsId}:cancel Cancel an operation on an endpoint · Cancel operations #
Ask an LLM
“Can I cancel a long-running operation on my endpoint?”
“Is cancelling an endpoint operation guaranteed to stop it?”
Tell an agent destructive · confirm first
Cancel operation {operationsId} on endpoint {endpointsId}.
Stop the running operation {operationsId} on endpoint {endpointsId}.
POST /v1/endpoints/{endpointsId}/operations/{operationsId}:wait Wait for an operation on an endpoint to finish · Wait operations #
Ask an LLM
“How do I wait for an endpoint operation to complete before continuing?”
“Can I set a timeout when waiting for an endpoint operation?”
Tell an agent
Wait for operation {operationsId} on endpoint {endpointsId} to finish.
Wait up to {timeout} for endpoint {endpointsId} operation {operationsId}.
POST /v1/endpoints/{endpointsId}/chat/completions Send chat completions to an endpoint · Completions chat #
Ask an LLM
“Can I call an OpenAI-compatible chat endpoint on my Vertex AI endpoint?”
“How do I send chat messages to an endpoint that speaks the OpenAI chat API?”
Tell an agent
Send chat completions {data} to endpoint {endpointsId}.
Call the OpenAI-style chat endpoint {endpointsId} with {data}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-vertex-ai:google-vertex-ai-endpoints-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-vertex-ai-endpoints-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agent Platform Endpoints API
  version: v1
  description: Generated from Google's published Discovery document for Agent Platform API (aiplatform v1, revision 20261106). 13 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://aiplatform.googleapis.com
tags:


# --- truncated at 32 KB (161 KB total) ---
# Full source: https://artifacts.apis.io/google-vertex-ai/openapi/google-vertex-ai-endpoints-api-openapi.yml