---
search:
  tags:
    - Assets
    - GET
seo:
  description: >-
    Lists the active organization's Assets, newest first. Each row carries its
    Registrations,… Reference for the GET /library/assets endpoint in the
    AdCrunch API.
sidebar:
  label: List the organization Assets
  badge: GET
title: List the organization Assets
type: openapi-operation
---
Lists the active organization's Assets, newest first. Each row carries its Registrations, so one read answers where every file is and what still needs registering. A reservation is excluded until a read promotes it to `ready`, and so is a deleted Asset.

One page at a time: `limit` rows at most, 100 by default. When the answer holds `nextCursor`, more rows exist: send it back as `cursor` to get the next page. There is no filter.

`GET /library/assets`

**Responses**

- `200` — One page of the stored Assets of the organization, newest first, each with its Registrations. An Asset registered nowhere carries an empty array. This page is the last one, so it carries no \`nextCursor\`.
- `400` — The request does not match the schema of this operation: a field is missing or has the wrong type, or the body is not valid JSON. \`error\` is \`invalid\_request\`, and \`issues\` names each field. Nothing was changed. Or AdCrunch cannot use the \`cursor\`: it cannot read it, or the cursor belongs to a different query. Then \`error\` is \`invalid\_cursor\`. Send the \`nextCursor\` of the previous page with no change, or omit \`cursor\` to get the first page.
- `401` — No API key, or one that does not resolve. See the security scheme. \`error\` is \`unauthorized\`.
- `402` — The organization has no active subscription. An owner subscribes at \`paywallUrl\`. \`error\` is \`organization\_unentitled\`.
- `403` — The caller does not hold \`library:read\`. \`error\` is \`forbidden\`.

Response example, 200:

```json
{
  "data": [
    {
      "contentHash": "9d2f41b7c6e8a35014f7b2d9c3e6a810",
      "createdAt": 1790000000000,
      "createdBy": "usr_2e5b84",
      "deletedAt": null,
      "durationMs": 15000,
      "failureCode": null,
      "failureReason": null,
      "filename": "spring-sale.mp4",
      "height": 1920,
      "id": "ast_7c1e9a",
      "key": "org_3a7f10/ast_7c1e9a",
      "kind": "video",
      "mimeType": "video/mp4",
      "name": "Spring sale 9:16",
      "organizationId": "org_3a7f10",
      "sizeBytes": 24117248,
      "status": "ready",
      "updatedAt": 1790000120000,
      "width": 1080,
      "registrations": [
        {
          "advertiserId": "acc_1203456789012345",
          "assetId": "ast_7c1e9a",
          "createdAt": 1790000121000,
          "deletedAt": null,
          "failureCode": null,
          "failureReason": null,
          "id": "reg_4b81d2",
          "organizationId": "org_3a7f10",
          "provider": "meta",
          "providerIdentifier": "23843178520310445",
          "status": "ready",
          "updatedAt": 1790000249000,
          "uploadSessionId": "1264871528937461",
          "workflowId": "reg_4b81d2"
        }
      ]
    },
    {
      "contentHash": "4a7e1c9b0d3f26854b1e7a9c2d6f3081",
      "createdAt": 1789900000000,
      "createdBy": "usr_2e5b84",
      "deletedAt": null,
      "durationMs": null,
      "failureCode": null,
      "failureReason": null,
      "filename": "spring-sale-square.jpg",
      "height": 1080,
      "id": "ast_2d4f83",
      "key": "org_3a7f10/ast_2d4f83",
      "kind": "image",
      "mimeType": "image/jpeg",
      "name": null,
      "organizationId": "org_3a7f10",
      "sizeBytes": 486112,
      "status": "ready",
      "updatedAt": 1789900090000,
      "width": 1080,
      "registrations": []
    }
  ]
}
```
