GET
/
covers
/
{id}
JavaScript
import Weights from '@weights-ai/sdk';

const client = new Weights({
  bearerToken: 'My Bearer Token',
});

const cover = await client.covers.retrieve('id');

console.log(cover.id);
{
  "id": "cover_123456789",
  "createdAt": "2024-01-15T10:30:00Z",
  "outputUrl": "https://storage.example.com/covers/cover_123456789.mp3",
  "inputFileName": "original_song.wav",
  "status": "SUCCEEDED",
  "inputUrl": "https://storage.example.com/input/original_song.wav",
  "ttsText": "Hello world, this is a test",
  "stemOnly": false,
  "preStemmed": false,
  "pitch": 0,
  "queuePosition": 3
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200
application/json

Returns the details of the specified cover job.

The response is of type object.