Get your free beta license ↗
API operation · updates group
GET

/software/{name}

First published 5 Dec 20260.2.39Unchanged since publication

Get one piece of software

Who may call it
AdministratorResellerCustomer
Token scope, any of
settingsreadall
Answers200 OK

The response contains a software array with one entry that has the same fields as an entry in GET /software, whether the piece of software is installed or not. The operation returns HTTP 404 for a name this distribution does not provide and HTTP 400 for invalid name syntax.

As a command

Run as root on the server

Parameters

namepath ·string, matching ^[a-z][a-z0-9_]{1,31}$Required
The name identifies a piece of software returned by GET /software, such as httpd, php84, or mariadb.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/software/alice" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "automatic": true,
  "distribution": "text",
  "flags": [
    {
      "dismissed": true,
      "ends_at": "text",
      "id": 1,
      "message": "text",
      "piece": "text",
      "raised_at": "text",
      "state": "text",
      "target": "https://example.com/new",
      "why": "text"
    }
  ],
  "flags_error": "text",
  "hour": "text",
  "last_run": {
    "actor": "text",
    "at": "text",
    "error": "Domain 'example.com' already exists",
    "software": [
      {
        "manager_error": "text",
        "message": "text",
        "name": "alice",
        "now": "text",
        "result": "text",
        "service": "text",
        "was": "text"
      }
    ],
    "source": "nightly",
    "stopped_at": "text"
  },
  "requested": {
    "actor": "text",
    "at": "text",
    "names": [
      "text"
    ]
  },
  "running": {
    "names": [
      "text"
    ],
    "piece": "text",
    "since": "text",
    "source": "/old"
  },
  "security": true,
  "software": [
    {
      "automatic": true,
      "failed": {
        "at": "text",
        "from": "text",
        "service": "text",
        "version": "0.0.1"
      },
      "held": [
        {
          "by": "text",
          "package": "basic"
        }
      ],
      "installed": true,
      "last": {
        "at": "text",
        "from": "text",
        "message": "text",
        "result": "text",
        "service": "text",
        "to": "text"
      },
      "name": "alice",
      "package": "basic",
      "packages": [
        {
          "name": "alice",
          "version": "0.0.1"
        }
      ],
      "problem": {
        "at": "text",
        "dismissed": true,
        "message": "text",
        "way_back": [
          "text"
        ]
      },
      "restarts": [
        "text"
      ],
      "version": "0.0.1"
    }
  ]
}

Errors

3 errors, each a status and a sentence
400A piece of software is named like httpd, php84 or mariadb
401Authentication required
404This distribution has no piece of software named <o.name>.
Generated from release 0.2.39 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.39 on 5 Dec 2026.
urbestack.com/docs/api/get-software-name/