POST
/
ai
/
{projectId}
/
agent

Path Parameters

projectId
string
required

Body

application/json

Represents a request for an AI agent task. This class holds the necessary information for processing an AI agent task, including the message content, an optional thread ID for tracking the AI chat thread, and an optional source tag for categorizing chat history.

message
string

The message content of the AI agent task request.

source
string

An optional source tag to categorize or tag the chat history.

threadId
string

The optional thread ID associated with the AI chat thread. Can be used to track conversations within the same thread.

Response

200 - application/json
output
object

Represents the output of chat history, containing the query, response text, and structured data related to the query results.

threadId
string

The thread ID associated with the AI chat thread. Can be used to track conversations within the same thread.