Conversation_categories

Conversation category related APIs

会話カテゴリーの一覧を出力する

get
Authorizations
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

正常に出力されました。

application/json
get
GET /webapi/v2/conversation_categories HTTP/1.1
Host: backend-ja.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
200

正常に出力されました。

{
  "categories": [
    {
      "categoryId": "text",
      "name": "text"
    }
  ]
}

会話カテゴリを作成する

post
Authorizations
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
namestringRequired
Responses
200

正常に作成されました。

application/json
post
POST /webapi/v2/conversation_categories HTTP/1.1
Host: backend-ja.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
200

正常に作成されました。

{
  "categoryId": "text",
  "name": "text"
}

会話カテゴリーを削除

delete
Authorizations
Path parameters
conversation_category_idstringRequired
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

会話カテゴリーが正常に削除されました。

delete
DELETE /webapi/v2/conversation_categories/{conversation_category_id} HTTP/1.1
Host: backend-ja.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
200

会話カテゴリーが正常に削除されました。

No content

Was this helpful?