Get To Know Save

Persist the collected profile + write a journal-friendly session row.

On success this writes:

  • app_students.profile_data (authed) OR app_anonymous_sessions.profile_data (anon), with completed_at stamped inside the JSONB.
  • One app_learning_sessions row with module_type='get_to_know', keyed by either student_id or anon_uuid (XOR — enforced by DB CHECK constraint).
  • The full conversation transcript into app_messages linked to that session.

For authed users with no Student row yet, we lazy-create one so the data lands in the right table.

Errors are swallowed and reported as saved_to='none' — localStorage is authoritative on the client.

post/api/get-to-know/save

Request

  • Base URL: https://api.tegore.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.tegore.ai/api/get-to-know/save
  • Auth: none declared

Request body

profileobject required

Response

Successful Response

saved_tostring required
session_idstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.