Import a chat
POST/api/patient/ai-chat-imports
Import a chat exported from another AI assistant. assistant is one of chatgpt, claude, gemini, copilot, grok, perplexity, meta_ai, other; text is the export (max 100,000 characters) in the format described by GET /ai-chat-imports/format; preview: true validates and returns the parsed result without saving. The import's facts feed the Health Summary at its next rebuild; assistantOther names the assistant when assistant is other.
Request
Responses
- 201
- 400
- 401
- 403
- 409
- 413
- 429
- 500
Success
Bad Request
Unauthorized
Forbidden (the key cannot reach this person, IP not allowed, or a read-only key on a write)
Conflict
Payload Too Large
Too Many Requests (rate limit exceeded)
Internal Server Error