Tarsana docsDashboardMenu

See how a server's update went

Read · GET /v1/tenants/{tenant}/servers/{server_name}/update · MCP tool update-status

Shows the latest update you requested for one server and what the server itself last reported: requested (sent, the server has not reported since), in_progress (the server has the release and has not confirmed it yet; it starts it at its next restart), confirmed (it runs the release and reported healthy), reverted (the release did not start healthy and the server went back to the release it ran before) or failed (the server refused the release, or has no healthy release to go back to). not_published means the request was recorded but not sent; ask again.

Roles that can call it: viewer, builder, deployer.

Parameters

NameInRequiredDescription
tenantpathyesYour tenant ID
server_namepathyesThe server's name in your account: the action_id create-server returned, or the name you gave install-command

Returns

A JSON object with these keys: tenant, server_name, update, guarantee, caller_authenticated.

Example request

curl https://api.tarsana.io/v1/tenants/acme/servers/web-1/update \
  -H "X-Tarsana-Access-Token: $ACCESS_TOKEN" \
  -H 'X-Tarsana-Tenant: acme'

Example response

{
  "tenant": "acme",
  "server_name": "web-1",
  "update": {
    "channel": "server-web-1",
    "cycle": 1,
    "expires": "2026-10-05T10:44:07Z",
    "os_version": "1.0.1",
    "reported": {
      "active_slot": "B",
      "bad_slots": [],
      "channel": "server-web-1",
      "confirmed_slots": [
        "A"
      ],
      "health_asserted": true,
      "installed_version": "1.0.1",
      "last_run": "DONE",
      "last_run_reason": "",
      "received_at": "2026-10-05T06:44:33Z",
      "slots": {
        "A": "1.0.0",
        "B": "1.0.1"
      },
      "staged_version": ""
    },
    "requested_at": "2026-10-05T06:44:05Z",
    "source_channel": "candidate",
    "state": "confirmed",
    "why": "slot B runs 1.0.1 and its OS asserted health"
  },
  "guarantee": "namespaces are separated, callers are not authenticated",
  "caller_authenticated": false
}

Errors

CodeHTTPWhat it means
invalid_parameter400A value in your request does not have the expected format, for example a submission ID that is not a spec hash. Check the value against the field's description and try again.
no_acting_tenant400Your request does not say which tenant you are acting for. Send your tenant ID in the X-Tarsana-Tenant header, or with --as on the command line.
isolation_refused403This address belongs to a tenant ID you do not have access to. Check the tenant ID in the address and in your request header.
tenant_refused400This tenant ID is not allowed or not in the expected format, or your spec names a different tenant in metadata.tenant. The message says what to change; an ID is made of lower-case letters, digits, dots, dashes and underscores.
update_not_configured503Updating servers is not available on this Tarsana deployment. Contact Tarsana support if you need it.
no_update_requested404No update of this server has been requested. Ask for one with request-update.
update_unavailable503Tarsana could not send the update or read its outcome right now, so nothing reached your server. Try again later; asking again sends the update.
unauthenticated401Your request has no credential, or one that Tarsana does not recognise. Sign in with login, or send a valid access token.
forbidden403Your role does not allow this operation. The response names the roles that do; ask for a credential with one of them.
rate_limited429You sent too many requests in a short time. Wait for the number of seconds in retry_after_seconds, then try again.
surface_fault500Something went wrong on our side. Try again later, and contact Tarsana support if it keeps happening.

View this page as Markdown