For AI agents: a documentation index is available at /docs/llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.
Check recent event ingestion
Checks whether events reached an Amplitude project during a recent time
window. Provide event_type to check one exact event type, or omit it to
check for any event. The default lookback is 10 minutes. The returned
window can begin up to five minutes earlier so the evaluation covers the
complete starting interval.
observed means at least one matching event was found. not_observed
means no matching event was found in the evaluated window. inconclusive
means no matching event was found, but complete recent data was not
available to confirm its absence. Use the returned window when reporting
or comparing results.
This POST computes a result and does not mutate state, so it does not
require an Idempotency-Key.
Provide polling_timeout_seconds to request server polling guidance.
While another check is advised, successful responses includepoll_after_seconds; its omission means clients should stop polling.
/v1/projects/{project_id}/events/check-recent-ingestionAuthorizations
Authorizationstringrequiredhttp
Path parameters
project_idstringrequiredAmplitude project identifier, backed by the canonical app ID.
12345pattern: ^[0-9]+$Body
application/jsonevent_typestringExact event type to check. Omit to check for any event.
pattern: \Slookback_minutesintegerNumber of recent minutes to evaluate. The returned window can begin up to five minutes earlier to cover the complete starting interval.
10min: 1max: 1440polling_timeout_secondsintegerMaximum polling window requested by the caller. Clients should complete the initial check even if it exceeds this window and use the window only to limit subsequent polls. Its presence requests polling guidance; it is not an HTTP request timeout, and each HTTP request performs one check.
min: 1max: 120Response
application/jsondataobjectrequiredShow child attributes
idstringrequiredIdentifier for this ingestion check.
objectstringrequiredResource-type discriminator. Always recent_event_ingestion_check.
project_idstringrequiredpattern: ^[0-9]+$event_typestringEvent type evaluated. Omitted when the request checked for any event.
statusstringrequiredobserved when at least one matching event was found; not_observed
when none was found; inconclusive when none was found but complete
recent data was unavailable.
observednot_observedinconclusivecountnumberrequiredNumber of matching events found in the evaluated window.
min: 0poll_after_secondsintegerMinimum seconds to wait before the next ingestion check. Returned only when polling was requested and another check is advised. Its omission means the server does not advise another check.
min: 1windowobjectrequiredstartstringrequiredStart of the evaluated window.
format: date-timeendstringrequiredEnd of the evaluated window.
format: date-timebasisstringrequiredTime basis for the window. server_upload_time measures when an
event reached Amplitude.
operation_not_enabled means the
operation is not enabled for the caller's organization;
insufficient_scope means the token lacks analytics:read.
typestringrequiredformat: urititlestringrequiredstatusintegerrequiredmin: 400max: 599detailstringnullableinstancestringformat: urinullableerror_codestringrequiredretryablebooleanrequiredretry_after_secondsintegernullablemin: 0validation_errorsobject[]nullableevent_type_not_queryable, unreliable_dataset_response, or
upstream_error as the error_code.
typestringrequiredformat: urititlestringrequiredstatusintegerrequiredmin: 400max: 599detailstringnullableinstancestringformat: urinullableerror_codestringrequiredretryablebooleanrequiredretry_after_secondsintegernullablemin: 0validation_errorsobject[]nullabletypestringrequiredformat: urititlestringrequiredstatusintegerrequiredmin: 400max: 599detailstringnullableinstancestringformat: urinullableerror_codestringrequiredretryablebooleanrequiredretry_after_secondsintegernullablemin: 0validation_errorsobject[]nullableWas this helpful?