Skip to content
Console
Menu

Getting Started

Authentication

KV Store

Get an owner pool

Gets an owner pool with its members.

Gets an owner pool with its members.

  • Path GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/owner_pools/owner-pool
  • Scope agents:read
  • Effect read — nothing is written.
  • Collection owner_pools

#Request

FieldTypeWhat it is
namestringThe name of the owner pool to get. Required.

#Response

FieldTypeWhat it is
namestringorgs/{org}/projects/{project}/envs/{env}/owner_pools/{owner_pool}.
uidstringaop_<cell><ulid>; never reused. Output only.
metaResourceMetaResource metadata.
specOwnerPoolSpecDesired state. Required.
statusOwnerPoolStatusObserved state: the members. Output only.

#ResourceMeta

FieldTypeWhat it is
generationint64Increases by one on every change to spec. Output only.
etagstringStrong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as If-Match or etag to make Update and Delete conditional; a mismatch fails with ABORTED / 409 ETAG_MISMATCH. Output only.
create_timetimestampWhen the Resource was created. Output only.
update_timetimestampWhen the Resource last changed. Output only.
delete_timetimestampSet while the Resource is being deleted. Output only.
labelsmap<string, string>Caller-writable, indexed labels (AIP-122 label rules).
annotationsmap<string, string>Caller-writable, unindexed annotations.
display_namestringCaller-writable human-readable name.
creatorstringThe principal that created the Resource. Output only.

#OwnerPoolSpec

FieldTypeWhat it is
admissionOwnerPoolAdmissionThe admission test every member passes. Required.
demotionOwnerPoolDemotionRule[]Live-metric rules that demote a member; at most 16, each metric once.

#OwnerPoolStatus

FieldTypeWhat it is
observed_generationint64The generation this status was computed from. Output only.
conditionsCondition[]Ready. Output only.
membersOwnerPoolMember[]Every version ever submitted to :qualify, most recently changed first. Output only.

#OwnerPoolAdmission

FieldTypeWhat it is
suitestringThe suite's id, matched exactly by :qualify; at most 200 characters. Required.
min_scoresmap<string, double>Minimum score per suite metric, higher is better; 1 to 64 metrics. A member qualifies only when every metric is reported at or above its minimum. Required.
suite_versionstringThe suite's version, matched exactly by :qualify; at most 200 characters. Required.

#OwnerPoolDemotionRule

FieldTypeWhat it is
metricstringThe live metric's name, as :observe reports it. Required.
max_regressiondoubleThe tolerated regression as a fraction of the baseline: a member is demoted when the observed value exceeds baseline * (1 + max_regression). Required.
min_samplesint64Observations over fewer samples than this are recorded but never count toward the baseline or demote; default 1.
baseline_observationsint64The baseline is the median of the member's first this many counted observations of the metric, set once it is finite and positive (while the median is zero the window moves on). 1 to 100; default 5.

#Condition

FieldTypeWhat it is
typestringThe condition type, for example Ready.
statusConditionStatusWhether the condition holds. One of true, false, unknown.
observed_generationint64The generation this observation was made against.
reasonstringA machine-readable UpperCamelCase reason.
messagestringA customer-safe human-readable message.
severitySeverityHow severe a FALSE condition is. One of info, warning, error.
transition_timetimestampWhen status last changed.

#OwnerPoolMember

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 "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/owner_pools/owner-pool" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"