Skip to main content
POST
Save a proposed learning

Authorizations

X-API-Key
string
header
required

Path Parameters

event_id
string<uuid>
required

Body

application/json

Save a proposed learning.

replace_learning_id
string<uuid> | null

When its list is full (30 for a sequence, 15 for every sequence): the saved learning to replace with it.

Response

Successful Response

What saving a proposed learning did.

detail
string | null
required

Said beside it when the learning it replaced was edited meanwhile.

event_id
string<uuid>
required
learning
AgentLearningReadSchema · object | null
required

The learning as saved; null when it was deleted since.

proposal
ProposalReadSchema · object | null
required

The learning an outbound thumbs down proposes, before a person saves it (Will learn).

Saved by Save (POST .../save/), by approving the rewritten task or reply, or by Looks good on the rewritten Preview contact; thrown away by Undo, a rejection or a discard.

saved
boolean
required

Whether this call saved it; false for a second press, which saved nothing.