Skip to main content
POST
/
agent
/
background-audio
/
{id}
/
finalize
Finalize an uploaded asset
curl --request POST \
  --url https://api.vocobase.com/api/v2/agent/background-audio/{id}/finalize \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "slug": "<string>",
    "label": "<string>",
    "duration_secs": 123,
    "sample_rate": 123,
    "preview_url": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.vocobase.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.

Path Parameters

id
string<uuid>
required

Asset id returned by POST /agent/background-audio.

Response

Asset is now READY.

success
boolean
data
object