List a file's change history
curl --request GET \
--url https://api.arg.ai/api/workspaces/{workspaceId}/files/history \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/workspaces/{workspaceId}/files/history"
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/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Files
List a file's change history
GET
/
api
/
workspaces
/
{workspaceId}
/
files
/
history
List a file's change history
curl --request GET \
--url https://api.arg.ai/api/workspaces/{workspaceId}/files/history \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/workspaces/{workspaceId}/files/history"
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/history', 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
File path.
Response
Successful response
The response is of type object.