Updated on 2025-03-31 GMT+08:00

Interface for Querying Top 10 Hot Robot Information

Interface Method

POST

URL

https://IP:PORT/oifde/rest/api/queryChatbotHotspotData

Request

Table 1 Parameters in the request body

Parameter

Type

Position

Mandatory

Description

type

String

Body

Yes

Query type.

  • day: Report data on a specified date is queried by day.
  • month: Report data of the last 30 days is queried by month. The end time is one day after the timestamp.

tenantId

String

Body

Yes

Tenant ID.

timestamp

Long

Body

Yes

Timestamp of the query date, in milliseconds.

authToken

String

Body

Yes

Authentication token.

For details, see C3 OIAP Interface Authentication.

Response

Parameter

Type

Position

Mandatory

Description

-

HotspotData[]

Body

Yes

Top 10 hot robot invoking information.

Table 2 HotspotData

Parameter

Mandatory

Type

Description

name

Yes

String

Robot access code.

count

Yes

Integer

Robot access volume.

Example

  • Request
    {
        "tenantId":"202104237142",
        "timestamp":1630684800000,
        "type": "month",
        "authToken":"0kQl*******************FhoyDy"
    }
  • Response
    [
        {
            "name": "947988117535592448",
            "count": 19
        },
        {
            "name": "943382168053223424",
            "count": 10
        },
        {
            "name": "943372803514568704",
            "count": 4
        },
        {
            "name": "940757366746386432",
            "count": 4
        },
        {
            "name": "943218432118099968",
            "count": 4
        },
        {
            "name": "947918435541585920",
            "count": 4
        },
        {
            "name": "942949731485618176",
            "count": 3
        },
        {
            "name": "950966390083293184",
            "count": 3
        },
        {
            "name": "943370855474270208",
            "count": 2
        },
        {
            "name": "942919556320464896",
            "count": 1
        }
    ]