Amplitude
communityProduct analytics platform for tracking user behavior, building funnels, and measuring retention.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://api2.amplitude.com/2/httpapiTrack a user event
Parameters
eventsarray of {user_idrequired— event_type, event_properties, time} (arrayapi_keyproject API key (stringrequiredReturns
code, events_ingested, payload_size_bytesGET
https://amplitude.com/api/2/exportExport raw event data
Parameters
endYYYYMMDDTHH (stringrequiredstartYYYYMMDDTHH (stringrequiredReturns
gzipped JSON lines with event_type, user_id, event_properties, event_time, device infoGET
https://amplitude.com/api/2/useractivityGet user event timeline
Parameters
useruser ID (stringrequiredlimitevents (integeroptionalReturns
events[] with event_type, event_time, event_properties, user_properties, device_info