List a folder
curl --request GET \
--url https://api.arg.ai/api/workspaces/{workspaceId}/files \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/workspaces/{workspaceId}/files"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/workspaces/{workspaceId}/files', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Files
List a folder
GET
/
api
/
workspaces
/
{workspaceId}
/
files
List a folder
curl --request GET \
--url https://api.arg.ai/api/workspaces/{workspaceId}/files \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/workspaces/{workspaceId}/files"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/workspaces/{workspaceId}/files', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Authorizations
bearerAuthapiKeyAuth
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Folder to list. Defaults to the workspace root.
Bound listing work to 1-10 pages. When supplied, the response includes truncated; true means the listing is incomplete. Omit to retain the full listing.
Required range:
1 <= x <= 10Response
Successful response
The response is of type object.