agent-training

Suggest example rows to train on

Example input rows to fill the training grid with, so the author is not asked to invent test data for an agent they have not run. Real values are read from one of the org's own tables when a table's columns can feed every input; otherwise they are written from the agent's prompt and the workspace's business context. The set is remembered on the agent, so asking again offers the same rows until regenerate is sent or the agent's inputs change. Read-only against the workspace: no session, no runs, no credits.

post/agent-training/saved-agents/{saved_agent_id}/sample-rows/

Request

  • Base URL: https://api.getoneprofile.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.getoneprofile.ai/agent-training/saved-agents/{saved_agent_id}/sample-rows/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

saved_agent_idstring uuid required

Request body

countinteger

How many examples to offer.

regenerateboolean

Skip the agent's remembered examples and find fresh ones, replacing what was stored. What 'Suggest different examples' asks for; the default replays the set so training the same agent twice offers the same rows.

Response

Successful Response

inputs_changedboolean

A remembered set was discarded because the agent's inputs no longer matched it, so these are fresh.

origin'table' | 'generated' required

Where an agent's remembered example rows were found.

rememberedboolean

These were replayed from the agent rather than found afresh.

rowsobject[] required

One set of input values per example, in offer order.

table_namestring nullable

The table the values came from; null when they were generated.

Changes

No recorded changes to this operation across all 1 revision of this API.