Skip to main content
Use this endpoint to list all serverless endpoints associated with your account. You can filter results by status and limit the number of returned endpoints.

Query Parameters

  • limit (optional): Maximum number of endpoints to return (1-100, default: 10)
  • status (optional): Filter by endpoint status (active, inactive, pending)

Example Usage

curl -X GET "https://api.tensorone.ai/v2/endpoints?limit=20&status=active" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Response

Returns an object containing an array of endpoints and the total count:
{
    "endpoints": [
        {
            "id": "ep_1234567890abcdef",
            "name": "my-text-generation-model",
            "status": "active",
            "url": "https://api.tensorone.ai/v2/ep_1234567890abcdef/runsync",
            "templateId": "tpl_abcdefghijk",
            "gpuType": "NVIDIA A100",
            "createdAt": "2024-01-15T10:30:00Z",
            "updatedAt": "2024-01-15T10:30:00Z"
        }
    ],
    "total": 1
}