---
title: "List all aliases"
method: GET
path: "/aliases"
tags: ["Aliases"]
---

# List all aliases

`GET /aliases`

## Request

- Base URL: `https://api.togai.com`
- URL: `https://api.togai.com/aliases`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/togaihq/apis/togai-apis/docs/aliases/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of aliases with pagination and sort.

## Query parameters

- `nextToken` string
- `pageSize` number

## Response `200`

Response for list aliases request

- AliasPaginatedResponse: Represents for list response of alias
  - `data` Alias[]
    - `value` string, required
    - `createdAt` string, date-time, required
  - `nextToken` string

## Other responses

- `default`: Error response

## Changes

- **2023-11-30** `b3351be4b462`: 1 info
  - endpoint added
- **2023-09-02** `6b13f6f47735`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/togaihq/apis/togai-apis/changes/aliases/get.md)

---

[API](https://skmtc.dev/togaihq/apis/togai-apis.md) - [All operations](https://skmtc.dev/togaihq/apis/togai-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/togaihq/apis/togai-apis/revisions/442f5d8f4aa0?raw)
