Skip to content

Get Overrides

GET
/api/v1/dogfood/learning/overrides

Return the most recent 30 agent_prompt_overrides rows.

Global (no tenant_id filter) — agent_prompt_overrides is a cross-tenant collective-learning ledger per ALD-02.

Authorizations

Responses

200

Successful Response

object
items
required
Array<object>

One row from the last-30 overrides history view.

is_active is rolled_back_at IS NULL — the server-side evaluation is done in the route handler because the partial index lookup in PostgreSQL is already cheap.

object
actor_user_id
required
Any of:
string
agent_role
required
string
applied_at
required
string format: date-time
id
required
string format: uuid
is_active
required
boolean
prompt_fragment
required
string
rolled_back_at
required
Any of:
string format: date-time
source_staged_instinct_id
required
Any of:
string format: uuid
version
required
integer