Skip to main content
GET
/
project
/
{project_id}
/
inference-endpoint
List all inference endpoints
curl --request GET \
  --url https://api.ubicloud.com/project/{project_id}/inference-endpoint \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "name": "<string>",
      "display_name": "<string>",
      "url": "<string>",
      "model_name": "<string>",
      "tags": {},
      "price": {
        "per_million_prompt_tokens": 123,
        "per_million_completion_tokens": 123
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

Pattern: ^pj[0-9a-hj-km-np-tv-z]{24}$
Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

Response

A list of Inference Endpoints

items
object[]
required