Agents
Audio
Messaging
- POSTCreate server
- POSTCreate channel
- POSTCreate central channel
- POSTCreate group channel
- GETGet or create DM channel
- POSTSend message to channel
- GETGet channel messages
- GETGet channel details
- GETGet channel info
- GETGet channel participants
- PATCHUpdate channel
- DELDelete channel
- DELDelete channel message
- DELDelete all channel messages
- DELDelete all channel messages by user
- POSTAdd agent to server
- POSTAdd agent to channel
- DELRemove agent from server
- GETGet server agents
- GETGet server channels
- GETGet central servers
- GETGet central server channels
- POSTProcess external message
- POSTIngest messages from external platforms
- POSTSubmit a message to the central messaging system
- POSTMark message processing as complete
Memory
Logs
System
WebSocket
Agents
Create a new agent
Creates a new agent from character configuration
POST
/
api
/
agents
Create a new agent
Copy
Ask AI
curl --request POST \
--url http://localhost:3000/api/agents \
--header 'Content-Type: application/json' \
--data '{
"characterPath": "<string>",
"characterJson": {}
}'
Copy
Ask AI
{
"success": true,
"data": {
"character": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"bio": "<string>",
"settings": {},
"system": "<string>",
"style": {},
"lore": [
"<string>"
],
"messageExamples": [
"<string>"
],
"topics": [
"<string>"
],
"plugins": [
"<string>"
]
}
}
}
Body
application/json
Response
201
application/json
Agent created successfully
The response is of type object
.
Was this page helpful?
Create a new agent
Copy
Ask AI
curl --request POST \
--url http://localhost:3000/api/agents \
--header 'Content-Type: application/json' \
--data '{
"characterPath": "<string>",
"characterJson": {}
}'
Copy
Ask AI
{
"success": true,
"data": {
"character": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"bio": "<string>",
"settings": {},
"system": "<string>",
"style": {},
"lore": [
"<string>"
],
"messageExamples": [
"<string>"
],
"topics": [
"<string>"
],
"plugins": [
"<string>"
]
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.