Skip to Content

Public Agents

List all publicly available Agents on the platform — the same catalog shown on the Explore page. The returned uid is the Agent identifier used in the Start Conversation endpoint path.

Unlike Agents in Workspace, this endpoint is not scoped to a Workspace: it returns every Agent that is published and publicly shared.

Request

HTTP MethodGET
HTTP URL/v1/ai/agents

Query Parameters

NameTypeRequiredDescription
pageint32NOPage number, starts at 1, default 1
limitint32NOPage size, default 20, maximum 50
namestringNOFuzzy search by Agent name

Request Example

Response

Response Headers

  • Content-Type: application/json

Response Example

json
{
  "code": 0,
  "message": "success",
  "data": {
    "agents": [
      {
        "uid": "ag_7d3f9b2c",
        "name": "US Stock Analyst",
        "description": "Answers US stock questions with market and fundamental data",
        "mode": "chat",
        "icon": "https://cdn.longbridge.com/icons/agent.png",
        "is_published": true,
        "published_at": 1742000000,
        "created_at": 1741000000,
        "updated_at": 1742001000
      }
    ],
    "total": 35
  }
}

Response Status

StatusDescriptionSchema
200Successpublic_agents_response
500Internal errorNone

Schemas

public_agents_response

NameTypeRequiredDescription
agentsobject[]trueAgent list, ordered by last updated time descending
∟ uidstringtrueAgent UID, used as the path parameter of Start Conversation
∟ namestringtrueAgent name, localized by the Accept-Language header
∟ descriptionstringfalseAgent description, localized by the Accept-Language header
∟ modestringtrueAgent mode, e.g. chat
∟ iconstringfalseIcon URL
∟ is_publishedbooleantrueAlways true for this endpoint
∟ published_atint64falsePublish time, Unix timestamp in seconds
∟ created_atint64falseCreation time, Unix timestamp in seconds
∟ updated_atint64falseLast updated time, Unix timestamp in seconds
totalint32trueTotal number of public Agents matching the query