EndpointService

Lists the dedicated inference endpoints owned by the specified project.

get/v2/projects/{projectId}/endpoints

Request

  • Base URL
    https://api.together.ai
  • URL
    https://api.together.ai/v2/projects/{projectId}/endpoints
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Project identifier.

Query parameters

limitinteger

Maximum number of endpoints to return.

afterstring

Cursor from a previous response.

orderBystring

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

filterstring

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

OK

next_cursorstring

Cursor for the next page. Null if there are no more results.

object'list' required

Object type. Always list.

Example response

{
  "data": [
    {
      "deployments": [
        {
          "autoscaling": {
            "scaleUp": {
              "policies": [
                {
                  "type": "SCALING_POLICY_TYPE_PERCENT",
                  "value": 25,
                  "periodSeconds": 60
                },
                {
                  "type": "SCALING_POLICY_TYPE_PODS",
                  "value": 10,
                  "periodSeconds": 60
                }
              ],
              "selectPolicy": "SCALING_POLICY_SELECT_MIN"
            },
            "scaleDown": {
              "policies": [
                {
                  "type": "SCALING_POLICY_TYPE_PERCENT",
                  "value": 25,
                  "periodSeconds": 60
                },
                {
                  "type": "SCALING_POLICY_TYPE_PODS",
                  "value": 10,
                  "periodSeconds": 60
                }
              ],
              "selectPolicy": "SCALING_POLICY_SELECT_MIN"
            }
          }
        }
      ]
    }
  ]
}

Changes