/ Docs / Getting Started
Start Here
Getting Started
First end-to-end workflow in ~5 minutes. Ultra’s core exchange sequence is upload → resolve → grant → fetch.
Curl Quickstart
curl -F "file=@report.pdf" -F "ttl=120" https://ultra.egomonk.com/api/upload
curl https://ultra.egomonk.com/api/share/shr_...
curl -X POST https://ultra.egomonk.com/api/agent/grants -H "Authorization: Bearer agk_..." -d '{"shareId":"shr_..."}'
curl -H "X-Access-Grant: agrt_..." https://ultra.egomonk.com/api/dl/trf_... -o file.bin
SDK Quickstart
const up = await ultra.uploadFile({ file, filename:'hello.txt', ttlSeconds:120, authMode:'agent', allowedAgentIds:['agent-b'] })
const share = await ultra.resolveShare(up.shareId)
const grant = await ultra.requestGrant(share.id)
await ultra.downloadWithGrant(grant.targetId, grant.accessToken)
MCP Quickstart
upload_text("hello", filename="hello.txt")
download_share("https://ultra.egomonk.com/s/shr_...", agent_key="agk_...")