Agent Plugins

Update a plugin.

Update the plugin configuration for a specific agent (formerly known as project) identified by its unique projectId. This endpoint allows you to update the associated attributes of the plugin.

put/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 have been updated

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
  }
}

Changes

Changed in 5 of the 9 revisions of this API.1413

  • b80e6dfcf78d35See the full diff
    • added the new Agent plugin id is required enum value to the data/message response property for the response status 404

      response-property-enum-value-added

    • added the new Agent plugin with id {pluginId} not found enum value to the data/message response property for the response status 404

      response-property-enum-value-added

    • added the new Plugin for agent with id {projectId} not found enum value to the data/message response property for the response status 404

      response-property-enum-value-added

    • api tag Agent Plugins added

      api-tag-added

    • api tag Project Plugins removed

      api-tag-removed

    • removed the Plugin for project with id {projectId} not found enum value from the data/message response property for the response status 404

      response-property-enum-value-removed

    • removed the Project plugin id is required enum value from the data/message response property for the response status 404

      response-property-enum-value-removed

    • removed the Project plugin with id {pluginId} not found enum value from the data/message response property for the response status 404

      response-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 400

      response-non-success-status-added

  • 1675fc6aa16a16See the full diff
    • removed the optional property data/ProjectPlugin from the response with the 200 status

      response-optional-property-removed

    • added the optional property data/description to the response with the 200 status

      response-optional-property-added

    • added the optional property data/human_name to the response with the 200 status

      response-optional-property-added

    • added the optional property data/is_active to the response with the 200 status

      response-optional-property-added

    • added the optional property data/keywords to the response with the 200 status

      response-optional-property-added

    • added the optional property data/logo to the response with the 200 status

      response-optional-property-added

    • added the optional property data/model_name to the response with the 200 status

      response-optional-property-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