---
title: "Get library element connections."
method: GET
path: "/library-elements/{library_element_uid}/connections/"
tags: ["library_elements"]
---

# Get library element connections.

`GET /library-elements/{library_element_uid}/connections/`

## Request

- Base URL: `/api` (relative, and the document’s source URL is not known)
- URL: `/api/library-elements/{library_element_uid}/connections/`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Returns a list of connections for a library element based on the UID specified.

## Path parameters

- `library_element_uid` string, required

## Response `200`

(empty)

- LibraryElementConnectionsResponse
  - `result` LibraryElementConnectionDTO[]
    - `connectionId` integer
    - `connectionUid` string
    - `created` string, date-time
    - `createdBy` LibraryElementDTOMetaUser
      - `avatarUrl` string
      - `id` integer
      - `name` string
    - `elementId` integer
    - `id` integer: Deprecated: this field will be removed in the future
    - `kind` integer

## Other responses

- `401`: UnauthorizedError is returned when the request is not authenticated.
- `403`: ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
- `404`: NotFoundError is returned when the requested resource was not found.
- `500`: InternalServerError is a general error indicating something went wrong internally.

---

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