Skip to content

Archive.upload

Python · CLI

Upload a packaged recording to your private archive and wait for its validation.

Parameters

directory str | Path required

A recording folder with its manifest.json.

timeout float optional = 660

Seconds to wait for validation.

Returns

dict

The stored recording's {status, prefix, sha256}.

API method
briskapi.Archive().upload(
    directory: str | Path,
    timeout: float = 660,
) -> dict
Example usage
1
2
3
import briskapi

print(briskapi.Archive().upload("recordings/s1"))
brisk upload recordings/s1
Example response (Python)Illustrative
Illustrative values: this call needs your broker's BRiSK, or your own uploads, to run.
{'status': 'stored', 'prefix': 'archive/3f…/20261013/085800-153512-7c14…', 'sha256': '7c14…'}