---
title: "List allocations"
method: GET
path: "/analytics/v1/allocations"
tags: ["Allocations"]
---

# List allocations

`GET /analytics/v1/allocations`

Returns a list of allocations that your account has access to.
Allocations are listed in reverse chronological order by default.

## Query parameters

- `maxResults` string
- `pageToken` string
- `filter` string
- `sortBy` 'id' | 'name' | 'owner' | 'description' | 'type' | 'createTime' | 'updateTime'
- `sortOrder` 'asc' | 'desc'

## Response `200`

OK - The request succeeded.

- object
  - `pageToken` string — Page token, returned by a previous call, to request the next page of results.
  - `rowCount` integer — Total number of allocations in the result set.
  - `allocations` AllocationListItem[]
    - `id` string — Allocation ID.
    - `name` string — Allocation name.
    - `owner` string — Allocation owner.
    - `description` string — Allocation description.
    - `type` string — Type of allocation (preset or custom).
    - `allocationType` 'single' | 'group' — Composition type of allocation (single or group).
    - `createTime` integer — The time when the allocation was created (in UNIX timestamp).
    - `updateTime` integer — Last time the allocation was modified (in UNIX timestamp).
    - `urlUI` string — URL to view the allocation in the DoiT console.
    - `folderId` string — Identifier of the folder that contains the allocation. Set to "root" if the allocation is at the top level (not in a folder).

## Other responses

- `400` — Bad Request - The server cannot process the request, often due to a malformed request.
- `401` — Unauthorized - Invalid API key.
- `403` — Forbidden - The client is not authorized to perform the request.
- `404` — Not Found - The requested resource does not exist.

---

[API](https://skmtc.dev/doit/apis/doit-cloud-intelligence.md) · [All operations](https://skmtc.dev/doit/apis/doit-cloud-intelligence/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/doit/doit-cloud-intelligence/revisions/9416402fc119/schema)
