docs.title
docs.subtitle
docs.quick_start
docs.api_key_title
docs.api_key_desc
curl -X POST https://api.bestchar.ai/v1/auth/api-keys \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "My App API Key"}'
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "My App API Key"}'
docs.authentication
docs.auth_desc
Authorization: Bearer YOUR_API_KEY
docs.characters
docs.characters_list_title
GET /api/v1/characters
docs.characters_create_title
POST /api/v1/characters
Content-Type: application/json
{ "name": "캐릭터 이름", "seed_prompt": "캐릭터 설명" }
Content-Type: application/json
{ "name": "캐릭터 이름", "seed_prompt": "캐릭터 설명" }
docs.chat
docs.chat_send_title
POST /api/v1/characters/{character_id}/chat
{ "message": "안녕하세요!", "conversation_id": "uuid" }
{ "message": "안녕하세요!", "conversation_id": "uuid" }
docs.examples
docs.javascript_example
const response = await fetch('https://api.bestchar.ai/v1/characters', {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
const characters = await response.json();docs.python_example
import requests
response = requests.get('https://api.bestchar.ai/v1/characters',
headers={'Authorization': 'Bearer YOUR_API_KEY'})
characters = response.json()docs.support_title
docs.support_desc