Skip to main content
GET
Get a work by ID
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

GET /work/works/ Description: Returns a single work with its writers (workWriters, each with the linked CWRWriter), linked recordings re-shaped to WorkRecordings, and derived publishingStatus. Authorization:
  • Required role: user or higher
Method: GET

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

CWRWork id (the /work/works/:id route family uses id, not workId)

Response

Work retrieved

Shape returned by GET /work/works/{id} and POST /work/works.

id
string<uuid>
tenantId
integer
workTitle
string
alternativeTitles
object[]
iswc
string | null

International Standard Musical Work Code (max 13 chars)

libraryCatalogueName
string | null
originalWorkId
string<uuid> | null
languageCode
string
musicalWorkDistributionCategory
string
duration
integer

Seconds

recorded
boolean
versionType
string
excerptType
string
compositeType
string
musicArrangement
string
lyricAdaptation
string
performers
object[]
recordings
object[]

CWR "recording detail" blocks embedded on the work (distinct from the WorkRecording junction table / WorkRecordings below)

grandRights
boolean
compositePart
boolean
compositeWorkId
string | null
compositeWorkTitle
string | null
compositeWorkIswc
string | null
compositeWorkDuration
integer | null
compositeWorkShare
number | null
metadata
object

Includes completeness (complete/skeleton), source (e.g. publishing-bootstrap), seededDefaults, origin.library

workType
string
arrangementType
string
instrumentation
string[]
componentType
string
isArrangement
boolean
isAdaptation
boolean
hasLyricModification
boolean
isNonLyricModification
boolean
submitterWorkNumber
string | null
createdAt
string<date-time>
updatedAt
string<date-time>
workWriters
object[]
WorkRecordings
object[]

Linked recordings, re-shaped from the WorkRecording junction for the FE contract

publishingStatus
object

Derived, response-only publishing-readiness signal (WP-P4). Computed from CWRWork.metadata and the work's writer links — never persisted as a column.