GET
/
api
/
v1
/
agents

This endpoint retrieves a list of all agents.

HTTP Request

GET https://api.gptlab.cloud/api/v1/agents

Headers

  • Authorization: Bearer <token>
  • Accept: application/json

Response

The response returns a JSON object with a success status and an array of agents. Each agent includes details such as ID, name, avatar, initial message, description, active status, creation and update timestamps, and associated LLMs, datasources, tools, and workflow steps.