get https://api-beta.codegpt.co/api/v1/agent
The List function in an AI agents API is useful for obtaining a general overview of the available AI agents, their features, and capabilities, making it easier to select the most suitable agent for a specific task or application.
Example
[
{
"status": "published",
"name": "Agent 1",
"documentId": [],
"description": "Description of the agent",
"prompt": "You are a helpful assistant",
"topk": 3,
"temperature": 0.7,
"model": "gpt-3.5-turbo",
"welcome": "Hello, how can I help you?",
"maxTokens": 1024,
"id": "0000-0000-0000-0000",
"user_created": "0000-0000-0000-0000",
"date_created": "2023-01-01T12:00:00.000Z"
}
]