---
title: "Get library service details"
method: GET
path: "/library/services/{slug}"
tags: ["Library"]
---

# Get library service details

`GET /library/services/{slug}`

## Request

- Base URL: `http://localhost:3001/api/v1`
- URL: `http://localhost:3001/api/v1/library/services/{slug}`
- Auth: HTTP bearer

Returns full details and cookies for a service from the library.

## Path parameters

- `slug` string, required

## Response `200`

Service details with cookies

- object
  - `slug` string, required
  - `label` string, required
  - `description` string, required
  - `category` string, required
  - `logo` string, nullable, required
  - `serviceUrl` string, nullable, required
  - `cookies` object[], required
    - `name` string, required
    - `duration` string, required
    - `description` string, required

## Other responses

- `401`: Unauthorized
- `404`: Service not found in library

---

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