Skip to Content

POST /attempt/archive

Archive Attempts

Bulk archive or unarchive attempts (simulation or benchmark).

Request Body (ArchiveAttemptsRequest)

FieldTypeRequiredDescription
archivedbooleanYesWhether to archive (true) or unarchive (false)
attempt_idsstring[]NoSpecific attempt UUIDs to archive
start_datestringNoStart date for filter-based archive
end_datestringNoEnd date for filter-based archive
cohort_idsstring[]NoCohort UUIDs to filter by
department_idsstring[]NoDepartment UUIDs to filter by
simulation_idsstring[]NoSimulation UUIDs to filter by
scenario_idsstring[]NoScenario UUIDs to filter by
profile_ids_filterstring[]NoProfile UUIDs to filter by
infinite_modebooleanNoFilter by infinite mode status
idempotency_keystringNoIdempotency key — replays the prior call; on the ack, the server-minted soft key to activate/reject a staged archive
softbooleanNoStage the archive dormant (active=False); accept activates the whole set
acceptbooleanNoAck: True activates the staged archive, False rejects. Only meaningful with idempotency_key

Response (ArchiveAttemptsResponse)

FieldTypeRequiredDescription
updated_countintegerNoNumber of attempts updated
profile_ids_to_invalidatestring[]NoProfile IDs whose caches need invalidation
idempotency_keystringNoServer-minted soft-call key (audit call_id). On a soft propose, echo this back with accept to activate/reject the staged archive.
Last updated on