# List published packages

`GET /v1/registry/packages`

Returns every published package: a public project connected to a public GitHub repository. Needs no authentication. spicerack.org renders this data. Responses can be up to 5 minutes old.

## Example request

```bash
curl "https://api.spice.ai/v1/registry/packages"
```

```http
GET /v1/registry/packages HTTP/1.1
Host: api.spice.ai
```

## Responses

**200 OK**

Every published package

Content type: `application/json`

- `packages` (array of object, required)
  - `id` (integer, required)
  - `org` (string, required): Name of the org that publishes the package
  - `name` (string, required)
  - `description` (string | null, required)
  - `likes` (integer, required): Minimum: `0`.
  - `created_at` (string (date-time) | null, required)
  - `repository` (object | null, required): The public GitHub repository. Null until GitHub confirms that it is public, for example while GitHub cannot be read.
    - `id` (string, required): Numeric GitHub repository id or `owner/repo` name
    - `path` (string | null, required): Directory that holds the spicepod. Null is the repository root.
    - `branch` (string | null, required)
    - `github` (object, required)
      - `owner` (string, required)
      - `repo` (string, required)

**503 Service Unavailable**

The registry could not be loaded. Try again later.

OpenAPI: [api.spice.ai/openapi.json](https://api.spice.ai/openapi.json)
