Skip to content
Console
Menu

Getting Started

Authentication

KV Store

Qualify an owner pool

Records an admission suite result for an Agent version.

Records an admission suite result for an Agent version. The caller holds agents:qualify and is not the principal whose create or update minted the version (PERMISSION_DENIED). Every minimum met: the member is QUALIFIED. Any score missing or below its minimum: the member is recorded REFUSED with the reason. Each qualification is recorded with its suite, suite version, result and caller; a result already recorded for the member is refused with INVALID_FIELD, so a demoted member returns only with a new suite result. A read-only version is refused with PERMISSION_DENIED; a suite or suite version other than the pool's with INVALID_FIELD. Re-qualifying keeps the member's baseline: the baseline belongs to the version and its pinned model.

  • Path POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/owner_pools/owner-pool:qualify
  • Scope agents:qualify
  • Effect write — a successful call changes state.
  • Collection owner_pools

#Request

FieldTypeWhat it is
namestringThe owner pool. Required.
agent_versionstringThe Agent version that ran the suite, in the pool's environment. Required.
suitestringThe suite that ran; must equal the pool's admission.suite. Required.
scoresmap<string, double>The score per suite metric; at most 64. Required.
suite_versionstringThe suite version that ran; must equal the pool's admission.suite_version. Required.
resultstringThe grader's id of this suite run, for example its evidence record; 1 to 200 characters. Each result is recorded once per member. Required.

#Response

FieldTypeWhat it is
agent_versionstringThe member version. Output only.
modelstringThe model the version pins. Output only.
stateOwnerPoolMemberStateQualified, refused or demoted. Output only. One of qualified, refused, demoted.
suitestringThe suite of the latest :qualify. Output only.
scoresmap<string, double>The scores of the latest :qualify. Output only.
baselinemap<string, double>The baseline per demotion metric, computed by the platform from counted observations; a re-qualify keeps it. Output only.
observedmap<string, double>The latest observation per metric. Output only.
qualify_timetimestampWhen it last qualified. Output only.
demote_timetimestampWhen it was last demoted. Output only.
reasonstringWhy it was refused or demoted. Output only.
update_timetimestampWhen the state last changed. Output only.
suite_versionstringThe suite version of the latest :qualify. Output only.
resultstringThe suite result of the latest :qualify. Output only.
qualifierstringThe principal that recorded the latest :qualify. Output only.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/owner_pools/owner-pool:qualify" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"agent_version":"…","result":"…","scores":{},"suite":"…","suite_version":"…"}'