Records an artifacts cache usage event. The body of this request is an array of cache usage events. The supported event types are HIT and MISS. The source is either LOCAL the cache event was on the users filesystem cache or REMOTE if the cache event is for a remote cache. When the event is a HIT the request also accepts a number duration which is the time taken to generate the artifact in the cache.
Default authentication mechanism
The continuous integration or delivery environment where this artifact is downloaded.
50"VERCEL"
1 if the client is an interactive shell. Otherwise 0
0 <= x <= 10
The Team identifier to perform the request on behalf of.
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
The Team slug to perform the request on behalf of.
"my-team-url-slug"
A UUID (universally unique identifer) for the session that generated this event.
One of LOCAL or REMOTE. LOCAL specifies that the cache event was from the user's filesystem cache. REMOTE specifies that the cache event is from a remote cache.
LOCAL, REMOTE One of HIT or MISS. HIT specifies that a cached artifact for hash was found in the cache. MISS specifies that a cached artifact with hash was not found.
HIT, MISS The artifact hash
"12HKQaOmR5t5Uy6vdcQsNIiZgHGB"
The time taken to generate the artifact. This should be sent as a body parameter on HIT events.
400
Success. Event recorded.