---
title: "Returns an array of all works or an array of works by publicKey."
method: GET
path: "/works"
---

# Returns an array of all works or an array of works by publicKey.

`GET /works`

## Query parameters

- `publicKey` string

## Response `200`

OK

- Work[]
  - `id` string, required
  - `publicKey` string, required
  - `signature` string, required
  - `type` string, required
  - `dateCreated` string, required
  - `attributes` Attributes, required
    - `name` string
    - `datePublished` string, date-time
    - `dateCreated` string, date-time
    - `author` string
    - `tags` string
    - `content` string
  - `anchor` Anchor
    - `transactionId` string
    - `outputIndex` integer
    - `prefix` string
    - `version` integer[]
    - `ipfsHash` string
    - `blockHeight` integer
    - `blockHash` string

## Other responses

- `404` — NOT FOUND

---

[API](https://skmtc.net/poetapp/apis/po-et-node-api.md) · [All operations](https://skmtc.net/poetapp/apis/po-et-node-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/poetapp/po-et-node-api/versions/0a91b3035c14/schema)
