GenerateLabel

Updated at:

Generates labels.

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 syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

JsonStr

string

No

The complete JSON string. For more information, see the following details.

“”

BaseMeAgentId

integer

No

The ID of the business space.

12345

FieldTypeRequiredDescription
sourceTagIdsArray<Long>YesThe list of root label IDs, which are used to recursively expand the entire label tree.
inputFileUrlStringYesThe URL of the input file.
businessDocPathStringNoThe path of the business document. This parameter is passed through to downstream algorithms.

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

3CEA0495-341B-4482-9AD9-8191EF4***

Code

string

The response code. A value of 200 indicates success. Other values indicate failure. You can use this field to determine the cause of the failure.

200

Message

string

The error message returned when an error occurs.

successful

Success

boolean

Indicates whether the call was successful. Valid values: true: The call was successful. false: The call failed.

true

Data

string

The ID of the generation task.

20260616-4955F615-A74E-171E-86ED-080F60C72EC9

Examples

Success response

JSON format

{
  "RequestId": "3CEA0495-341B-4482-9AD9-8191EF4***\t",
  "Code": "200",
  "Message": "successful",
  "Success": true,
  "Data": "20260616-4955F615-A74E-171E-86ED-080F60C72EC9"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.