Documentation
Your own workers
View .mdOpenAPI

List your enrolled workers

GEThttps://weights.fyi/run/v1/nodesscope: manage
text
GET https://weights.fyi/run/v1/nodes[?include_revoked=true]
Authorization: Bearer <token>                    scope: manage
Available since
2026-10-19 worker enrollment: answered only where this service enrolls your own workers (otherwise the path answers 404); see Bring your own model.
Answer time
synchronous: the list is read at once.

Lists the workers your workspace enrolled, oldest enrollment first, each with the models it offers. A worker is a computer of your own running the weights agent, which keeps an outbound connection to this service and answers calls for those models. open_sessions above 0 means the worker is connected now; a published model can answer only while one of its workers is.

An offer is the worker's statement, made when it enrolled, that it serves a model under the id callers send. It reads offered until it is published and published after, and only a published offer receives your workspace's calls. A revoked worker never connects again, so it is left out unless you ask for it. The worker's id is the node_id the revoke and publish calls take. The worker's own enrollment and certificate calls are made by the agent with its join token, not with a workspace key, and are not part of this reference.

Request

NameWhereRequiredMeaning
AuthorizationheaderyesBearer and a token with manage.
include_revokedquerynotrue or 1 also lists the workers that were revoked.

Return value

200 OK with data, a list of workers:

FieldMeaning
idThe worker's identifier, a UUID: the node_id of the other calls.
workspace_id, nameThe workspace it is enrolled in, and the name it enrolled under, one of a kind among the workspace's workers that are not revoked.
status, revoked_atactive or revoked, and when it was revoked or null.
servingserving (offered your calls), paused or draining (offered none until you resume it). Set by pause, drain and resume.
serving_changed_at, serving_reasonWhen it was last paused, drained or resumed, and the reason recorded with it; null if never.
join_token_idThe join token it enrolled with.
factsWhat the agent reported at enrollment: its agent_version and platform.
regionThe region its offers declared, or null.
spki_sha256The SHA-256 of the public key its certificate is issued for.
enrolled_atWhen it enrolled.
open_sessionsHow many connections it holds now; 0 while it is away.
offersIts offers, by model id: model, status, pool (the name the model's declaration is kept under, null while only offered), priority (its place among the model's workers, lowest asked first, or null), upstream_model (the name the worker's own server knows the model by), backend_kind, max_in_flight, call_timeout_seconds, modalities, region and chat_fields (the optional chat fields it takes).

Errors

StatusCodeWhen it happensWhat to do
401unauthorized, invalid_token, token_revoked, token_expiredNo token, or one that does not work (any more).Use a valid token.
403scope_required, account_suspendedThe token lacks manage, or the account is suspended.Use a token with manage.
503byoc_unavailableWorker enrollment is not available on this service right now.Retry later.

Examples

sh
curl -s https://weights.fyi/run/v1/nodes -H "Authorization: Bearer $WEIGHTS_API_KEY"
json
{"data": [
  {"id": "0b6f3c52-8f0e-4b57-9a54-3f1c2d7e9a10", "workspace_id": 7, "name": "studio-1", "status": "active",
   "join_token_id": 12, "facts": {"agent_version": "...", "platform": "Linux-aarch64"}, "region": null,
   "spki_sha256": "5f2c1b9e8a7d6c4b3a29180f7e6d5c4b3a2918f7e6d5c4b3a29180f7e6d5c4b3",
   "enrolled_at": "2026-11-14T09:30:00+00:00", "revoked_at": null, "serving": "serving",
   "serving_changed_at": null, "serving_reason": null, "open_sessions": 1,
   "offers": [
     {"model": "almanakje-gemma3-12b", "backend_kind": "openai", "upstream_model": "gemma3:12b", "max_in_flight": 4,
      "call_timeout_seconds": 300.0, "modalities": ["text"], "region": null, "status": "published",
      "pool": "byoc-7-almanakje-gemma3-12b", "priority": 1, "chat_fields": ["tools", "tool_choice"]}
   ]}
]}

History

  • 2026-10-19: built.
  • 2026-11-16: this page added.
  • 2026-11-16 (built, live with the deploy that carries it): serving, serving_changed_at and serving_reason.

See also