Endpoint Service

List endpoints

GET
/projects/{projectId}/endpoints

Lists the dedicated inference endpoints owned by the specified project.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

Project identifier.

Query Parameters

limit?integer

Maximum number of endpoints to return.

Default50
after?string

Cursor from a previous response.

orderBy?string

Sort field for the results. Supports created_at or updated_at, optionally followed by asc or desc.

filter?string

Filter expression using name, created_at, or updated_at with comparison operators and AND/OR/NOT; timestamps must be RFC 3339 strings. name supports substring matching with : and prefix/suffix wildcards with *, and accepts a bare endpoint name or <project_slug>/<endpoint_name>.

Response Body

application/json

application/json

curl -X GET "https://example.com/projects/string/endpoints"
{  "data": [    {      "id": "string",      "projectId": "string",      "name": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "etag": "string",      "trafficSplit": [        {          "deploymentId": "string",          "weight": 0        }      ],      "visibility": "VISIBILITY_PRIVATE",      "endpointType": "ENDPOINT_TYPE_DEDICATED",      "deployments": [        {          "id": "string",          "modelId": "string",          "hardware": "string",          "trafficMode": "TRAFFIC_MODE_LIVE",          "state": "DEPLOYMENT_STATE_PROVISIONING",          "name": "string",          "createdAt": "2019-08-24T14:15:22Z",          "autoscaling": {            "minReplicas": 0,            "maxReplicas": 0,            "scaleDownWindow": "string",            "scaleUpWindow": "string",            "scaleToZeroWindow": "string",            "scalingMetrics": [              {                "name": "active_sessions",                "type": "METRIC_TARGET_TYPE_VALUE",                "target": 0,                "percentile": "string"              }            ],            "scaleUp": {              "policies": [                {                  "type": "SCALING_POLICY_TYPE_PODS",                  "value": 1,                  "periodSeconds": 1                }              ],              "selectPolicy": "SCALING_POLICY_SELECT_MAX"            },            "scaleDown": {              "policies": [                {                  "type": "SCALING_POLICY_TYPE_PODS",                  "value": 1,                  "periodSeconds": 1                }              ],              "selectPolicy": "SCALING_POLICY_SELECT_MAX"            }          },          "desiredReplicas": 0,          "readyReplicas": 0,          "model": "string",          "estimatedEffectiveTrafficShare": 0.1        }      ],      "activeRolloutId": "string"    }  ],  "next_cursor": "string",  "object": "list"}