GET
/
states
/
{state_id}
{
  "task_id": "<string>",
  "agent_id": "<string>",
  "state": {},
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Path Parameters

state_id
string
required

Response

200
application/json

Successful Response

Represents a state in the agent system. A state is associated uniquely with a task and an agent.

This entity is used to store states in MongoDB, with each state associated with a specific task and agent. The combination of task_id and agent_id is globally unique.

The state is a dictionary of arbitrary data.