Agent

Start Agent chat

Changed on

Starts a private chat with a first message and answers 202 once the agent has accepted it, usually with status running. Read the reply with GET /v1/agent-chats/{chatId} once status is idle. Replies use organization credits. Requires agents.write and a user token; messages and title are empty unless the token also has agents.read.

post/v1/agent-chats

Request

  • Base URL
    https://api.inth.com
  • URL
    https://api.inth.com/v1/agent-chats
  • Auth
    HTTP bearer

Query parameters

organizationIdstring

Organization to act in. Defaults to the active organization of the credential; organization API keys always act in their own.

Request body

OR

Response

The accepted chat.

successtrue required

Changes

    • breaking

      the / response's property format changed from uri to no format for status

    • breaking

      the / response's property format changed from date-time to no format for status

    • info

      added the new optional request property

    • info

      added subschema #1 subschema #2 to the request body anyOf list

    • info

      the request property's minLength was decreased from 1 to 0

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      endpoint added