ListVocabulary

Updated at:

Queries a list of vocabularies.

Try it now

You can call this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful call, OpenAPI Explorer automatically generates SDK code examples.

RAM authorization

The following table lists the authorization information of this API. You can use the Action element of a RAM policy statement to grant a RAM user or RAM role the permission to call this API. Details:

  • Operation: the specific permission point.

  • Access level: the access level of each operation, which can be Write, Read, or List.

  • Resource type: the resource types supported for authorization in this operation. Details:

    • Required resource types are marked with a preceding *.
    • For operations that do not support resource-level authorization, All resources is used.
  • Condition key: the condition keys defined by the cloud service itself.

  • Related operation: other permissions required to successfully perform the operation. The caller must have the permissions of the related operations at the same time for the operation to succeed.

Operation

Access level

Resource type

Condition key

Related operation

bailianvoicebot:ListVocabulary

list

*All resources

*

NoneNone

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

BusinessUnitId

string

No

The Bailian business unit ID.

llm-c11iig67g863rih8

Name

string

No

The vocabulary name.

Finance

PageNumber

integer

No

The page number.

1

PageSize

integer

No

The number of entries per page.

10

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

D771A1B6-3D5F-174A-BEE1-98CE1000D337

Code

string

The internal error code.

OK

HttpStatusCode

integer

The HTTP status code.

200

Message

string

The error message.

Instance llm-xdne77rxe14ziszr does not exist.

Data

object

The paginated data for the vocabulary list.

PageNumber

integer

The page number.

1

PageSize

integer

The number of entries per page.

10

TotalCount

integer

The total number of entries.

100

Vocabularies

array<object>

A list of vocabulary objects.

object

A vocabulary object.

VocabularyId

string

The vocabulary ID.

af81a389-91f0-4157-8d82-720edd02b66b

CreatedTime

integer

The creation time.

1754013825102

UpdatedTime

integer

The update time.

1754013825102

Name

string

The vocabulary name.

Finance scenario hot words

Description

string

The vocabulary description.

Contains finance scenario professional terms

InstanceId

string

The ID of the Bailian business unit.

af81a389-91f0-4157-8d82-720edd02b66a

TenantId

string

The ID of the tenant.

1308144684576655

WordCount

integer

The number of words in the vocabulary.

50

Params

array

A list of dynamic error parameters.

string

A dynamic error parameter.

llm-baployoyopf22m2r

Examples

Success response

JSON format

{
  "RequestId": "D771A1B6-3D5F-174A-BEE1-98CE1000D337",
  "Code": "OK",
  "HttpStatusCode": 200,
  "Message": "Instance llm-xdne77rxe14ziszr does not exist.",
  "Data": {
    "PageNumber": 1,
    "PageSize": 10,
    "TotalCount": 100,
    "Vocabularies": [
      {
        "VocabularyId": "af81a389-91f0-4157-8d82-720edd02b66b",
        "CreatedTime": 1754013825102,
        "UpdatedTime": 1754013825102,
        "Name": "金融场景热词",
        "Description": "包含金融场景专业术语",
        "InstanceId": "af81a389-91f0-4157-8d82-720edd02b66a",
        "TenantId": "1308144684576655",
        "WordCount": 50
      }
    ]
  },
  "Params": [
    "llm-baployoyopf22m2r"
  ]
}

Error codes

Visit the Error Center for more error codes.

Release notes

See Release Notes for a complete list.