curl --request POST \
--url http://localhost:3000/api/agents \
--header 'Content-Type: application/json' \
--data '
{
"characterPath": "<string>",
"characterJson": {}
}
'{
"success": true,
"data": {
"character": {
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"bio": "<string>",
"settings": {},
"system": "<string>",
"style": {},
"lore": [
"<string>"
],
"messageExamples": [
"<string>"
],
"topics": [
"<string>"
],
"plugins": [
"<string>"
]
}
}
}Create a new AI agent with custom configuration and capabilities
curl --request POST \
--url http://localhost:3000/api/agents \
--header 'Content-Type: application/json' \
--data '
{
"characterPath": "<string>",
"characterJson": {}
}
'{
"success": true,
"data": {
"character": {
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"bio": "<string>",
"settings": {},
"system": "<string>",
"style": {},
"lore": [
"<string>"
],
"messageExamples": [
"<string>"
],
"topics": [
"<string>"
],
"plugins": [
"<string>"
]
}
}
}Agent created successfully
true
Show child attributes
Show child attributes
Name of the character
Unique identifier for the character
Short biography of the character
Character-specific settings
System prompt for the character
Character's communication style
Extended lore and background information
Example messages for character training
Topics the character is knowledgeable about
Plugins used by the character
Was this page helpful?