GetOssCheckFreezeResult

Updated at:

Queries the freezing results of OSS detection.

Operation description

Queries the freezing disposal results of OSS detection tasks.

Prerequisites: Before calling this operation, you must call CreatStockOssCheckTask to create an OSS inventory detection task and generate freezing results. Then, call GetStockOssCheckTasksList to obtain an available TaskId and pass it as a query parameter to this operation.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-greenweb:GetOssCheckFreezeResult

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

StartDate

string

No

The start time. Specify the time in the YYYY-MM-DD HH:mm:ss format.

2025-01-09 10:28:54

EndDate

string

No

The end time. Specify the time in the YYYY-MM-DD HH:mm:ss format.

2025-05-19 10:05:11

Status

integer

No

The task status.

1

FinishNum

integer

No

The number of completed items.

0

Query

string

No

The query conditions. Note: This parameter is actually required. You must provide a JSON string that contains the TaskId field, such as {"TaskId":"P_XXX"}. If this parameter is not provided, the API returns a 400 error (oss.check.task.not.exists).

{\"TaskId\":\"P_O3SI0I\"}

PageSize

integer

No

The number of entries per page.

10

CurrentPage

integer

No

The current page number.

1

Sort

object

No

The sort field.

{"GmtCreate":"desc"}

string

No

The sort field.

{\"GmtCreate\":\"desc\"}

RegionId

string

No

The region ID.

cn-shanghai

Response elements

Element

Type

Description

Example

object

PortalResponse<PageResponse>

RequestId

string

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

F0A594BB-FA7A-580F-AE9E-A4188E092823

TotalCount

integer

The total number of entries.

29

PageSize

integer

The number of entries per page.

10

CurrentPage

integer

The current page number.

1

Items

array<object>

The data on the current page.

array<object>

The data on the current page.

Bucket

string

The bucket.

tmp

JobName

string

The task name.

dhT20X2310

Object

string

The object name.

1713014531569_958.png.jpeg

Md5

string

The MD5 hash of the file.

54416c9b159df4a60ae03c04ccb94cb5

ServiceCode

string

The service code.

audio_media_detection_01

Code

string

The error code, which is consistent with the HTTP status code.

200

Msg

string

The detailed description of the error code.

success

Labels

array

The image labels.

string

The image labels.

nonLabel

Labels2

array

The text labels.

string

The text labels.

nonLabel

ScanResult

string

The result details.

{}

ImageUrl

string

The URL of the image.

http://www.aliyuncs.com/test.jpg

Url

string

The URL of the task.

http://www.aliyuncs.com/test.mp3

TaskId

string

The task ID.

P_BT3FHS

ServiceName

string

The service name.

Service name

IsCopy

boolean

Indicates whether the item is copied.

true

CopyFrom

string

The primary service.

audio_media_detection

ContentType

string

The audio and video detection type.

audio

RiskLevel0

string

The overall risk level.

low

RiskLevel

string

The image risk level.

high

RiskLevel2

string

The text risk level.

none

FreezeType

string

The freezing type.

ACL

FreezeStatus

string

The freezing status.

FREEZED

RequestId

string

The request ID.

F0A594BB-FA7A-580F-AE9E-A4188E092823

Freeze

boolean

Indicates whether the item is frozen.

true

Feedback

string

The feedback.

Valid values:

  • misreport :

    False positive.

  • missOut :

    False negative.

misreport

ManualFreezeAction

string

The manual disposal status.

Valid values:

  • FREEZE :

    Freeze.

  • UNFREEZE :

    Unfreeze.

FREEZE

SysDisposalStatus

string

The system disposal status.

Valid values:

  • FREEZING :

    Freezing.

  • FREEZED :

    Frozen.

  • UNFREEZED :

    Unfrozen.

  • NONE :

    No operation.

  • UNFREEZING :

    Unfreezing.

FREEZED

ManualOperateTime

string

The disposal time. Specify the time in the YYYY-MM-DD HH:mm:ss format.

2025-08-09 12:00:00

ManualOperator

string

The operator.

John Doe

LabelDetails

array<object>

The label details.

object

The label details.

Label

string

The label details.

politics

Description

string

The label description.

Political content

Confidence

number

The confidence level.

50

Examples

Success response

JSON format

{
  "RequestId": "F0A594BB-FA7A-580F-AE9E-A4188E092823",
  "TotalCount": 29,
  "PageSize": 10,
  "CurrentPage": 1,
  "Items": [
    {
      "Bucket": "tmp",
      "JobName": "dhT20X2310",
      "Object": "1713014531569_958.png.jpeg",
      "Md5": "54416c9b159df4a60ae03c04ccb94cb5",
      "ServiceCode": "audio_media_detection_01",
      "Code": "200",
      "Msg": "success",
      "Labels": [
        "nonLabel"
      ],
      "Labels2": [
        "nonLabel"
      ],
      "ScanResult": "{}",
      "ImageUrl": "http://www.aliyuncs.com/test.jpg",
      "Url": "http://www.aliyuncs.com/test.mp3",
      "TaskId": "P_BT3FHS",
      "ServiceName": "Service name",
      "IsCopy": true,
      "CopyFrom": "audio_media_detection",
      "ContentType": "audio",
      "RiskLevel0": "low",
      "RiskLevel": "high",
      "RiskLevel2": "none",
      "FreezeType": "ACL",
      "FreezeStatus": "FREEZED",
      "RequestId": "F0A594BB-FA7A-580F-AE9E-A4188E092823",
      "Freeze": true,
      "Feedback": "misreport",
      "ManualFreezeAction": "FREEZE",
      "SysDisposalStatus": "FREEZED",
      "ManualOperateTime": "2025-08-09 12:00:00",
      "ManualOperator": "xx",
      "LabelDetails": [
        {
          "Label": "politics",
          "Description": "Political content",
          "Confidence": 50
        }
      ]
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.