POST
/
v1
/
agents
/
{agent_id}
/
messages
/
async

Headers

user_id
string | null

Path Parameters

agent_id
string
required

Body

application/json
messages
object[]
required

The messages to be sent to the agent.

assistant_message_tool_name
string
default: send_message

The name of the designated message tool.

assistant_message_tool_kwarg
string
default: message

The name of the message argument in the designated message tool.

Response

200 - application/json

Representation of offline jobs, used for tracking status of data loading tasks (involving parsing and embedding files).

Parameters: id (str): The unique identifier of the job. status (JobStatus): The status of the job. created_at (datetime): The unix timestamp of when the job was created. completed_at (datetime): The unix timestamp of when the job was completed. user_id (str): The unique identifier of the user associated with the.

created_by_id
string | null

The id of the user that made this object.

last_updated_by_id
string | null

The id of the user that made this object.

created_at
string | null

The timestamp when the object was created.

updated_at
string | null

The timestamp when the object was last updated.

status
enum<string>

The status of the job.

Available options:
created,
running,
completed,
failed,
pending
completed_at
string | null

The unix timestamp of when the job was completed.

metadata_
object | null

The metadata of the job.

id
string

The human-friendly ID of the Job

user_id
string | null

The unique identifier of the user associated with the job.