# Get a music track

Return a single track the caller may access (they created it or saved it) plus freshly-minted short-TTL signed playback URLs for the master and any stems.

URLs are minted on each request and expire quickly. Returns `404` if the track does not exist or the caller has no access to it (IDOR-safe — the same response for both cases).

## Path parameters

**`organization_id`** string required

The organization the track is scoped to. The caller must belong to it.

**`track_id`** string required

Id of the track (`mtrack_`-prefixed).

## Returns

A track object with freshly-minted signed playback URL(s).

**`id`** string · Track id (`mtrack_`-prefixed).

**`title`** string · Track title, if one was provided.

**`engine`** string · Internal engine key the track was generated with.

**`mode`** string · Generation mode the track was produced in.

**`measured_duration_seconds`** number · Measured master duration in seconds, if known.

**`instrumental`** boolean · Whether the track is instrumental-only.

**`licence_class`** string · Neutral licence tier: `commercial_cleared`, `commercial_enterprise`, `personal_only`, or `unclear`.

**`created_at`** string · When the track was created (UTC).

**`playback_url`** string · Short-TTL signed URL for the master audio. Expires quickly; re-fetch to mint a new one.

**`stem_urls`** object · Per-stem signed URLs (stem name → URL), when the track has stems. Present only on this single-track fetch.

Example

```bash cURL
curl "https://api.aitronos.com/v1/music/org_abc123/tracks/mtrack_7c1a9e2f4b8d" \
  -H "X-API-Key: $FREDDY_API_KEY"
```


```python Python SDK
from aitronos import Aitronos  # pip install aitronos-sdk

client = Aitronos(api_key="your-api-key")

track = client.get("/v1/music/org_abc123/tracks/mtrack_7c1a9e2f4b8d")
print(track["playback_url"])
```


```python Python
import os
import requests

api_key = os.environ["FREDDY_API_KEY"]

response = requests.get(
    "https://api.aitronos.com/v1/music/org_abc123/tracks/mtrack_7c1a9e2f4b8d",
    headers={"X-API-Key": api_key},
)
print(response.json()["playback_url"])
```


```javascript JavaScript
const apiKey = process.env.FREDDY_API_KEY;

const response = await fetch(
  'https://api.aitronos.com/v1/music/org_abc123/tracks/mtrack_7c1a9e2f4b8d',
  { headers: { 'X-API-Key': apiKey } }
);

const track = await response.json();
console.log(track.playback_url);
```

**Response:**


```json 200 OK
{
  "id": "mtrack_7c1a9e2f4b8d",
  "title": "Late Night Study",
  "engine": "studio",
  "mode": "creation",
  "measured_duration_seconds": 119.4,
  "instrumental": true,
  "licence_class": "personal_only",
  "created_at": "2026-06-28T10:31:00Z",
  "playback_url": "https://storage.aitronos.com/music/mtrack_7c1a9e2f4b8d.mp3?sig=...",
  "stem_urls": {
    "drums": "https://storage.aitronos.com/music/mtrack_7c1a9e2f4b8d_drums.mp3?sig=...",
    "bass": "https://storage.aitronos.com/music/mtrack_7c1a9e2f4b8d_bass.mp3?sig=..."
  }
}
```

Errors

```json 401 Unauthorized
{
  "success": false,
  "error": {
    "code": "AUTHENTICATION_REQUIRED",
    "message": "Authentication required. Please provide a valid API key.",
    "system_message": "Missing or invalid authorization header",
    "type": "authentication_error",
    "status": 401,
    "details": {},
    "trace_id": "req_abc123xyz",
    "timestamp": "2026-06-28T10:30:00Z"
  }
}
```


```json 404 Not Found
{
  "success": false,
  "error": {
    "code": "RESOURCE_NOT_FOUND",
    "message": "The requested resource could not be found.",
    "system_message": "Music track not found",
    "type": "client_error",
    "status": 404,
    "details": { "track_id": "mtrack_7c1a9e2f4b8d" },
    "trace_id": "req_jkl012mno",
    "timestamp": "2026-06-28T10:30:00Z"
  }
}
```

## Related Resources

- [List saved tracks](/docs/api-reference/music/list-tracks)
- [Save a track](/docs/api-reference/music/save-track)
- [Delete a track](/docs/api-reference/music/delete-track)
- [Share a track](/docs/api-reference/music/share-track)