goals

Read Goal Conversation

Changed on

This caller's conversation as it stands, so a reload costs no turn.

A safe read on the cookie alone — or on the app's bearer (#2635), where reopening the app is the phone's version of a reload. It changes nothing, and asking the athlete to re-say what they already said is the one thing a resumable conversation is supposed to make impossible. An empty answer is the honest one for a caller that has not spoken — a first open is not an error.

The same read the voice mint seeds a conversation from (:func:~cheshire.goals.turn.read_conversation), so the page and the coach can never describe different conversations, and a projection here rather than a second assembly.

It answers with both sides of the thread (#2374). replies alone was the coach talking to nobody: the athlete's own words were stored on every turn and reached no screen, so reloading cost them the sentences the coach was answering.

The sounds the transcription annotated are already out of the athlete's half when it arrives here (#2773), taken out by the read itself so this response and the voice seed carry the same sentences. A filter of this endpoint's own would be the sentence above broken by the fix for it.

get/goals/conversation

Request

  • Base URL
    https://api.imperfect.co (the document declares no server; this is the origin it was published from)
  • URL
    https://api.imperfect.co/goals/conversation
  • Auth
    HTTP bearer

Headers

x-device-timezonestring nullable
x-device-hintstring nullable
x-client-platformstring nullable

Response

Successful Response

status'exploring' | 'proposing' | 'settled' nullable
documentstring nullable
repliesstring[]
athlete_saidstring[]
arrivalstring nullable
racestring nullable
partner_race_contextstring nullable
upcoming_eventsstring[]
stored_openingstring nullable
goal_idstring nullable

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status