Private Endpoints

Get a private endpoint

Get one private endpoint with its upstream configuration and current pricing. Management key required.

get/private-endpoints/{id}

Path parameters

idstring uuid required

Stable identifier of the private endpoint.

Example:5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11

Stable identifier of the private endpoint.

Response

The private endpoint

Example response

{
  "data": {
    "base_url": "https://contoso.openai.azure.com",
    "declared_region": "us",
    "declared_zdr": true,
    "id": "5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11",
    "model_name": "OpenAI: GPT-4o",
    "model_permaslug": "openai/gpt-4o-2024-08-06",
    "model_slug": "openai/gpt-4o",
    "pricing": {
      "completion": "0.00001",
      "prompt": "0.0000025"
    },
    "provider_name": "Azure",
    "provider_slug": "azure",
    "status": "active",
    "upstream_model_id": "gpt-4o-prod"
  }
}

Changes

Changed in 1 of the 339 revisions of this API.1