---
title: "The ready items, newest first"
method: GET
path: "/workspaces/{id}/content"
tags: ["content"]
---

# The ready items, newest first

`GET /workspaces/{id}/content`

## Request

- Base URL: `https://api.swingfactor.ai/v1`
- URL: `https://api.swingfactor.ai/v1/workspaces/{id}/content`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Query parameters

- `kind` 'sources': Only this kind. Absent: every kind.

## Response `200`

The items.

- ContentList
  - `items` ContentItem[], required
    - `id` string, uuid, required
    - `kind` 'sources', required
    - `origin` 'upload' | 'web', required: Where its bytes come from: an upload, or a web page.
    - `name` string, required: A file’s name; a page’s title, or its address until it is read.
    - `note` string, nullable, required: What it is for, in the words of whoever added it.
    - `url` string, nullable, required: A page’s address. Null for an upload.
    - `status` 'pending' | 'ready', required
    - `contentType` string, nullable, required
    - `size` integer, nullable, required: Bytes: as declared while an upload is pending, as stored once ready.
    - `currentVersionId` string, uuid, nullable, required: The version it reads as now.
    - `readStatus` 'waiting' | 'reading' | 'read' | 'no_text' | 'failed' | 'not_read' | 'null', nullable, required: For a kind that is read: how far reading its text has got.
    - `readError` string, nullable, required: Why the last reading came to nothing, in words.
    - `textChars` integer, nullable, required: Characters of text read out.
    - `readAt` string, nullable, required
    - `checkedAt` string, nullable, required: When its origin was last asked whether it changed.
    - `addedBy` string, uuid, nullable, required
    - `addedByName` string, nullable, required: Kept when the account that added it is gone.
    - `addedByActor` string, nullable, required: What added it where no person did: the product, for what its model found.
    - `createdAt` string, required
    - `links` ContentItemLinks, required: Relative /v1 URLs to follow.
      - `self` string, required
      - `workspace` string, required
      - `download` string
      - `complete` string
      - `upload` string
  - `total` integer, required
  - `offset` integer, required
  - `limit` integer, required

## Other responses

- `401`: No token, or not a valid one: `unauthorized`.

---

[API](https://skmtc.dev/swingfactor/apis/swingfactor-api.md) · [All operations](https://skmtc.dev/swingfactor/apis/swingfactor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/swingfactor/apis/swingfactor-api/revisions/c2fe881a39c3?raw)
