Schedule event deletions and blocks
このページはまだあなたの言語に翻訳されていません。 現在取り組んでいますので、後でもう一度確認してください。
Each event_type must already exist on the project and may appear only once
in items. Update and cancel take scheduled-action ids, so they do not look
up the event again.
One pending scheduled action is allowed per event type. If that event
already has a pending deletion or block, cancel it before creating another.
The whole request fails if any item cannot be created.
/v1/projects/{project_id}/scheduled-event-actionsAuthorizations
Authorizationstringrequiredhttp
Path parameters
project_idstringrequiredAmplitude project identifier, backed by the canonical app ID.
12345pattern: ^[0-9]+$Header parameters
Idempotency-KeystringrequiredRequired on write operations. Keys aren't stored yet, so retrying a write with the same key performs it again; a retried create makes another resource. Check whether the first attempt succeeded before you retry.
min length: 8max length: 255Body
application/jsonitemsobject[]requiredShow child attributes
event_typestringrequiredmin length: 1actionstringrequiredWork to apply when target_date arrives. delete removes the event from
the tracking plan (soft-delete if ingested). block stops ingestion.
deleteblockdays_from_nowintegerrequiredDays until the action runs. The server computes target_date.
min: 1Response
application/jsondataobject[]requiredShow child attributes
idstringrequiredStable scheduled-action identifier.
objectstringrequiredResource-type discriminator. Always scheduled_event_action.
project_idstringrequiredpattern: ^[0-9]+$event_typestringrequireddisplay_namestringrequiredEvent display name when known; otherwise equal to event_type.
actionstringrequiredWork to apply when target_date arrives. delete removes the event from
the tracking plan (soft-delete if ingested). block stops ingestion.
deleteblocktarget_datestringrequiredformat: date-timestatusstringrequiredLifecycle of a scheduled event action. List defaults to pending.
pendingcanceledcompletedcreated_atstringrequiredWhen the action was scheduled.
format: date-timecreated_bystringrequiredLogin id of the user who scheduled the action.
これは役に立ちましたか?
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.