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.
Path parameters
The id of an agent (formerly known as project) in which plugin will be stored.
Request body
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
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
}
}Changes
Changed in 5 of the 9 revisions of this API.227
- ●
added the new
Agent id is requiredenum value to thedata/messageresponse property for the response status404response-property-enum-value-added
- ●
added the new
Agent with id {projectId} not foundenum value to thedata/messageresponse property for the response status404response-property-enum-value-added
- ○
api tag
Agent Pluginsaddedapi-tag-added
- ○
api tag
Project Pluginsremovedapi-tag-removed
- ○
removed the
Project id is requiredenum value from thedata/messageresponse property for the response status404response-property-enum-value-removed
- ○
removed the
Project with id {projectId} not foundenum value from thedata/messageresponse property for the response status404response-property-enum-value-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
- ▲
removed the success response with the status
200response-success-status-removed
- ○
added the success response with the status
201response-success-status-added
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲