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.
Remove sessions from an Agent Analytics dataset
このページはまだあなたの言語に翻訳されていません。 現在取り組んでいますので、後でもう一度確認してください。
Removes sessions from a dataset. The sessions themselves are untouched;
only their dataset membership is removed. Sessions that are not in the
dataset are ignored, so the call is safe to repeat.
Takes the same body as the add operation, so an add is undone in one call
rather than one call per session. dry_run=true validates the dataset and
the session ids without mutating, returning 204 on a hit and 404 if the
dataset does not exist.
/v1/projects/{project_id}/agent-analytics/datasets/{dataset_id}/sessionsAuthorizations
Authorizationstringrequiredhttp
Path parameters
project_idstringrequiredAmplitude project identifier, backed by the canonical app ID.
12345pattern: ^[0-9]+$dataset_idstringrequiredStable dataset identifier, returned by create or by the Agent Analytics read surface.
Query parameters
dry_runbooleanValidate request without performing mutation.
falseHeader parameters
Idempotency-KeystringrequiredUnique idempotency key used to safely retry write operations.
min length: 8max length: 255Body
application/jsonsession_idsstring[]requiredSession identifiers. All must belong to the path project.
Response
application/jsonこれは役に立ちましたか?