GetSourceModelStatus
Queries the internal generation status.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:GetSourceModelStatus |
get |
*Project
|
None | None |
Request syntax
GET /source-models/status HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
No |
The name of the project. The model belongs to the project, and one project corresponds to one model. |
my-project |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. Returns the number of elements and the modeling task status for the model in the project. |
||
| elementCount |
integer |
The number of elements in the current model. The value is less than the final value while modeling is in progress and may be 0 when the task is initially submitted. |
128 |
| taskState |
string |
The status of the most recent modeling task. Valid values: pending (Queued), running (Generating), succeeded (Completed), failed (Failed), and none (No corresponding task exists and the model has no data). |
succeeded |
Examples
Success response
JSON format
{
"elementCount": 128,
"taskState": "succeeded"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.