Skip to main content
GET
/
v1
/
streams
/
{id}
/
top-words
Top words
curl --request GET \
  --url http://localhost:8787/v1/streams/{id}/top-words \
  --header 'Authorization: Bearer <token>'
[
  {
    "word": "<string>",
    "count": 123
  }
]

Authorizations

Authorization
string
header
required

Optional bearer token enforced when the Worker is configured with an API token.

Path Parameters

id
string
required

Query Parameters

limit
integer
default:50

Number of rows to return.

Required range: 1 <= x <= 200

Response

Successful response

word
string
required
count
integer
required