v1
latestOpenAPI 3.0.42026-08-068161,1253.1 MBLuau Execution
Places
Create Luau Execution Session Task
Creates a task but does not wait for the task to complete.
To check whether a task has completed, call the GetLuauExecutionSessionTask method and inspect the state field of the returned resource.
Quotas:
- 5 calls per minute per API key owner
- 45 calls per minute per IP address
post/cloud/v2/universes/{universe_id}/places/{place_id}/luau-execution-session-tasks
Path parameters
universe_idstring required
The universe ID.
place_idstring required
The place ID.
Request body
Example request
{
"path": "universes/123/places/123/luau-execution-session-tasks/123e4567-e89b-12d3-a456-426655440000",
"createTime": "2023-07-05T12:34:56Z",
"updateTime": "2023-07-05T12:34:56Z",
"state": "STATE_UNSPECIFIED",
"timeout": "3s",
"error": {
"code": "ERROR_CODE_UNSPECIFIED"
},
"enableBinaryOutput": true
}Response
OK
Example response
{
"path": "universes/123/places/123/luau-execution-session-tasks/123e4567-e89b-12d3-a456-426655440000",
"createTime": "2023-07-05T12:34:56Z",
"updateTime": "2023-07-05T12:34:56Z",
"state": "STATE_UNSPECIFIED",
"timeout": "3s",
"error": {
"code": "ERROR_CODE_UNSPECIFIED"
},
"enableBinaryOutput": true
}