Quick Interaction

ArcheAI Framework provides an easy way to interact with agents hosted on its backend API at https://api.arche.com. Users can interact with agents using GET, POST.

Methods of Interaction

1. GET Method

You can send a message to an agent using a simple GET request.

Example:

curl "https://api.qude.ai/api/agent/{agentName}/interact?message=Hello!"
  • Replace {agentName} with the name of your agent.

  • Replace Hello! with the message you want to send.

Example Request:

curl "https://api.qude.ai/api/agent/Ayra/interact?message=Hello!"

Example Response:

{
  "agentName": "Ayra",
  "response": "Hello! How can I assist you today?"
}

2. POST Method

For more structured interactions, you can use the POST method with a JSON body.

Example:

curl -X POST "https://api.qude.ai/api/agent/{agentName}/interact" \
-H "Content-Type: application/json" \
-d '{"message": "Hello, Ayra?"}'
  • Replace {agentName} with the name of your agent.

  • Modify the message field in the JSON body with your query.

Example Request:

Example Response:

Last updated