Skip to main content
POST
/
api
/
v2
/
agents
curl -X POST "http://localhost:8000/api/v2/agents" \
  -H "Authorization: Bearer your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"agent_id":"customer-support","description":"Handles customer inquiries"}'
{
  "agent_id": "customer-support",
  "created_at": "2025-03-30T16:30:00Z",
  "namespace": "memanto_agent_customer-support",
  "status": "active"
}

Overview

Create an agent namespace for storing and retrieving memories.

Authentication

  • Authorization: Bearer your_api_key

Body Parameters

agent_id
string
required
Unique agent identifier.
description
string
Optional agent description.
curl -X POST "http://localhost:8000/api/v2/agents" \
  -H "Authorization: Bearer your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"agent_id":"customer-support","description":"Handles customer inquiries"}'
{
  "agent_id": "customer-support",
  "created_at": "2025-03-30T16:30:00Z",
  "namespace": "memanto_agent_customer-support",
  "status": "active"
}

Response Fields

agent_id
string
Created agent ID.
created_at
string
Creation timestamp.
namespace
string
Backing namespace.
status
string
Agent status.