List audit log entries
curl --request GET \
--url https://go-fetch.io/api/v1/organizations/{id}/audit-log/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://go-fetch.io/api/v1/organizations/{id}/audit-log/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://go-fetch.io/api/v1/organizations/{id}/audit-log/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"count": 123,
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"user": "jsmith@example.com",
"action": "create",
"description": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"changes": "<unknown>",
"ip_address": "<string>",
"user_agent": "<string>"
}
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Organizations
List audit log entries
Who changed what in the organization, newest first, over a window of at most 90 days. Needs a key with the admin scope.
GET
/
api
/
v1
/
organizations
/
{id}
/
audit-log
/
List audit log entries
curl --request GET \
--url https://go-fetch.io/api/v1/organizations/{id}/audit-log/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://go-fetch.io/api/v1/organizations/{id}/audit-log/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://go-fetch.io/api/v1/organizations/{id}/audit-log/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"count": 123,
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"user": "jsmith@example.com",
"action": "create",
"description": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"changes": "<unknown>",
"ip_address": "<string>",
"user_agent": "<string>"
}
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Authorizations
Path Parameters
Query Parameters
ISO date or datetime, inclusive.
Which field to use when ordering the results.
A page number within the paginated result set.
Number of results to return per page.
ISO date or datetime, inclusive; a date covers the whole UTC day.