Skip to main content

Add Tags to Integration Resource

Endpoint: PUT /api/integrations/provider/{name}/integration/{integration_name}/tags

Adds tags to an integration resource.

Path parameters

ParameterDescriptionTypeRequired/ Optional
nameThe name of the integration which contains the resources. This is the integration name, not the provider name. For example, if you have created an OpenAI integration named openAI, use openAI.stringRequired.
integration_nameThe name of the specific resource to which tags are to be added, which can be:
  • the model name for AI/LLMs
  • the index name for databases
  • the table name for RDBMS
stringRequired.

Request Body

The request body should be an array of tag objects.

ParameterDescriptionTypeRequired/ Optional
keyThe tag key.stringRequired.
valueThe tag value.stringRequired.

Response

Returns 200 OK, indicating that tags have been added to the resource.

Examples

Add a tag to an integration resource

Request

curl -X 'PUT' \
'https://<YOUR-SERVER-URL>/api/integrations/provider/openAI/integration/gpt-4o/tags' \
-H 'accept: */*' \
-H 'X-Authorization: <TOKEN>' \
-H 'Content-Type: application/json' \
-d '[
{
"key": "test",
"value": "tag"
}
]'

Response

Returns 200 OK, indicating that the tag has been added to the resource.