content

An item’s text, as it was read out

Its current version’s, or one named. The chunks joined with nothing are the whole text; starts is where each begins in it, in characters as Postgres counts them (code points).

get/workspaces/{id}/content/{itemId}/text

Request

  • Base URL: https://api.swingfactor.ai/v1
  • URL: https://api.swingfactor.ai/v1/workspaces/{id}/content/{itemId}/text
  • Auth: HTTP bearer

Path parameters

idstring uuid required

The workspace's id (a UUID).

itemIdstring uuid required

The content's item id (a UUID).

Query parameters

versionstring uuid

A version. Absent: the current one.

Response

Its text, in order.

versionIdstring uuid nullable required
readStatus'waiting' | 'reading' | 'read' | 'no_text' | 'failed' | 'not_read' | 'null' nullable required
textCharsinteger nullable required
chunksstring[] required
startsinteger[] required

Changes

No recorded changes to this operation across all 1 revision of this API.