adk_eval_dev_api (erlang_adk v0.10.0)

View Source

Safe Developer UI facade for durable evaluation authoring/history.

Browser input can select only an already-registered agent and first-party metric IDs. Adapter/metric modules, store handles, nodes, and credentials are fixed by this module and can never be supplied in JSON.

Summary

Functions

cancel(Service, Scope, JobId)

get_baseline(Service, Scope, Name)

get_set(Service, Scope, Id, Version)

list_jobs(Service, Scope, Options)

list_sets(Service, Scope, Options)

put_baseline(Service, Scope, Name, JobId)

report(Service, Scope, JobId, Format, Options)

-spec report(gen_server:server_ref(), adk_eval_store:scope(), binary(), binary(), map()) ->
                {ok, binary()} | {error, term()}.

Fetch and render the canonical result persisted for one completed job. This is the only stored-result formatting surface used by the Developer HTTP API; CLI report retrieval consumes the same response bytes.

result(Service, Scope, JobId)

status(Service, Scope, JobId)

submit(Service, Scope, Payload)

-spec submit(gen_server:server_ref(), adk_eval_store:scope(), map()) -> {ok, map()} | {error, term()}.