Querying an endpoint
Once the endpoint has finished updating:
Users can make queries to it. This tutorial will explore several ways to do this, using the client and CLI.
Using the client
Given an endpoint (which has a model deployed to it), we can make queries as follows:
We can also make queries via cURL requests. An example request is given in the string representation of the endpoint object:
Endpoint metadata
Endpoint query responses will contain metadata about the endpoint configuration in the response headers. For example:
These are the headers currently provided:
verta-build-id
: The build ID of the registered model being executed by the queried endpointverta-endpoint-id
: The UUID of the endpointverta-endpoint-owner-id
: The UUID of the owner of the endpointverta-endpoint-owner-name
: The name of the owner of the endpointverta-endpoint-path
: The URI path configured for the endpointverta-model-name
: The registered model being executed by the queried endpointverta-model-version
: The version of the registered model being executed by the queried endpointverta-request-id
: The UUID generated by Verta for each prediction request
Last updated