Skip to main content
GET
Get a learning request

Authorizations

X-API-Key
string
header
required

Path Parameters

request_id
string<uuid>
required

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