Audit Log
Get Audit Log
Endpoint to retrieve a single Audit Log by ID
post/audit-log/{id}/get-item
Request
- Base URLhttps://oneuptime.com/api
- AuthAPI key in header APIKey
- TypeScripthttps://skmtc.dev/oneuptime/apis/oneuptime-openapi-specification/docs/audit-log/:id/get-item/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
ID of the Audit Log to retrieve
Request body
Example request
{
"select": {
"projectId": true,
"resourceType": true,
"resourceId": true
}
}Response
Successful response
Example response
{
"data": {
"projectId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceType": "Example text value",
"resourceId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceName": "Example text value",
"rootResourceType": "Example text value",
"rootResourceId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"action": "Example text value",
"userId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"userName": "Example text value",
"userEmail": "Example text value",
"userType": "Example text value",
"apiKeyId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"apiKeyName": "Example text value",
"mcpOAuthGrantId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"mcpClientName": "Example text value",
"workflowId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"workflowName": "Example text value",
"changes": [
{
"key": "value"
},
{
"key2": "value2"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.