1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

Audio — toolbox-service/v1

Representation of an audio asset.

Properties

NameTypeRequiredDescription
durationSecondsintegerfalseThe duration of the audio file in seconds.
audioTypefalseThe type of audio (Music or SoundEffect).
artiststringfalseThe audio artist.
titlestringfalseThe audio title.

Complete Schema

{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Asset"
    }
  ],
  "properties": {
    "durationSeconds": {
      "type": "integer",
      "description": "The duration of the audio file in seconds.",
      "format": "int32"
    },
    "audioType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SearchAudioTypeModel"
        }
      ],
      "description": "The type of audio (Music or SoundEffect).",
      "deprecated": true,
      "x-enumNames": [
        "Music",
        "SoundEffect"
      ],
      "x-enum-varnames": [
        "Music",
        "SoundEffect"
      ],
      "x-enum-descriptions": [
        "Music",
        "SoundEffect"
      ]
    },
    "artist": {
      "type": "string",
      "description": "The audio artist.",
      "nullable": true
    },
    "title": {
      "type": "string",
      "description": "The audio title.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "description": "Representation of an audio asset.",
  "nullable": true
}