---
title: "List AI tool versions"
method: GET
path: "/api/v2/projects/{projectKey}/ai-tools/{toolKey}/versions"
tags: ["AI Configs"]
---

# List AI tool versions

`GET /api/v2/projects/{projectKey}/ai-tools/{toolKey}/versions`

Get a list of all versions of an AI tool in the given project.

## Path parameters

- `projectKey` string, required
- `toolKey` string, required

## Query parameters

- `sort` string
- `limit` integer
- `offset` integer

## Response `200`

Successful response

- AITools
  - `_links` PaginatedLinks
    - `first` AiConfigsLink
      - `href` string
      - `type` string
    - `last` AiConfigsLink
      - `href` string
      - `type` string
    - `next` AiConfigsLink
      - `href` string
      - `type` string
    - `prev` AiConfigsLink
      - `href` string
      - `type` string
    - `self` AiConfigsLink, required
      - `href` string
      - `type` string
  - `items` AITool[], required
    - `key` string, required
    - `_access` AiConfigsAccess
      - `denied` AiConfigsAccessDenied[], required
        - `action` string, required
        - `reason` AiConfigsAccessDeniedReason, required
          - `resources` string[] — Resource specifier strings
          - `notResources` string[] — Targeted resources are the resources NOT in this list. The <code>resources</code> and <code>notActions</code> fields must be empty to use this field.
          - `actions` ActionSpecifier[] — Actions to perform on a resource
          - `notActions` ActionSpecifier[] — Targeted actions are the actions NOT in this list. The <code>actions</code> and <code>notResources</code> fields must be empty to use this field.
          - `effect` 'allow' | 'deny', required — Whether this statement should allow or deny actions on the resources.
          - `role_name` string
      - `allowed` AiConfigsAccessAllowedRep[], required
        - `action` string, required
        - `reason` AiConfigsAccessAllowedReason, required
          - `resources` string[] — Resource specifier strings
          - `notResources` string[] — Targeted resources are the resources NOT in this list. The <code>resources</code> and <code>notActions</code> fields must be empty to use this field.
          - `actions` ActionSpecifier[] — Actions to perform on a resource
          - `notActions` ActionSpecifier[] — Targeted actions are the actions NOT in this list. The <code>actions</code> and <code>notResources</code> fields must be empty to use this field.
          - `effect` 'allow' | 'deny', required — Whether this statement should allow or deny actions on the resources.
          - `role_name` string
    - `_links` ParentAndSelfLinks — The location and content type of related resources
      - `self` CoreLink, required
        - `href` string, required
        - `type` string, required
      - `parent` CoreLink, required
        - `href` string, required
        - `type` string, required
    - `_maintainer` union
      - object
        - `_id` string, required
        - `email` string, required
        - `firstName` string
        - `lastName` string
        - `role` string, required
        - `kind` string, required
      - object
        - `key` string, required
        - `name` string, required
        - `kind` string, required
    - `description` string
    - `schema` object, required — JSON Schema defining the tool's parameters for LLM consumption
    - `customParameters` object — Custom metadata and configuration for application-level use (not sent to LLM)
    - `version` integer, required
    - `createdAt` integer, required
  - `totalCount` integer, required

## Other responses

- `400` — Bad request
- `403` — Forbidden
- `500` — Internal server error

## Changes

- **2026-02-28** `69c5c9aafe78` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/launchdarkly/apis/launchdarkly-rest-api/changes/api/v2/projects/:projectKey/ai-tools/:toolKey/versions/get.md)

---

[API](https://skmtc.dev/launchdarkly/apis/launchdarkly-rest-api.md) · [All operations](https://skmtc.dev/launchdarkly/apis/launchdarkly-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/launchdarkly/launchdarkly-rest-api/revisions/69c5c9aafe78/schema)
