v1
onboarding
onboarding
brain-dump

Discard Brain Dump

Changed on

Drop a half-uploaded take's server buffer when the user re-records.

Stored audio is left alone. A named take still uploading is also marked failed, so it no longer holds the row against the user's next take, and a part of it that arrives later is refused.

recording_id says which take to drop. Without it the row's current take is assumed, which is wrong as soon as a second tab has moved the row on: the caller would clear a buffer that is still being filled. Callers know their own id, so they send it.

delete/api/onboarding/brain-dump

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Query parameters

recording_idstring nullable

Response

Successful Response

status'recording_uploaded' | 'transcribing' | 'transcribed' | 'extracting' | 'completed' | 'failed'
input_mode'voice' | 'typed' | 'skipped'
error_codestring nullable
has_audioboolean
greeting_readyboolean

Changes