Pyo's registry, where the images it builds from Git and the team's own pushes are kept, as one team sees it: its address, where it runs (when the team has that cluster), whether Pyo reaches it, the space the team's images take, the team's repositories (tags, size, last build) and its cleanup: how many deployments' images are kept per service, and when images were last removed (within the last week). Read only.
API key access: read.
apiKeyAuthorizationBearer <pyo_…>An API key from the dashboard's API keys page: Authorization: Bearer pyo_…. Keys can expire, and an expired one gets a 401.
team*stringThe team's id.
address (in the cluster only, where servers pull from), location (clusterId and server, or null), reachable, usedBytes, repositories, retainDeployments, lastCleanupAt, pushAddress, teamPath and tokens. Each of repositories has repository (as servers pull it), tailnetRepository, kind ("built" or "pushed"), serviceId, tags, bytes and lastPushAt. tailnetRepository is a pushed repository's name on the team's tailnet, <pushAddress>/<team>/<project>/<service>. It's null for one Pyo built, or without a tailnet. pushAddress is the registry's address on the team's tailnet, where the team pushes and pulls its own images, or null without a tailnet. Each of tokens has id, name, scope, createdBy, createdAt, expiresAt and lastUsedAt, but never the token itself.
application/jsoncurl -X GET 'https://your-pyo.example.com/api/v1/registry?team=string'{}