Toly Agent
The /agent
endpoint is a powerful API developed using Python. It leverages various tools and integrations to handle blockchain-related operations, particularly for the Solana ecosystem.
Endpoints
1. Health Check
GET /health A simple endpoint to verify the application's health status.
Response:
200 OK
: Application is running.
2. Agent Route
POST /agent Used for querying an agent to get responses.
Endpoint Overview
Endpoint:
/agent
Method:
POST
Purpose: Handles queries related to Solana blockchain operations and asset management.
Request Format
Body Parameters
question
(string, required): The query or command for the agent to execute.Example: "Get portfolio value for a wallet."
thread_id
(integer, optional): Used to track context or session in a conversation.Default:
0
Request Parameters:
Body:
Responses:
200 OK
: Returns the agent's answer.422 Validation Error
: Invalid input.
Last updated