music nerd

Artist knowledgeRecover missing source text

Artist knowledge

Recover missing source text

Released with the source_extract schema migration. Queue one to twenty approved vault URL records with missing bodies. Existing originals and uploaded files are never overwritten. HTTP-only extraction records blocked/empty/unsupported results; it does not guarantee a complete article. Call deliberately from trusted host code, never during a read. Use research/status for results.

Read getResearchStatus for extractionOutcomes on the returned job: source ID, result status, capture time, HTTP status, stored character count and truncation. A completed job means each selected source was attempted. A blocked or empty result does not supply original evidence.

POST/api/artist/{id}/knowledge/sources/extract
POST/api/artist/{id}/knowledge/sources/extract

Released with the source_extract schema migration. Queue one to twenty approved vault URL records with missing bodies. Existing originals and uploaded files are never overwritten. HTTP-only extraction records blocked/empty/unsupported results; it does not guarantee a complete article. Call deliberately from trusted host code, never during a read. Use research/status for results.

Authorization

Authorizationstringrequired

Existing authenticated Music Nerd user, approved artist claimant or admin. Credentials remain outside model arguments. Kept in this tab only.

Path

idstringrequired

Artist ID in this deployment environment. Authorize claimant/admin on each call.

Body
cURL
curl --request POST \
  --url 'https://musicnerd-api.vercel.app/api/artist/{id}/knowledge/sources/extract' \
  --header 'Content-Type: application/json' \
  --data '{
  "sourceIds": [
    "YOUR_ID"
  ]
}'

Send the request to see the live response here.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>. Existing authenticated Music Nerd user, approved artist claimant or admin. Credentials remain outside model arguments.

Path Parameters

idstringrequired

Artist ID in this deployment environment. Authorize claimant/admin on each call.

Body

application/jsonrequired
sourceIdsarray<string>required

minItems: 1 · maxItems: 20

Item properties for sourceIds

string

Response

application/json

Every selected eligible source already has text; no job queued.

statusanyrequired
jobIdstring | nullrequired

format: uuid

queuedintegerrequired

minimum: 0 · maximum: 20