AI Chat

List the goals a chat is watching or has finished with, newest first.

Changed on
get/ai/conversations/{public_id}/goals

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/ai/conversations/{public_id}/goals
  • Auth: HTTP bearer

Path parameters

public_idstring required

Conversation public id

Response

Goals of the conversation

attemptsinteger required

Fix turns started so far.

check_operationstring required

The read operation that observes the goal.

created_atstring required
deadline_atstring required

The goal is given up, as failed, after this instant (ISO 8601).

idstring required

Opaque goal id.

last_checked_atstring nullable

ISO 8601, Z suffix.

last_observationstring nullable

What the last check saw, in one sentence.

max_attemptsinteger required
statusstring required

active, healing, needs_you, achieved, failed or cancelled.

titlestring required

Changes