Agents

Endpoints for retrieving agent information.

List Public Agents

get
/v1/agents

Retrieves a list of all publicly available agents. This operation is free of charge.

Authorizations
Responses
200

A list of public agents.

application/json
get
/v1/agents
GET /v1/agents HTTP/1.1
Host: api.kex.gg
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "id": "text",
    "name": "text",
    "description": "text",
    "avatar_url": "https://example.com",
    "creation_date": 1,
    "tokenIndex": 1,
    "token_contract_address": "text",
    "creator_id": "text"
  }
]

Get Agent Details

get
/v1/agents/{agentId}

Retrieves the public details for a single agent by its ID. This operation is free of charge.

Authorizations
Path parameters
agentIdstringRequired

The unique identifier of the agent.

Responses
200

The details of the specified agent.

application/json
get
/v1/agents/{agentId}
GET /v1/agents/{agentId} HTTP/1.1
Host: api.kex.gg
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "text",
  "name": "text",
  "description": "text",
  "avatar_url": "https://example.com",
  "creation_date": 1,
  "tokenIndex": 1,
  "token_contract_address": "text",
  "creator_id": "text"
}