List agents
Parameters
model: Optional[str]
name: Optional[str]
ordering: Optional[str]
Which field to use when ordering the results.
page: Optional[int]
A page number within the paginated result set.
project: Optional[str]
formatuuid
search: Optional[str]
A search term.
slug: Optional[str]
status: Optional[str]
Returns
List agents
from overmind_lab import OvermindLab
client = OvermindLab()
agents = client.agents.list()
print(agents.count){
"count": 123,
"results": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created_at": "2019-12-27T18:11:19.117Z",
"name": "name",
"project": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"slug": "slug",
"updated_at": "2019-12-27T18:11:19.117Z",
"agent_path": "agent_path",
"analyzer_model": "analyzer_model",
"dataset_has_expected_output": true,
"dataset_size": -9007199254740991,
"description": "description",
"display_name": "display_name",
"entrypoint_fn": "entrypoint_fn",
"model": "model",
"status": "status",
"structure_weight": 0,
"tags": {},
"tool_usage_weight": 0,
"total_points": 0
}
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Returns Examples
{
"count": 123,
"results": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created_at": "2019-12-27T18:11:19.117Z",
"name": "name",
"project": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"slug": "slug",
"updated_at": "2019-12-27T18:11:19.117Z",
"agent_path": "agent_path",
"analyzer_model": "analyzer_model",
"dataset_has_expected_output": true,
"dataset_size": -9007199254740991,
"description": "description",
"display_name": "display_name",
"entrypoint_fn": "entrypoint_fn",
"model": "model",
"status": "status",
"structure_weight": 0,
"tags": {},
"tool_usage_weight": 0,
"total_points": 0
}
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}