Skip to main content
PATCH
Archive or restore runs and replace their tags. Any project member or project or organization API key with access to the project can update runs; no additional run permission is required. Test-scoped tokens cannot update runs.

Request body

string[]
required
One to 100 unique multiplayer run IDs from the project. If any ID is missing or belongs to another project, the request returns 404 and no runs are updated.
boolean
Set to true to archive the runs, or false to restore them. Omit to leave archive status unchanged.
string[]
Replace the tags on every selected run. Pass an empty array to clear them; omit to leave tags unchanged.
Supply archived, tags, or both. Unknown fields are rejected. Archiving does not stop or delete runs or remove their artifacts; archived runs remain accessible by ID and in test-plan results.

Response

The response contains the updated run_ids and the supplied fields. For example, an archive-only request returns run_ids and archived; a tags-only request returns run_ids and tags.
To find archived runs, use GET /runs with archived=true. To restore them, send the same request with archived: false.

Authorizations

X-Api-Key
string
header
required

API key for authentication

Path Parameters

projectId
string
required

The project ID. You can copy it from the project settings page or the project URL in the dashboard.

Body

application/json
run_ids
string[]
required

Unique multiplayer run IDs in the project.

Required array length: 1 - 100 elements
Minimum string length: 1
archived
boolean
required

True archives the runs; false restores them.

tags
string[]

Replaces each run's tags. An empty array clears all tags.

Response

Updated runs and supplied fields

run_ids
string[]
required
archived
boolean
tags
string[]