Input JSON
{
"file_base64": "WAV audio, 15.7 KB, base64 in the real request"
}
Attest tools · Media file probe
Read the duration and PCM codec of a complete one-second mono WAV sample.
{
"file_base64": "WAV audio, 15.7 KB, base64 in the real request"
}{
"container": "Wave",
"format": "Wave",
"duration_seconds": 1,
"overall_bitrate": 128352,
"streams": [
{
"type": "audio",
"codec": "PCM",
"width": null,
"height": null,
"frame_rate": null,
"bit_depth": 16,
"sample_rate": 8000,
"channels": 1,
"language": null,
"bitrate": 128000
}
],
"size_bytes": 16044,
"bytes_read": 16044,
"truncated": false,
"truncated_because": [],
"final_url": null,
"notes": [],
"limits": {
"url_max_bytes": 8388608,
"inline_max_bytes": 3145728,
"max_streams": 64,
"parse_budget_ms": 20000,
"note": "A URL is read up to 8388608 bytes and anything past that is reported as truncated. An inline file_base64 upload must decode to 3145728 bytes or fewer, because the whole request body is capped at 4.5MB. A file declaring more than 64 streams is refused, and a parse still running after 20000ms is stopped and the answer labelled partial."
},
"library": {
"name": "MediaInfoLib",
"version": "26.05",
"licence": "BSD-2-Clause",
"url": "https://mediaarea.net/MediaInfo"
},
"attribution": "This product uses MediaInfo library, Copyright (c) 2002-2026 MediaArea.net SARL.",
"source": "Read from the file's own container and codec headers by MediaInfoLib (the mediainfo.js WebAssembly build). General information about what the file declares about itself. The media is not decoded or played, so a header that disagrees with the bytes after it is reported as the header states it.",
"checked_at": "2026-10-20T20:47:49.069Z"
}curl -s -X POST https://getattest.com.au/api/v1/media/probe \
-H "authorization: Bearer $ATTEST_API_KEY" \
-H "content-type: application/json" \
--data-binary @request.jsonRun this call with your own bearer key. Save the complete input as request.json, replacing file descriptions with your own base64 file content and any truncated text with the full text. Issue an API key.
The input was validated and run locally through the registered service. The output above is a display preview of the captured service result. File bytes are described instead of printed, and strings longer than 400 characters are truncated; the HTTP API also adds call_id, credits_charged and credits_remaining. Timestamps and generated identifiers will vary.
Source: apps/api/svc/media_probe.mjs