ListBuildConfigs

Updated at:

Retrieves the system-defined presets for built-in article generation options, including writing style, article length, output language, and the number of articles to generate.

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.

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

aimiaobi:ListBuildConfigs

get

*All Resource

*

NoneNone

Request parameters

Parameter

Type

Required

Description

Example

AgentKey

string

Yes

The unique identifier of the workspace. For more information, see AgentKey.

cd327c3d5d5e44159cc716e23bfa530e_p_beebot_public

Type

string

No

The type of article.

Valid values:

  • market :

    Marketing copy

  • government :

    Government documents

  • media :

    Media articles

  • office :

    Office documents

media

RegionId

string

No

Response elements

Element

Type

Description

Example

object

PlainResult<List

>

Code

string

The status code.

200

Data

array<object>

The business data.

array<object>

The business object.

BuildIn

boolean

Indicates whether the configuration is built-in.

true

CreateTime

string

The time when the configuration was created.

2023-04-11 06:14:07

CreateUser

string

The user who created the configuration.

1

Id

integer

The primary key ID.

The primary key ID. Built-in configurations (buildIn=true) do not have this field.

Keywords

array<object>

The list of available values for the tag.

object

The definition of an available value for the tag.

Description

string

The description of the preset tag.

News content

Key

string

The key of the preset tag.

News content

Tag

string

The key of the tag.

writingStyle

TagDescription

string

The description of the tag.

Writing style

Type

string

The type of article. Valid values: `media` and `government`.

media

UpdateTime

string

The time when the configuration was last updated.

2023-04-11 06:14:07

UpdateUser

string

The user who last updated the configuration.

1

HttpStatusCode

integer

The HTTP status code.

200

Message

string

The error message.

Success

RequestId

string

The unique identifier of the request.

DA021073-17CE-5CCF-9FEB-93226C766887

Success

boolean

Indicates whether the request was successful. `true`: successful. `false`: failed.

true

Examples

Success response

JSON format

{
  "Code": "200",
  "Data": [
    {
      "BuildIn": true,
      "CreateTime": "2023-04-11 06:14:07",
      "CreateUser": "1",
      "Id": 0,
      "Keywords": [
        {
          "Description": "News content",
          "Key": "News content"
        }
      ],
      "Tag": "writingStyle",
      "TagDescription": "Writing style",
      "Type": "media",
      "UpdateTime": "2023-04-11 06:14:07\n",
      "UpdateUser": "1"
    }
  ],
  "HttpStatusCode": 200,
  "Message": "Success",
  "RequestId": "DA021073-17CE-5CCF-9FEB-93226C766887",
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.