Agents
Endpoints for retrieving agent information.
Retrieves a list of all publicly available agents. This operation is free of charge.
Authorizations
Responses
200
A list of public agents.
application/json
default
An unexpected error occurred.
application/json
get
/v1/agentsGET /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"
}
]
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
404
The specified resource was not found.
application/json
default
An unexpected error occurred.
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"
}