Endpoints

List all endpoints

GET
/endpoints

Returns a list of all endpoints associated with your account. You can filter the results by type (dedicated or serverless).

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

type?string

Filter endpoints by type

Value in

  • "dedicated"
  • "serverless"
usage_type?string

Filter endpoints by usage type

Value in

  • "on-demand"
  • "reserved"
mine?boolean

If true, return only endpoints owned by the caller

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/endpoints"
{  "object": "list",  "data": [    {      "object": "endpoint",      "id": "string",      "name": "string",      "model": "string",      "type": "serverless",      "owner": "string",      "state": "PENDING",      "created_at": "2019-08-24T14:15:22Z"    }  ]}