İkiz İhracat
Saklanan tüm AI Twin verilerini GDPR uyumluluğu için (erişim hakkı, silme hakkı) dışa aktarın.
Durum: Planlandı (Aşama 1, Dönüm Noktası M1.1)
Uç noktalar
| Method | Path | Description | Auth | Rate Limit |
|---|---|---|---|---|
| GET | /twin/export | Export full Twin data as JSON | JWT | 5/min |
GET /twin/export
Rica etmek
Yol veya sorgu parametresi yok. Geçerli bir JWT Taşıyıcı jetonu gerektirir; dışa aktarma yalnızca kimliği doğrulanmış kullanıcının Twin'iyle ilişkili verileri kapsar.
Cevap
Twin ile ilişkili tüm verileri tek bir JSON yükünde döndürür:
json
{
"data": {
"twin": {
"id": "twin-abc",
"name": "My Twin",
"personalityProfile": {
"goals": ["Ship Q2 product launch"],
"styleProfile": { "verbosity": "concise", "format": "bullets", "tone": "professional" },
"toolPreferences": { "notion-connector": 0.85, "github-connector": 0.72 },
"expertiseSignals": [{ "topic": "SaaS", "confidence": 0.9 }]
},
"knowledgeSummary": "SaaS product builder focused on Q2 launch...",
"createdAt": "2026-04-01T00:00:00.000Z"
},
"memories": [
{
"id": "mem-1",
"content": "Prefers bullet-point outputs",
"type": "preference",
"importance": 8,
"createdAt": "2026-04-02T00:00:00.000Z"
}
],
"behavioralEvidence": [
{
"evidenceType": "chain_created",
"evidenceData": { "chainTitle": "Daily Standup Notes" },
"recordedAt": "2026-04-03T00:00:00.000Z"
}
],
"workspacePolicies": [
{
"workspaceId": "ws-123",
"policyConfig": { "allowAutoComplete": true },
"behavioralView": {}
}
]
}
}Kod Örneği
bash
curl https://api.chainabit.com/api/v1/twin/export \
-H "Authorization: Bearer $TOKEN"