All Products
Search
Document Center

EventBridge:GetLumaKnowledgeBase

Last Updated:Sep 15, 2026

Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.

Operation description

Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.

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

AgentName

string

Yes

The name of the Agent.

my_agent

Catalog

string

Yes

The name of the data catalog bound to the Agent. You can call ListLumaCatalogs to obtain this value.

my_catalog

Namespace

string

Yes

The name of the namespace bound to the Agent. You can call ListLumaNamespaces to obtain this value.

my_namespace

KnowledgeBaseName

string

Yes

The name of the knowledge base bound to the Agent. You can call ListLumaKnowledgeBases to obtain this value.

my-knowledge-base

Response elements

Element

Type

Description

Example

object

Message

string

The message returned by the operation. The value is Operation success when the call succeeds, or a specific error description when the call fails.

Operation success

RequestId

string

The unique identifier of the request, used for troubleshooting and ticket feedback.

34AD682D-5B91-5773-8132-AA38C130****

Data KnowledgeBase

The details of the knowledge base bound to the Agent.

Code

string

The response code returned by the operation. A value of Success indicates a successful call. Otherwise, a specific error code is returned.

Success

Success

boolean

Indicates whether the call was successful. A value of true indicates success.

true

Examples

Success response

JSON format

{
  "Message": "Operation success",
  "RequestId": "34AD682D-5B91-5773-8132-AA38C130****",
  "Data": {
    "Catalog": "my_catalog",
    "ChunkConfiguration": {
      "HeadingLevel": 2,
      "MaxChunkSize": 600,
      "OverlapSize": 40,
      "PreprocessRules": {
        "RemoveUrlsAndEmails": false,
        "ReplaceConsecutiveWhitespace": true
      },
      "Separator": "\\\\n\\\\n",
      "Strategy": "BY_SEPARATOR"
    },
    "CreatedAt": "2026-08-24T10:00:00Z",
    "Description": "Product documentation knowledge base",
    "EmbeddingDimension": 1024,
    "EmbeddingModel": "text-embedding-v4",
    "FailureReason": "OssException: BucketAlreadyExists ...",
    "KnowledgeBaseName": "product-docs",
    "MetadataSchema": [
      {
        "Name": "department",
        "Type": "STRING",
        "Value": "EventHouse",
        "ValueMode": "CONSTANT"
      }
    ],
    "Namespace": "my_namespace",
    "SearchConfiguration": {
      "Mode": "HYBRID",
      "RankAlgorithm": "RRF",
      "RerankEnabled": false,
      "RerankModel": "qwen3-rerank",
      "RrfK": 60,
      "TopK": 20,
      "VectorWeight": 0.7
    },
    "Status": "ACTIVE",
    "UpdatedAt": "2026-08-24T10:00:00Z"
  },
  "Code": "Success",
  "Success": true
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter The specified parameter is invalid
403 ServiceNotEnable Service not enable
404 AgentNotFound Agent not found
404 ResourceNotFound The specified resource is not bound to the agent

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.