---
title: "GET /packages/{packageId}/ai-plugin"
method: GET
path: "/packages/{packageId}/ai-plugin"
---

# GET /packages/{packageId}/ai-plugin

`GET /packages/{packageId}/ai-plugin`

Returns an OpenAI plugin manifest

## Path parameters

- `packageId` string, required

## Response `200`

An OpenAPI spec

- AiPlugin
  - `schema_version` string, required
  - `name_for_human` string, required
  - `name_for_model` string, required
  - `description_for_human` string, required
  - `description_for_model` string, required
  - `auth` object, required
    - `type` string
  - `api` object, required
    - `type` string
    - `url` string
    - `is_user_authenticated` boolean
  - `logo_url` string, required
  - `contact_email` string, required
  - `legal_info_url` string, required

## Changes

> 10 revisions in range; 1 could not be searched.

- **2023-04-20** `a5da7ffdd2e7` — 1 breaking, 10 info
  - the response's body type/format changed from `object`/`` to ``/`` for status `200`
  - the response property `api` became required for the status `200`
  - the response property `auth` became required for the status `200`
  - the response property `contact_email` became required for the status `200`
  - …7 more
- **2023-04-18** `532e0d58c5cc` — 1 info
  - endpoint added
- **2023-04-17** `6eef96437154` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/team-openpm/apis/openpm/changes/packages/:packageId/ai-plugin/get.md)

---

[API](https://skmtc.dev/team-openpm/apis/openpm.md) · [All operations](https://skmtc.dev/team-openpm/apis/openpm/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/team-openpm/openpm/revisions/586e2dd4f865/schema)
