Creating an AI Agent

Create a new AI agent with custom configurations. This allows you to set up agents tailored to specific tasks, data, or processing requirements.

Endpoint: POST /agents

Description: This request initializes a new agent. You can define its name, description, and configurable parameters such as supported languages and maximum text length.

Request:

POST /agents HTTP/1.1
Host: api.supremaui.network
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "name": "Custom Agent",
  "description": "An agent for custom tasks",
  "parameters": {
    "language": ["en", "fr"],
    "max_text_length": 10000
  }
}

Response:

{
  "agent_id": "23456",
  "message": "AI Agent created successfully",
  "created_at": "2025-01-04T14:00:00Z"
}

Last updated