ListBaselineStatuses

Updated at:

Retrieves a list of baseline instances.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

PageNumber

integer

Yes

The page number. Default value: 1. Minimum value: 1. Maximum value: 30.

1

PageSize

integer

Yes

The number of entries per page. Default value: 10. Maximum value: 100.

10

Bizdate

string

Yes

The business date in UTC format (yyyy-MM-dd'T'HH:mm:ssZ).

2020-07-07T00:00:00+0800

Priority

string

No

The priority of the baseline. Valid values: 1, 3, 5, 7, and 8. Separate multiple priorities with commas (,).

1,3,5,7,8

SearchText

string

No

The search keyword. You can search by baseline name or baseline ID. If you enter an hourly baseline ID, all instances of that hourly baseline are returned.

keyword

Owner

string

No

The Alibaba Cloud UID of the baseline owner.

9527952795****

TopicId

integer

No

The ID of the related event.

1234

FinishStatus

string

No

The completion status of the baseline instance. Valid values: UNFINISH (not finished) and FINISH (finished). Separate multiple values with commas (,).

FINISH,UNFINISH

Status

string

No

The status of the baseline. Valid values: ERROR (abnormal), SAFE (safe), DANGROUS (warning), and OVER (baseline breached). Separate multiple values with commas (,).

SAFE,DANGROUS,OVER

BaselineTypes

string

No

The type of the baseline. Valid values: DAILY (daily baseline) and HOURLY (hourly baseline). Separate multiple values with commas (,).

DAILY,HOURLY

Response elements

Element

Type

Description

Example

object

The response parameters.

HttpStatusCode

integer

The HTTP status code.

200

RequestId

string

The unique ID of the request. You can use this ID to troubleshoot issues.

0000-ABCD-EFG****

ErrorMessage

string

The error message.

The specified parameters are invalid.

ErrorCode

string

The error code.

Invalid.Tenant.ConnectionNotExists

Success

boolean

Indicates whether the call was successful.

true

Data

object

The list of baseline instances returned.

PageNumber

integer

The current page number.

1

PageSize

integer

The number of entries per page.

10

TotalCount

integer

The total number of baseline instances.

100

BaselineStatuses

array<object>

The list of baseline instances.

object

The baseline instance information.

Status

string

The status of the baseline. Valid values: ERROR (abnormal), SAFE (safe), DANGEROUS (warning), and OVER (baseline breached).

SAFE

Owner

string

The Alibaba Cloud UID of the baseline owner. Separate multiple owners with commas (,).

9527952795****

FinishTime

integer

The completion timestamp of the baseline instance. This parameter is returned only when FinishStatus is FINISH.

1553531400000

ProjectId

integer

The ID of the workspace where the baseline resides.

1234

Priority

integer

The priority of the baseline. Valid values: 1, 3, 5, 7, and 8.

1

EndCast

integer

The estimated completion time of the baseline instance.

1553531400000

InGroupId

integer

The cycle number of the baseline instance. The value is 1 for daily baselines. The value ranges from 1 to 24 for hourly baselines.

1

BaselineName

string

The name of the baseline.

BaselineName

BaselineId

integer

The ID of the baseline.

1234

FinishStatus

string

The completion status of the baseline instance. Valid values: UNFINISH (not finished) and FINISH (finished).

UNFINISH

Bizdate

integer

The business date timestamp.

1553443200000

Buffer

integer

The buffer time of the baseline instance, in seconds.

1800

SlaTime

integer

The actual completion time of the baseline instance.

The format is a 13-digit number, such as 1553531400000.

1553531400000

ExpTime

integer

The warning time of the baseline instance.

The format is a 13-digit number, such as 1553531400000.

1553531400000

BaselineType

string

The type of the baseline. Valid values: DAILY (daily baseline) and HOURLY (hourly baseline).

BaselineType

Examples

Success response

JSON format

{
  "HttpStatusCode": 200,
  "RequestId": "0000-ABCD-EFG****",
  "ErrorMessage": "The specified parameters are invalid.",
  "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
  "Success": true,
  "Data": {
    "PageNumber": 1,
    "PageSize": 10,
    "TotalCount": 100,
    "BaselineStatuses": [
      {
        "Status": "SAFE",
        "Owner": "9527952795****",
        "FinishTime": 1553531400000,
        "ProjectId": 1234,
        "Priority": 1,
        "EndCast": 1553531400000,
        "InGroupId": 1,
        "BaselineName": "BaselineName",
        "BaselineId": 1234,
        "FinishStatus": "UNFINISH",
        "Bizdate": 1553443200000,
        "Buffer": 1800,
        "SlaTime": 1553531400000,
        "ExpTime": 1553531400000,
        "BaselineType": "BaselineType"
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

500 Forbidden.Not.Server The dataworksAPI service is not available in this area. Please try it in another area.
500 InternalError.System An internal system error occurred. Try again later.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. No permission, please authorize
429 Throttling.Api The request for this resource has exceeded your available limit.
429 Throttling.Api.Risk The request for this resource has exceeded your daily available limit.
429 Throttling.System The DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.