v1

latestOpenAPI 3.0.22026-07-174617345.8 KB
Agent Plugins

Create a plugin.

Create a new plugin for a specific agent (formerly known as project) identified by its unique projectId. This endpoint enables you to create a custom plugin for the project. Which allows you to share the custom agent as openai plugin to be shared globally.

post/api/v1/projects/{projectId}/plugins

Path parameters

projectIdinteger required

The id of an agent (formerly known as project) in which plugin will be stored.

Request body

model_namestring

Model Name

human_namestring

Name For Human

keywordsstring

Keywords For Model

descriptionstring

Description For Human

is_activeboolean

Whether the agent plugin is active or not

Example request

{
  "model_name": "IndoorPlants",
  "human_name": "The Indoor Plants Channel",
  "keywords": "Indoor plants, Gardening, Trusted information.",
  "description": "Trusted information about indoor plants and gardening.",
  "is_active": true
}

Response

Agent plugin has been created

status'error' | 'success'

The status of the response

Example response

{
  "status": "success",
  "data": {
    "model_name": "IndoorPlants",
    "human_name": "The Indoor Plants Channel",
    "keywords": "Indoor plants, Gardening, Trusted information.",
    "description": "Trusted information about indoor plants and gardening.",
    "logo": "https://app.customgpt.ai/logo.svg",
    "is_active": true
  }
}