---
title: "Get Destinations"
method: GET
path: "/admin/photos/destinations"
tags: ["admin-photos"]
---

# Get Destinations

`GET /admin/photos/destinations`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/admin/photos/destinations`
- Auth: none declared

Get destinations ranked by popularity or recency.

Returns destinations from Conversation.extracted_destination,
ranked by how often each destination appears. Rankings are cached for 24 hours.
sort_by: "count" (default, most requested) or "recent" (most recently discussed).

## Query parameters

- `skip_saved` boolean
- `search` string, nullable
- `sort_by` string

## Response `200`

Successful Response

- DestinationsResponse: Response for destinations endpoint.
  - `destinations` ApiRoutesAdminPhotosDestinationItem[], required
    - `destination` string, required
    - `count` integer, required
    - `has_photo` boolean, required
    - `has_portrait` boolean
    - `latest_at` string, nullable
  - `total` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stardrift/apis/stardrift-api.md) - [All operations](https://skmtc.dev/stardrift/apis/stardrift-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stardrift/apis/stardrift-api/revisions/be9ed1e6c38a?raw)
