Skip to main content
You can call an endpoint when you want to interact with an AI model hosted in this endpoint; for example, when you want to chat with the model. Each HTTP port is available through a managed https:// URL. gRPC also uses the managed HTTPS URL. For TCP ports, use the managed tls://<host>:443 URL with a TLS client. Endpoints support managed public URLs, shown in Public endpoints as https://.... For some previously created endpoints, Public endpoints can show IP:port instead.

Prerequisites

How to call an endpoint

  1. Get the endpoint’s managed HTTPS URL:
    1. In the sidebar, go to  Serverless AI → Endpoints.
    2. Open the page of the required endpoint.
    3. Wait until the endpoint is running. Then, in the Network section, copy the public endpoint from the Public endpoints field. Depending on how the endpoint is exposed, this field can show either a managed https://... URL or IP:port.
  2. Call the endpoint by using an HTTP client. For example, with curl:
    In the command, specify the following parameters:
    • <endpoint_URL>: Managed HTTPS URL that you copied earlier.
    • <token>: Authentication token that you specified when you created the endpoint. If you didn’t specify any token, don’t use the Authorization HTTP header.
    • model: AI model that is hosted in the endpoint and that you chat with.
    • content: Message that you want to send to the model.
    The response looks like the following:

Traffic and connection limits

Managed public URLs of https:// and tls:// endpoints are served through Nebius Tunnels, which means the limits for Tunnels apply to them. The limits for each endpoint are measured separately:
You cannot change the above limits from the web console.
All endpoints in a project share the project limit, and all endpoints and tunnels in a region share the region limit. An endpoint never gets more than its own limit, but it can get less when its project or region is busy. When usage reaches a limit, responses may take longer until usage drops below the limit. Take these limits into account when you plan endpoints that serve high request volumes or large responses, such as audio, video, or long streamed model outputs.