EndpointService

List organization endpoints

Changed on

Lists endpoints shared with every project in the specified organization. Project-private and public endpoints are not included.

get/v2/organizations/{organizationId}/endpoints

Request

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

Path parameters

organizationIdstring required

Organization identifier.

Query parameters

limitinteger

Maximum number of results to return.

afterstring

Cursor from a previous list 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 must be a bare 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