Skip to content

Add Tags to Integration Resource

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

Adds tags to an integration resource.

Path parameters

Parameter Description Type Required/ Optional
name The 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. string Required.
integration_name The 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
string Required.

Request Body

The request body should be an array of tag objects.

Parameter Description Type Required/ Optional
key The tag key. string Required.
value The tag value. string Required.

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.