Tüm Ürünler
Search
Belge Merkezi

:GetAgentConfig

Son Güncelleme:Oct 12, 2026

Bileşen yapılandırmalarını getirir.

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

GET /api/v1/am/agent/getAgentConfig HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

agentId

string

Yes

Yapılandırmalarını getirmek istediğiniz bileşenin kimliği.

74a86327-3170-412c-8e67-da3389ec56a9

configName

string

No

Yapılandırmanın adı.

Configuration-x

configId

string

No

Getirilecek bileşen yapılandırmasının kimliği.

4d5ecf02-3d01-11f0-8c90-00163e1029af

current

string

No

Geçerli sayfa numarası. Bu alan, sayfa tabanlı sayfalama kullanıldığında kullanılabilir.

1

pageSize

string

No

Her sayfada döndürülecek giriş sayısı. Varsayılan değer: 10.

10

region

string

No

Bölge kimliği.

cn-hangzhou

Response elements

Element

Type

Description

Example

object

Yanıt şeması.

code

string

Durum kodu.

Success

data

array<object>

Döndürülen veriler.

array<object>

Döndürülen veriler.

configId

string

Bileşen yapılandırmasının kimliği.

4d5ecf02-3d01-11f0-8c90-00163e1029af

configName

string

Yapılandırmanın adı.

Configuration-x

configType

string

Yapılandırmanın türü.

Custom

content

string

Sohbet içeriğinin metni.

The specific content of the copilot reply

createdAt

string

Oluşturulma zamanı.

2026-07-10T17:57:10

resource

object

Yapılandırmanın uygulandığı kaynaklara ilişkin bilgiler.

cluster

integer

Yapılandırmanın uygulandığı kümelerin sayısı.

0

node

integer

Yapılandırmanın uygulandığı düğümlerin sayısı.

0

updatedAt

string

Güncellenme zamanı.

2026-07-10T17:57:10

message

string

Hata mesajı.\n- code == Success ise bu alan boştur.\n- Aksi takdirde, bu alan isteğin hata mesajını içerir.

SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom

requestId

string

İstek kimliği.

2D693121-C925-5154-8DF6-C09A8B369822

total

integer

Döndürülen kayıt sayısı.

10

Examples

Success response

JSON format

{
  "code": "Success",
  "data": [
    {
      "configId": "4d5ecf02-3d01-11f0-8c90-00163e1029af",
      "configName": "配置-x",
      "configType": "Custom",
      "content": "copilot回复的具体内容",
      "createdAt": "2026-07-10T17:57:10",
      "resource": {
        "cluster": 0,
        "node": 0
      },
      "updatedAt": "2026-07-10T17:57:10"
    }
  ],
  "message": "SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom",
  "requestId": "2D693121-C925-5154-8DF6-C09A8B369822",
  "total": 10
}

Error codes

HTTP status code

Error code

Error message

Description

400 Sysom.ServerError Server error, please correct the code according to the error message. %s. Bir sunucu hatası oluştu. Hata mesajına göre kodunuzu değiştirin.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.