---
title: "Get delegations"
method: GET
path: "/api/v1/delegations"
tags: ["User"]
---

# Get delegations

`GET /api/v1/delegations`

Retrieve active delegations for a specific subaccount.
Shows delegated accounts and their associated permissions.

## Query parameters

- `subaccount` string, required

## Response `200`

Delegations retrieved successfully

- DelegationDto[]
  - `delegated_account` string, required — The address of the delegated account
  - `expiration_time_s` integer, nullable — The expiration time in seconds (optional, None means no expiration)
  - `permission_market` string, nullable — The market address when permission_type is "TradePerpsOnMarket", null otherwise
  - `permission_type` string, required — The permission type that was granted. Market-scoped grants have permission_type "TradePerpsOnMarket" with the market address in permission_market.

## Other responses

- `500` — Database error

---

[API](https://skmtc.net/decibel/apis/decibel-trading-api.md) · [All operations](https://skmtc.net/decibel/apis/decibel-trading-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/decibel/decibel-trading-api/versions/37a02083ff59/schema)
