# GET /software/{name}

First published 5 Dec 2026 (release 0.2.39) · Unchanged since publication

UrbeStack release 0.2.39 API operation in the updates group.

Get one piece of software

- Who may call it: administrator
- Token scope, any of: settings, read, all
- Answers: 200 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

- [urbestack-software-list](https://urbestack.com/docs/commands/urbestack-software-list.md): The command lists the pieces of software UrbeStack installs and keeps updated on this server, such as httpd, php84, and mariadb.

## Parameters

- `name` (path, 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

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
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

- 400: A piece of software is named like httpd, php84 or mariadb
- 401: Authentication required
- 404: This distribution has no piece of software named <o.name>.
