Retrieve the audit log
Lists who did what in the authenticated Workspace, newest first.
https://api2.transloadit.com/ audit_logReturns who did what in the authenticated Workspace, newest first: for example creating, updating or deleting Auth Keys, Templates and Template Credentials, viewing an Auth Secret, or logging in to the Console.
Each page holds up to page_size entries (default 50, maximum
200). Pass next_cursor back as cursor with the same filters to read
the next, older page. Stop when next_cursor is null.
Entries are removed once their retention period ends. Reading the audit log is not itself
recorded in it. Workspaces without the audit log enabled receive AUDIT_LOG_UNAVAILABLE.
Request example
Run this request in a server-side shell with curl and a suitable bearer token in TRANSLOADIT_TOKEN. If you need a token, expand the setup below.
Need a bearer token?
In a trusted server-side shell with curl and jq, set TRANSLOADIT_KEY and TRANSLOADIT_SECRET to your Auth Key and Auth Secret. Keep both credentials and the resulting token secret; never run this setup in browser code.
First, create a token with this endpoint’s required scopes. Your Auth Key must already grant those scopes.
if ! TOKEN_RESPONSE="$(curl --fail-with-body -sS \
--request POST \
--url 'https://api2.transloadit.com/token' \
--user "${TRANSLOADIT_KEY:?Set TRANSLOADIT_KEY}:${TRANSLOADIT_SECRET:?Set TRANSLOADIT_SECRET}" \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'aud=api2' \
--data-urlencode 'scope=audit_log:read')"; then
printf '%s\n' "$TOKEN_RESPONSE" >&2
exit 1
fi
TRANSLOADIT_TOKEN="$(printf '%s' "$TOKEN_RESPONSE" |
jq -er '.access_token | strings | select(length > 0)')" || exit 1
Keep this shell open and run the request below. Reuse the token while it remains valid.
curl --fail-with-body -sS --request GET --get \
--url "https://api2.transloadit.com/audit_log" \
--header "Authorization: Bearer ${TRANSLOADIT_TOKEN:?Set TRANSLOADIT_TOKEN}" \
--data-urlencode 'params={"type":"auth_key.","page_size":20}'
Authentication
This endpoint accepts signed params or a bearer token. See Authentication for setup instructions.
Required scope for the Auth Key or bearer token: audit_log:read.
Signed requests require both a signature and a future params.auth.expires timestamp. Bearer tokens do not require either.
Query parameters
params(JSON string). A JSON-encoded object whose supported keys are listed below.signature(string). Required for signed requests. Omit this field when using a bearer token.
Supported keys inside the signed params field
Authentication fields in this list apply to signed requests. With a bearer token, you can omit params.auth and the separate signature field. Compare the authentication-specific request parameters below.
Complete JSON Schema
params: Only the fields listed for this object are accepted.
| Field | Type and description |
|---|---|
params. | string (minimum length: 1, maximum length: 64)Return only entries performed by this actor, using the |
params.required for signed requests; optional with a bearer token | Contains the Transloadit API key and signature-authentication metadata for an audit log request.
|
params.required | stringISO 8601 expiration timestamp in the future. Required when a request is signed or requires signature authentication; bearer-authenticated requests may omit it. |
params.required | stringTransloadit API key used to authenticate requests |
params. | string (minimum length: 1, maximum length: 200)Opaque value from a previous response’s Validation pattern (regular expression)^[A-Za-z0-9_-]+$ |
params. | stringReturn only entries created at or after this ISO 8601 timestamp, such as Validation pattern (regular expression)^(([0-9][0-9][2468][048]|[0-9][0-9][13579][26]|[0-9][0-9]0[48]|[02468][048]00|[13579][26]00)-02-29|[0-9]{4}-((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|(0[469]|11)-(0[1-9]|[12][0-9]|30)|(02)-(0[1-9]|1[0-9]|2[0-8])))T([01][0-9]|2[0-3]):[0-5][0-9](:[0-5][0-9](\.[0-9]+)?)?(Z|([+-][0-9]{2}:?[0-9]{2}))$ |
params. | string | integerUnique, random value included in signed request params to make each signature unique and prevent accidental signature reuse. |
params. | integer (default: 50, minimum: 1, maximum: 200)Maximum number of entries to return. |
params. | stringReturn only entries created before this ISO 8601 timestamp. The timestamp itself is excluded. Validation pattern (regular expression)^(([0-9][0-9][2468][048]|[0-9][0-9][13579][26]|[0-9][0-9]0[48]|[02468][048]00|[13579][26]00)-02-29|[0-9]{4}-((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|(0[469]|11)-(0[1-9]|[12][0-9]|30)|(02)-(0[1-9]|1[0-9]|2[0-8])))T([01][0-9]|2[0-3]):[0-5][0-9](:[0-5][0-9](\.[0-9]+)?)?(Z|([+-][0-9]{2}:?[0-9]{2}))$ |
params. | string (maximum length: 64)Return only entries of this event type, such as Validation pattern (regular expression)^[a-z][a-z0-9_]*\.(?:[a-z][a-z0-9_]*)?$ |
Request parameters by authentication method
With signed params
Include your Auth Key as params.auth.key. When signing the request, include a future params.auth.expires timestamp and send the signature in the separate signature field. The field definitions below use paths inside params.
Complete JSON Schema
params: Only the fields listed for this object are accepted.
Uses the field definitions above: params.actor, params.auth, params.cursor, params.from, params.nonce, params.page_size, params.to, params.type
With a bearer token
Send the bearer token in the Authorization header. You can omit params.auth and the separate signature field. Other required parameters still apply. The field definitions below use paths inside params.
Complete JSON Schema
params: Only the fields listed for this object are accepted.
Uses the field definitions above: params.actor, params.cursor, params.from, params.nonce, params.page_size, params.to, params.type
| Field | Type and description |
|---|---|
params. | Contains the Transloadit API key and signature-authentication metadata for an audit log request.
|
params. | stringISO 8601 expiration timestamp in the future. Required when a request is signed or requires signature authentication; bearer-authenticated requests may omit it. |
params. | stringTransloadit API key used to authenticate requests |
Response
Here’s an example response body:
{
"items": [
{
"actor": {
"email": null,
"id": "ca7644b763c848e6af4f4ccf3eaea622",
"label": "Backend Assembly integration",
"type": "auth_key"
},
"created": "2026-11-23T10:15:00.000Z",
"description": "Created an Auth Key",
"id": "0b6b7f6e-6a0c-4f43-9e0f-6a1d2c3b4a59",
"ip": "198.51.100.7",
"outcome": "succeeded",
"request_id": "3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
"target": {
"id": "f0e1d2c3b4a5968778695a4b3c2d1e0f",
"type": "auth_key"
},
"type": "auth_key.create",
"user_agent": "transloadit-node-sdk/4.0.0",
"via": "api"
}
],
"message": "The audit log entries were successfully listed.",
"next_cursor": "MjAyNi0xMS0yM1QxMDoxNTowMC4wMDBafDBiNmI3ZjZlLTZhMGMtNGY0My05ZTBmLTZhMWQyYzNiNGE1OQ",
"ok": "AUDIT_LOG_LISTED"
}2xx success
JSON response body. application/json text/plain; charset=utf-8
Response body schema
Complete JSON Schema
The response contains only the fields listed for this object.
| Field | Type and description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
itemsrequired | Array<object> (maximum items: 200)Array item schema
| ||||||||||||||||||||||||
messagerequired | string (minimum length: 1) | ||||||||||||||||||||||||
next_cursorrequired | null | stringSend this value as | ||||||||||||||||||||||||
okrequired | string (always: "AUDIT_LOG_LISTED") |
Error response
JSON response body. application/json text/plain; charset=utf-8
Response body schema
Complete JSON Schema
The response may contain additional fields.
| Field | Type and description |
|---|---|
assembly_id | string |
error | string (minimum length: 1) |
http_code | number | string
|
message | stringHuman-readable explanation of the error. Its wording can vary; use the |
reason | null | string | number | boolean | Array<any value> | objectAny of the following schemas may apply: nullstringnumberbooleanArray<any value>Array<any value>Array item schemaany valueobjectobjectAdditional property schemaany value |
HTTP 403
JSON response body. application/json text/plain; charset=utf-8
Response body schema
Complete JSON Schema
Named errors and the general error format
error: "AUDIT_LOG_UNAVAILABLE"
The audit log is unavailable for this Workspace.
The response may contain additional fields.
General error format
HTTP 400
JSON response body. application/json text/plain; charset=utf-8
Response body schema
Complete JSON Schema
Named errors and the general error format
error: "INVALID_PARAMS_FIELD"
Bad params field provided, it contains invalid json.
The response may contain additional fields.