Save a workspace artifact
curl --request PUT \
--url https://aquila.attaxr.com/api/workspace/file/{file} \
--cookie better-auth.session_token=const options = {method: 'PUT', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/workspace/file/{file}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/workspace/file/{file}"
headers = {"cookie": "better-auth.session_token="}
response = requests.put(url, headers=headers)
print(response.text){
"path": "<string>",
"name": "<string>",
"kind": "text",
"modifiedAt": "<string>",
"size": 123
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Workspace
Save a workspace artifact
Replaces one text artifact in the calling user’s workspace. The body carries and, when the client read the file through the detail route, — the modifiedAt stamp it loaded. A stale stamp answers 409 with the current stamp instead of overwriting another writer’s change. The path is the workspace path with each segment URL-encoded, e.g. /file/recon%2Fpoc.py.
PUT
/
api
/
workspace
/
file
/
{file}
Save a workspace artifact
curl --request PUT \
--url https://aquila.attaxr.com/api/workspace/file/{file} \
--cookie better-auth.session_token=const options = {method: 'PUT', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/workspace/file/{file}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/workspace/file/{file}"
headers = {"cookie": "better-auth.session_token="}
response = requests.put(url, headers=headers)
print(response.text){
"path": "<string>",
"name": "<string>",
"kind": "text",
"modifiedAt": "<string>",
"size": 123
}{
"error": "<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.

