Skip to main content
POST
/
v1
/
tag
Gets AI-powered tags for a conversation using pre-built AI models
curl --request POST \
  --url https://api1.irisagent.com/v1/tag \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "conversationId": "<string>",
  "message": "<string>"
}
'
{
  "tags": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

The Authorization header is required to authenticate API requests. It should contain a bearer token obtained through the IrisAgent portal.

Headers

X-Language-Iso-Code
string<iso-639-1>

This optional header allows you to specify the desired language. If not provided, automatic language detection will be used.

Body

application/json
  • Option 1
  • Option 2
conversationId
string
required

Unique ticket or chat id

message
string

Support conversation that needs to be auto-tagged

Response

The AI-generated tags for the conversation

tags
object[]
required

List of AI-generated tag components as key-value pairs