Skip to main content
GET
Python
Search events by tags.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
required

The ID of the user

Query Parameters

tags
string

Comma-separated list of tag names that events must have (e.g.'emotion,romance')

tag_values
string

Comma-separated tag=value pairs for exact matches (e.g., 'emotion=happy,topic=work')

topk
integer
default:10

Number of events to retrieve, default is 10

Response

Successful Response

data
UserEventsData · object | null

Response containing user events

errno
enum<integer>
default:0

Error code, 0 means success

Available options:
0,
400,
401,
403,
404,
405,
409,
422,
500,
501,
502,
503,
504,
520
errmsg
string
default:""

Error message, empty when success