Skip to Content
API ReferenceTestPOST /archive

POST /test/archive

Archive Test Artifacts

Archive or unarchive benchmark tests by IDs.

Request Body (ArchiveTestsRequest)

FieldTypeRequiredDescription
test_idsstring[]YesUUIDs of tests to archive/unarchive
archivedbooleanNoWhether to archive or unarchive
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 (ArchiveTestsResponse)

FieldTypeRequiredDescription
updated_countintegerNoNumber of tests updated
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