Characters are AI personalities with a name, system prompt, backing model, and optional voice. Create, update, list, delete, or browse the public explore feed.
https://api.dyva.ai/v1/v1/dyvasAuth RequiredCreate a character with a name, system prompt, and optional model, avatar, category, greeting, and voice.
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Atlas",
"description": "A curious research assistant that loves diving deep into topics.",
"instructions": "You are Atlas, a knowledgeable and curious research assistant...",
"model": "default",
"avatar_url": "https://cdn.dyva.ai/avatars/atlas.png",
"is_public": true,
"category": "assistant",
"greeting_message": "Hey! I'm Atlas. What are we researching today?",
"voice_id": "alloy",
"message_count": 4832,
"creator_id": "usr_9f8e7d6c5b4a3210",
"created_at": "2026-01-15T08:30:00Z",
"updated_at": "2026-03-08T14:22:10Z"
}curl -X POST https://api.dyva.ai/v1/dyvas \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Atlas",
"description": "A curious research assistant.",
"instructions": "You are Atlas, a knowledgeable research assistant who explains complex topics clearly.",
"model": "default",
"is_public": true,
"category": "assistant",
"greeting_message": "Hey! I\u0027m Atlas. What are we researching today?"
}'/v1/dyvasAuth RequiredList your characters. Supports pagination and sorting.
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Atlas",
"description": "A curious research assistant that loves diving deep into topics.",
"model": "default",
"avatar_url": "https://cdn.dyva.ai/avatars/atlas.png",
"is_public": true,
"category": "assistant",
"message_count": 4832,
"created_at": "2026-01-15T08:30:00Z",
"updated_at": "2026-03-08T14:22:10Z"
},
{
"id": "f0e1d2c3-b4a5-6789-0fed-cba987654321",
"name": "Luna",
"description": "Creative writing partner with a flair for storytelling.",
"model": "creative",
"avatar_url": "https://cdn.dyva.ai/avatars/luna.png",
"is_public": false,
"category": "creative",
"message_count": 1290,
"created_at": "2026-02-03T19:10:00Z",
"updated_at": "2026-03-07T11:45:30Z"
}
],
"total": 2,
"limit": 20,
"offset": 0
}curl https://api.dyva.ai/v1/dyvas?limit=10&sort=updated_at \
-H "Authorization: Bearer YOUR_API_KEY"/v1/dyvas/:idAuth RequiredGet full details for a single character.
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Atlas",
"description": "A curious research assistant that loves diving deep into topics.",
"instructions": "You are Atlas, a knowledgeable and curious research assistant...",
"model": "default",
"avatar_url": "https://cdn.dyva.ai/avatars/atlas.png",
"is_public": true,
"category": "assistant",
"greeting_message": "Hey! I'm Atlas. What are we researching today?",
"voice_id": "alloy",
"message_count": 4832,
"creator_id": "usr_9f8e7d6c5b4a3210",
"created_at": "2026-01-15T08:30:00Z",
"updated_at": "2026-03-08T14:22:10Z"
}curl https://api.dyva.ai/v1/dyvas/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-H "Authorization: Bearer YOUR_API_KEY"/v1/dyvas/:idAuth RequiredUpdate one or more fields. Only included fields are changed.
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Atlas",
"description": "A curious research assistant that loves diving deep into topics.",
"instructions": "You are Atlas, a knowledgeable and curious research assistant...",
"model": "default",
"avatar_url": "https://cdn.dyva.ai/avatars/atlas.png",
"is_public": true,
"category": "assistant",
"greeting_message": "Hey! I'm Atlas. What are we researching today?",
"voice_id": "alloy",
"message_count": 4832,
"creator_id": "usr_9f8e7d6c5b4a3210",
"created_at": "2026-01-15T08:30:00Z",
"updated_at": "2026-03-08T14:22:10Z"
}curl -X PUT https://api.dyva.ai/v1/dyvas/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"description": "Updated description for Atlas.",
"model": "creative"
}'/v1/dyvas/:idAuth RequiredDelete a character and all its conversations. Cannot be undone.
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"deleted": true
}curl -X DELETE https://api.dyva.ai/v1/dyvas/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-H "Authorization: Bearer YOUR_API_KEY"/v1/dyvas/exploreAuth RequiredBrowse public characters. Filter by category, search by name, sort by popularity, recency, or trending.
{
"data": [
{
"id": "c3d4e5f6-a1b2-7890-fedc-ba0987654321",
"name": "CodePilot",
"description": "Senior engineer that reviews your code and suggests improvements.",
"model": "default",
"avatar_url": "https://cdn.dyva.ai/avatars/codepilot.png",
"is_public": true,
"category": "developer",
"message_count": 28401,
"creator_id": "usr_1a2b3c4d5e6f7890",
"created_at": "2025-12-01T10:00:00Z",
"updated_at": "2026-03-09T02:15:00Z"
}
],
"total": 148,
"limit": 20,
"offset": 0
}curl "https://api.dyva.ai/v1/dyvas/explore?category=developer&sort=trending&limit=5" \
-H "Authorization: Bearer YOUR_API_KEY"