---
title: "GetLinks"
method: GET
path: "/links"
---

# GetLinks

`GET /links`

Gets a list of links with filters applied through the available query parameters.

## Query parameters

- `sort` '1' | '-1'
- `search` string
- `favorite` '0' | '1'
- `annotated` '0' | '1'
- `folder` string
- `tag` string
- `page` integer
- `size` integer

## Response `200`

OK

- LinkGetLinksResponse
  - `links` ModelLink[]
    - `annotation` string
    - `corpus` string
    - `createdAt` string
    - `description` string
    - `favicon` string
    - `folderId` string
    - `id` string
    - `image` string
    - `isAnnotated` boolean
    - `isFavorite` boolean
    - `site` string
    - `tagDetails` ModelTagDetail[]
      - `confidence` number
      - `name` string
      - `path` string
    - `tagPaths` string[]
    - `title` string
    - `updatedAt` string
    - `url` string
    - `userId` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/linksort/apis/linksort-api.md) · [All operations](https://skmtc.dev/linksort/apis/linksort-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/linksort/linksort-api/revisions/1e3d9540d2f9/schema)
