SUD

LLM AI creation result notification

Event: sud.mg.merchant.llm.ai.create.result

Description

  • LLM AI creation result notification

Callback URL

This event is sent to the configured notify_url. Your application server uses notify_event to identify the event type and process its data object. Contact SUD to enable the required events. See Event notification callbacks for configuration information.

Request method

  • Protocol: HTTPS
  • Method: POST
  • Request body format: JSON

Callback signature verification

Verify requests according to the callback signature specification to ensure data integrity.

Request parameters

Additional request fields may be introduced. Your application server must accept unknown fields.

Parameter Required Type Description Example
notify_id Yes string Notification ID 0795d77f85789da0eb387a5096
notify_time Yes string Server timestamp when the notification is sent, in milliseconds 1647834452408
app_id Yes string Recipient application ID 1
notify_event Yes string Notification event sud.mg.merchant.llm.ai.create.result
data Yes AICreateResultModel Notification data {}

data object (AICreateResultModel)

Parameter Required Type Description Example
mg_id Yes string Game ID 14615640800525066
room_id Yes string Room ID 9009
uid Yes string User UID xxx
biz_error_code Yes int32 Error code 0
biz_error_msg No string Error message xxx

Request example

{
  "notify_id": "xxx",
  "notify_time": "1749635780743",
  "app_id": "xxx",
  "notify_event": "sud.mg.merchant.llm.ai.create.result",
  "data": {
    "mg_id": "xxx",
    "room_id": "xxx",
    "uid": "xxx",
    "biz_error_code": 0,
    "biz_error_msg": ""
  }
}

Response parameters

Parameter Required Type Description Example
ret_code Yes int32 Response code: 0 indicates success; nonzero indicates failure 0
ret_msg Yes string Response message SUCCESS

Response example

{
  "ret_code": 0,
  "ret_msg": "SUCCESS"
}

results matching ""

    No results matching ""