Start or extend a workspace export
curl --request POST \
--url https://aquila.attaxr.com/api/workspace/exports \
--cookie better-auth.session_token=const options = {method: 'POST', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/workspace/exports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/workspace/exports"
headers = {"cookie": "better-auth.session_token="}
response = requests.post(url, headers=headers)
print(response.text){
"id": "<string>",
"status": "<string>",
"batchesReceived": 0,
"batchesTotal": 0,
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Workspace
Start or extend a workspace export
Ingests one batch of at most 5 workspace paths into the export identified by exportId (created by the batchIndex=0 call). The client slices its selection into batchesTotal batches; the final batch queues the export for zipping. Every response returns immediately with the export’s id and progress — the ZIP itself is built off-request, uploaded to the user’s bucket as downloads/.zip, and announced through the notification pipeline when ready. The download lives for one day.
POST
/
api
/
workspace
/
exports
Start or extend a workspace export
curl --request POST \
--url https://aquila.attaxr.com/api/workspace/exports \
--cookie better-auth.session_token=const options = {method: 'POST', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/workspace/exports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/workspace/exports"
headers = {"cookie": "better-auth.session_token="}
response = requests.post(url, headers=headers)
print(response.text){
"id": "<string>",
"status": "<string>",
"batchesReceived": 0,
"batchesTotal": 0,
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
apiKeyCookieapiKeyHeaderbearerAuth
Browser session cookie set by Better Auth sign-in.

