SaveTailPreset
Save a reusable filter configuration as a named preset for future sessions
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
userUuidStringRequiredUUID of the user saving this preset
Example: user-001-abc
tenantIdStringRequiredTenant identifier for preset ownership
Example: tenant-xyz
presetObjectRequiredPreset for this resource
idStringUnique identifier of this filter preset
Example: preset-001
nameStringHuman-readable name of the filter preset
Example: Production Errors
userUuidStringUUID of the user who owns this preset
Example: user-001-abc
tenantIdStringTenant identifier for multi-tenant preset ownership
Example: tenant-xyz
filterObjectFilter for this resource
includeKeywordsListInclude keywords
Example: item1,item2
excludeKeywordsListExclude keywords
Example: item1,item2
regexStringRegular expression pattern to match against log message content
Example: error.*timeout
logLevelMinStringMinimum log level to include; entries below this level are excluded
Example: warn
serviceFilterStringService name filter to restrict matching to a specific service
Example: payment-service
isSharedBooleanWhether this preset is shared with all users in the tenant
Example: false
createdAtStringCreated at
Example: 2026-01-15T08:00:00Z
Responses
Endpoint
POST/api/v1/logs/tail/presets
/api/v1/logs/tail/presets
Request Example
curl -X POST '{host}/api/v1/logs/tail/presets' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"userUuid":"user-001-abc","tenantId":"tenant-xyz","preset":{"id":"preset-001","name":"Production Errors","userUuid":"user-001-abc","tenantId":"tenant-xyz","filter":{"includeKeywords":"item1,item2","excludeKeywords":"item1,item2","regex":"error.*timeout","logLevelMin":"warn","serviceFilter":"payment-service"},"isShared":false,"createdAt":"2026-01-15T08:00:00Z"}}'
Response Example
200{
"id": "preset-001",
"name": "Production Errors",
"userUuid": "user-001-abc",
"tenantId": "tenant-xyz",
"filter": {},
"isShared": false,
"createdAt": "example"
}Change History
This API has no change history records yet.
