v14
latestOpenAPI 3.0.32026-08-04377889.4 MBList User Events
Retrieves a list of "events" generated by the User on Vercel. Events are generated when the User performs a particular action, such as logging in, creating a deployment, and joining a Team (just to name a few). When the teamId parameter is supplied, then the events that are returned will be in relation to the Team that was specified.
Query parameters
Maximum number of items which may be returned.
Maximum number of items which may be returned.
Timestamp to only include items created since then.
Timestamp to only include items created since then.
Timestamp to only include items created until then.
Timestamp to only include items created until then.
Comma-delimited list of event "types" to filter the results by.
Comma-delimited list of event "types" to filter the results by.
Deprecated. Use principalId instead. If principalId and userId both exist, principalId will be used.
Deprecated. Use principalId instead. If principalId and userId both exist, principalId will be used.
When retrieving events for a Team, the principalId parameter may be specified to filter events generated by a specific principal.
When retrieving events for a Team, the principalId parameter may be specified to filter events generated by a specific principal.
Comma-delimited list of project IDs to filter the results by.
Comma-delimited list of project IDs to filter the results by.
When set to true, the response will include the payload field for each event.
When set to true, the response will include the payload field for each event.
The Team identifier to perform the request on behalf of.
The Team slug to perform the request on behalf of.
Response
Successful response.
Example response
{
"events": [
{
"id": "uev_bfmMjiMnXfnPbT97dGdpJbCN",
"text": "You logged in via GitHub",
"entities": [
{
"type": "author",
"end": 3
}
],
"type": "login",
"categories": [
"deployment"
],
"createdAt": 1632859321020,
"userId": "zTuNVUXEAvvnNN3IaqinkyMw",
"payload": {
"created": "2021-02-10T13:11:49.180Z",
"key": "my-api-key",
"ownerId": "team_LLHUOMOoDlqOp8wPE4kFo9pE",
"id": "env_XCG7t7AIHuO2SBA8667zNUiM",
"createdBy": "2qDDuGFTWXBLDNnqZfWPDp1A",
"deletedBy": "2qDDuGFTWXBLDNnqZfWPDp1A",
"updatedBy": "2qDDuGFTWXBLDNnqZfWPDp1A",
"createdAt": 1609492210000,
"deletedAt": 1609492210000,
"updatedAt": 1609492210000,
"projectId": [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrasEFg"
],
"type": "encrypted",
"target": [
"production"
]
}
}
]
}