Monitoring & Collection/Logging
POSTLoggingSince 1.0SynchronousAuth Required
CreateTailSession
Create a new live-tail streaming session for real-time log monitoring
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
tenantIdStringRequiredTenant identifier for session ownership and quota enforcement
Example: tenant-xyz
userUuidStringRequiredUUID of the user creating this session
Example: user-001-abc
filterStringRequiredLog filter expression to apply to the tail stream
Example: level=error
serviceStringRequiredService name to restrict the tail stream to
Example: auth-service
lastCursorStringRequiredCursor position to resume tailing from; omit to start from now
Example: cursor-0000001
Responses
Endpoint
POST/api/v1/logs/tail/sessions
/api/v1/logs/tail/sessions
Request Example
curl -X POST '{host}/api/v1/logs/tail/sessions' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"tenantId":"tenant-xyz","userUuid":"user-001-abc","filter":"level=error","service":"auth-service","lastCursor":"cursor-0000001"}'
Response Example
200{
"id": "session-abc-001",
"tenantId": "tenant-xyz",
"userUuid": "user-001-abc",
"filter": "level=error",
"service": "payment-service",
"lastCursor": "cursor-0000001",
"createdAt": "example",
"active": true
}Change History
This API has no change history records yet.
