> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tensorone.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Endpoints

> Retrieve all serverless endpoints accessible to your account

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

```bash
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:

```json
{
    "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
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.