2 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

LuauExecutionSessionTaskLog — cloud.docs

Represents a chunk of log messages generated by a LuauExecutionSessionTask.

The amount of logs that is retained is limited. See the documentation of the LuauExecutionSessionTask resource for more details.

Logs have the same retention time as the parent task.

Properties

NameTypeRequiredDescription
pathstringfalseThe resource path of the luau execution session task log. Formats: * universes/{universe_id}/places/{place_id}/luau-execution-session-tasks/{luau_execution_session_task_id}/logs/{luau_execution_session_task_log_id} * universes/{universe_id}/places/{place_id}/versions/{place_version_id}/luau-execution-session-tasks/{luau_execution_session_task_id}/logs/{luau_execution_session_task_log_id} * universes/{universe_id}/places/{place_id}/luau-execution-sessions/{luau_execution_session_id}/tasks/{luau_execution_session_task_id}/logs/{luau_execution_session_task_log_id} * universes/{universe_id}/places/{place_id}/versions/{place_version_id}/luau-execution-sessions/{luau_execution_session_id}/tasks/{luau_execution_session_task_id}/logs/{luau_execution_session_task_log_id}
messagesarrayfalseA list of log messages generated by the task execution. Each call to the Luau print() function from the task's script's code results in a single list item here, even if the message itself contains newlines. This field is populated when the View is FLAT (which is the default).
structuredMessagesarrayfalseA list of log messages generated by the task execution and associated metadata. Each call to the Luau print() function from the task's script's code results in a single list item here, even if the message itself contains newlines. This field is populated when the View is STRUCTURED.

Complete Schema

{
  "type": "object",
  "properties": {
    "path": {
      "example": "universes/123/places/123/luau-execution-session-tasks/123e4567-e89b-12d3-a456-426655440000/logs/123",
      "type": "string",
      "description": "The resource path of the luau execution session task log.\n\nFormats:\n* `universes/{universe_id}/places/{place_id}/luau-execution-session-tasks/{luau_execution_session_task_id}/logs/{luau_execution_session_task_log_id}`\n* `universes/{universe_id}/places/{place_id}/versions/{place_version_id}/luau-execution-session-tasks/{luau_execution_session_task_id}/logs/{luau_execution_session_task_log_id}`\n* `universes/{universe_id}/places/{place_id}/luau-execution-sessions/{luau_execution_session_id}/tasks/{luau_execution_session_task_id}/logs/{luau_execution_session_task_log_id}`\n* `universes/{universe_id}/places/{place_id}/versions/{place_version_id}/luau-execution-sessions/{luau_execution_session_id}/tasks/{luau_execution_session_task_id}/logs/{luau_execution_session_task_log_id}`"
    },
    "messages": {
      "readOnly": true,
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of log messages generated by the task execution.\nEach call to the Luau `print()` function from the task's script's code\nresults in a single list item here, even if the message itself contains\nnewlines. This field is populated when the View is FLAT (which is the\ndefault)."
    },
    "structuredMessages": {
      "readOnly": true,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/LuauExecutionSessionTaskLog_LogMessage"
      },
      "description": "A list of log messages generated by the task execution and associated\nmetadata.\nEach call to the Luau `print()` function from the task's script's code\nresults in a single list item here, even if the message itself contains\nnewlines. This field is populated when the View is STRUCTURED."
    }
  },
  "description": "Represents a chunk of log messages generated by a\n`LuauExecutionSessionTask`.\n\nThe amount of logs that is retained is limited. See the documentation of the\n`LuauExecutionSessionTask` resource for more details.\n\nLogs have the same retention time as the parent task.",
  "x-aep-resource": {
    "patterns": [
      "universes/{universe_id}/places/{place_id}/luau-execution-session-tasks/{luau_execution_session_task_id}/logs/{luau_execution_session_task_log_id}",
      "universes/{universe_id}/places/{place_id}/versions/{place_version_id}/luau-execution-session-tasks/{luau_execution_session_task_id}/logs/{luau_execution_session_task_log_id}",
      "universes/{universe_id}/places/{place_id}/luau-execution-sessions/{luau_execution_session_id}/tasks/{luau_execution_session_task_id}/logs/{luau_execution_session_task_log_id}",
      "universes/{universe_id}/places/{place_id}/versions/{place_version_id}/luau-execution-sessions/{luau_execution_session_id}/tasks/{luau_execution_session_task_id}/logs/{luau_execution_session_task_log_id}"
    ],
    "plural": "luau-execution-session-task-logs",
    "singular": "luau-execution-session-task-log"
  },
  "x-resource": true
}