Chat with an NFT Agent

Enable users to ask their NFT agent questions and receive tailored responses.

Example:

  • User: "What can you do?"

  • Agent: "I can provide insights, share stories, and interact in various ways."

Endpoint:

/agent/${agentId}/chat

Request Format:

  • Method: POST

  • Headers:

    • Content-Type: application/json

  • Body:

    {
      "message": "Your message here"
    }
    

Response Format:

  • Structure:

    {
      "data": {
        "response": "Agent's response"
      }
    }
    

Example Code:

Last updated