Skip to content

get_rule_logs

List execution logs for a rule in the OAuth-bound application.

{
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
}
},
"required": [
"application_id",
"rule_id"
],
"title": "get_rule_logsArguments",
"type": "object"
}
{
"items": {
"properties": {
"context": {
"additionalProperties": true,
"title": "Context",
"type": "object"
},
"createdAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Createdat"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Error"
},
"executionTimeMs": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Executiontimems"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"recordId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Recordid"
},
"result": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Result"
},
"ruleId": {
"format": "uuid",
"title": "Ruleid",
"type": "string"
},
"tenantId": {
"format": "uuid",
"title": "Tenantid",
"type": "string"
},
"triggerType": {
"anyOf": [
{
"enum": [
"record_create",
"record_update",
"record_save",
"record_delete",
"record_read",
"frontend_event",
"webhook_received",
"tool_called",
"manual",
"login_succeeded",
"login_failed",
"function_failed"
],
"title": "RuleTrigger",
"type": "string"
},
{
"type": "null"
}
]
},
"triggeredBy": {
"format": "uuid",
"title": "Triggeredby",
"type": "string"
},
"workspaceId": {
"format": "uuid",
"title": "Workspaceid",
"type": "string"
}
},
"required": [
"id",
"tenantId",
"workspaceId",
"ruleId",
"triggeredBy",
"context"
],
"title": "RuleLogResponse",
"type": "object"
},
"title": "Response Listrulelogs",
"type": "array"
}