Read a workspace artifact
curl --request GET \
--url https://aquila.attaxr.com/api/workspace/file/{file} \
--cookie better-auth.session_token=const options = {method: 'GET', 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.get(url, headers=headers)
print(response.text){
"path": "<string>",
"name": "<string>",
"mimeType": "<string>",
"kind": "text",
"modifiedAt": "<string>",
"size": 123,
"content": "<string>",
"truncated": true
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Workspace
Read a workspace artifact
One artifact from the calling user’s workspace. Text artifacts carry their decoded content (capped — truncated marks a clipped read); binary artifacts return metadata only, with the bytes available from the raw endpoint. The path is the workspace path with each segment URL-encoded, e.g. /file/recon%2FINDEX.md.
GET
/
api
/
workspace
/
file
/
{file}
Read a workspace artifact
curl --request GET \
--url https://aquila.attaxr.com/api/workspace/file/{file} \
--cookie better-auth.session_token=const options = {method: 'GET', 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.get(url, headers=headers)
print(response.text){
"path": "<string>",
"name": "<string>",
"mimeType": "<string>",
"kind": "text",
"modifiedAt": "<string>",
"size": 123,
"content": "<string>",
"truncated": true
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
apiKeyCookieapiKeyHeaderbearerAuth
Browser session cookie set by Better Auth sign-in.

