Skip to main content
POST
Start a learning request in the background

Authorizations

X-API-Key
string
header
required

Body

application/json

Needs work, a first or a further note on a feedback session, given in the background.

kind
string
required

A thumbs down, as POST /agent-learnings/thumbs-downs/ takes it.

Allowed value: "thumbs_down"
reason
string
required

What is wrong, in the person's words. Required.

Maximum string length: 1000
request_id
string<uuid>
required

The client's key for this thumbs down: sent again (a double click, a retry), it answers what the first one did and writes nothing.

subject
TableCellsSubjectSchema · object
required

Cells of one agent column.

Response

Successful Response

A learning request given in the background, and where it stands.

answer
ThumbsDownReadSchema · object | null
required

Once done: what it did, as POST /agent-learnings/thumbs-downs/ answers; for a Retry or a change, the proposed learning it acted on, as it now stands. On a proposal from an edit, proposal is null when the words came back to the agent's and the learning proposed from an earlier edit was dismissed.

error
LearningRequestErrorReadSchema · object | null
required

Once failed: why.

kind
enum<string>
required

What it runs, as it was sent.

Available options:
thumbs_down,
hand_edit,
regenerate,
proposal_change
request_id
string<uuid>
required

The key it was sent under, to ask again by.

state
enum<string>
required

running while the agent learns (ask again in a couple of seconds), then done with answer, or failed with error.

Available options:
running,
done,
failed