---
title: "Get all licenses for an agent"
method: GET
path: "/api/v1/projects/{projectId}/licenses"
tags: ["Agent Licenses"]
---

# Get all licenses for an agent

`GET /api/v1/projects/{projectId}/licenses`

Returns a list of licenses for a specific agent.

## Path parameters

- `projectId` integer, required

## Response `200`

List of available agent licenses

- object
  - `status` 'error' | 'success' — The status of the response
  - `data` ProjectLicense[]
    - `name` string — License Name
    - `key` string, uuid — License Key
    - `project_id` integer — Agent ID this license belongs to
    - `created_at` string, date-time — Date and time when the license was created
    - `updated_at` string, date-time — Date and time when the license was last updated

## Other responses

- `401` — API Token is either missing or invalid
- `500` — Internal Server Error

---

[API](https://skmtc.net/poll-the-people/apis/customgpt-ai.md) · [All operations](https://skmtc.net/poll-the-people/apis/customgpt-ai/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/poll-the-people/customgpt-ai/revisions/b80e6dfcf78d/schema)
