Tüm Ürünler
Search
Belge Merkezi

:CreateAgentConfig

Son Güncelleme:Oct 12, 2026

Bir bileşen yapılandırması oluşturur.

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 /api/v1/am/agent/createAgentConfig HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

İstek gövdesi.

agentId

string

Yes

Yapılandırma için bileşenin kimliği. Bileşen kimliğini ListAgents'tan alabilirsiniz.

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

configName

string

Yes

Yapılandırmanın adı.

Configuration 1

content

string

Yes

Yapılandırmanın içeriği.

{"oomkill":{"enable":false}}

Response elements

Element

Type

Description

Example

object

Yanıt şeması.

code

string

Durum kodu.

  • code == Success ise yetkilendirme başarılıdır.

  • Diğer durum kodları yetkilendirmenin başarısız olduğunu gösterir. Yetkilendirme başarısız olursa, ayrıntılı hata mesajı için message alanını kontrol edin.

Success

data

object

Döndürülen veriler.

configId

string

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

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

message

string

Hata mesajı.

  • code == Success ise bu alan boştur.

  • Aksi takdirde, bu alan isteğin hata mesajını içerir.

Requests for llm service failed

requestId

string

İstek kimliği.

2D693121-C925-5154-8DF6-C09A8B369822

Examples

Success response

JSON format

{
  "code": "Success",
  "data": {
    "configId": "4d5ecf02-3d01-11f0-8c90-00163e1029af"
  },
  "message": "Requests for llm service failed\n",
  "requestId": "2D693121-C925-5154-8DF6-C09A8B369822\n"
}

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.