Preview the 1Password backfill
curl --request GET \ --url https://example.com/api/v1/onepassword/backfill/preview \ --header 'Authorization: Bearer <token>'Lists what the backfill would do now to the vaults of active companies with the Client status (never leads): the vaults it creates, and per vault the team groups that get access, change level, or lose it because their team is not assigned to the company. For a vault created before Chelsea recorded each group’s access (vault: check), the groups it lists to remove lose access only where they have it today. Reads only the database, never 1Password. Requires settings.manage. Never reads or returns anything stored in a vault.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”What the backfill would change.
object
What the backfill would change now, to confirm before it runs.
object
The companies with something to change, by name.
object
Groups of the assigned teams that get access (for check, where missing).
object
The team whose group it is; null for the group of a deleted team.
Groups whose access level changes to their team’s.
object
The team whose group it is; null for the group of a deleted team.
Groups of teams not assigned to the company that lose access (for check, only where they have it today).
object
The team whose group it is; null for the group of a deleted team.
create makes the missing vault; check first reads from 1Password which groups an older vault holds; sync follows what Chelsea already recorded.
The most 1Password changes it can take.
Active companies with the Client status the backfill covers.
Names the removals this preview lists for older vaults (check). Send it to start the backfill, which takes from an older vault only the groups listed here.
About how many hours the changes take within 1Password’s hourly limit.
Example
{ "data": { "companies": [ { "add": [ { "accessLevel": "VIEW" } ], "change": [ { "accessLevel": "VIEW" } ], "remove": [ { "accessLevel": "VIEW" } ], "vault": "create" } ] }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC