curl -X GET "https://api.nonefivem.com/cloud/flags/audit?page=1&limit=20" \
-H "Authorization: Bearer your-api-key"
curl -X GET "https://api.nonefivem.com/cloud/flags/audit?flagId=550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer your-api-key"
{
"results": [
{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"flagId": "550e8400-e29b-41d4-a716-446655440000",
"flagKey": "new-hud",
"actorType": "session",
"actorId": "user_2abc123",
"action": "flag.value.set",
"before": {
"name": "New HUD",
"description": null,
"type": "boolean",
"value": true,
"runtime": "shared",
"archived": false
},
"after": {
"name": "New HUD",
"description": null,
"type": "boolean",
"value": false,
"runtime": "shared",
"archived": false
},
"createdAt": "2026-09-19T12:30:00.000Z"
}
],
"total": 1,
"page": 1,
"totalPages": 1
}
Feature Flags
Get Flag Audit Log
Read the append-only record of who changed which flag, and when
GET
/
flags
/
audit
curl -X GET "https://api.nonefivem.com/cloud/flags/audit?page=1&limit=20" \
-H "Authorization: Bearer your-api-key"
curl -X GET "https://api.nonefivem.com/cloud/flags/audit?flagId=550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer your-api-key"
{
"results": [
{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"flagId": "550e8400-e29b-41d4-a716-446655440000",
"flagKey": "new-hud",
"actorType": "session",
"actorId": "user_2abc123",
"action": "flag.value.set",
"before": {
"name": "New HUD",
"description": null,
"type": "boolean",
"value": true,
"runtime": "shared",
"archived": false
},
"after": {
"name": "New HUD",
"description": null,
"type": "boolean",
"value": false,
"runtime": "shared",
"archived": false
},
"createdAt": "2026-09-19T12:30:00.000Z"
}
],
"total": 1,
"page": 1,
"totalPages": 1
}
An append-only record of every flag change, newest first. Flags are the kind of thing people flip during an incident and then disagree about afterwards.
A runtime change outranks a value change in the label: moving a flag to a client-readable runtime is the one edit that changes who can see the value. The
Authorization
string
required
Bearer token for authentication. Format:
Bearer <your-api-key>Required Permission
FLAGS_READ
Query Parameters
number
default:"1"
Page number (1-indexed).
number
default:"20"
Number of entries per page (1–100).
string
Restrict the log to one flag’s history, by UUID.
Response
FeatureFlagAuditEntry[]
The entries on this page, newest first.
Show FeatureFlagAuditEntry properties
Show FeatureFlagAuditEntry properties
string
Unique identifier (UUID).
string | null
The flag’s UUID, or
null once the flag has been deleted.string | null
The flag’s key at the time of the change. Recorded separately from
flagId
so a deleted flag’s history stays readable.string
session (a signed-in user), apiKey, or system.string | null
The user ID for sessions, the API key ID for API keys,
null for system
actions.string
What happened — see the table below.
object | null
The flag’s state before the change.
null for creations.object | null
The flag’s state after the change.
null for deletions.string
ISO 8601 timestamp.
number
Total entries matching the filter.
number
Current page number.
number
Total number of pages.
Actions
| Action | When |
|---|---|
flag.create | A flag was created |
flag.update | Name or description changed |
flag.value.set | The value changed |
flag.runtime.set | The runtime changed |
flag.archive | The flag was archived |
flag.unarchive | The flag was restored |
flag.delete | The flag was permanently deleted |
before/after pair carries every field either way.
curl -X GET "https://api.nonefivem.com/cloud/flags/audit?page=1&limit=20" \
-H "Authorization: Bearer your-api-key"
curl -X GET "https://api.nonefivem.com/cloud/flags/audit?flagId=550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer your-api-key"
{
"results": [
{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"flagId": "550e8400-e29b-41d4-a716-446655440000",
"flagKey": "new-hud",
"actorType": "session",
"actorId": "user_2abc123",
"action": "flag.value.set",
"before": {
"name": "New HUD",
"description": null,
"type": "boolean",
"value": true,
"runtime": "shared",
"archived": false
},
"after": {
"name": "New HUD",
"description": null,
"type": "boolean",
"value": false,
"runtime": "shared",
"archived": false
},
"createdAt": "2026-09-19T12:30:00.000Z"
}
],
"total": 1,
"page": 1,
"totalPages": 1
}

