AgentClaimResponse
Describes an agent account being claimed: the agent itself, the inventory of Pulumi entities it owns in the source organization, and the conflicts or failures that prevent the claim from completing. Preview and commit share this shape so the UI can render the same view for both.
Properties
- Identity and metadata for the agent account being claimed.
- ↳
loginstring requiredThe agent user’s Pulumi login (e.g. “agent-abc123”). This is what pulumi whoami returns while the agent’s access token is in use. - ↳
orgNamestring requiredSlug of the agent’s individual organization. This appears in the/ / identity of any stack the agent created. - ↳
createdAtstring requiredWhen the agent account was created (i.e. when /api/agents/signup ran). - Inventory of Pulumi entities owned by the agent in the source organization. If the claim completes, these transfer to the destination organization. A non-empty conflicts or failures list prevents the claim from completing.
- ↳
kindstring required - Name collisions with the destination organization that the client can resolve by supplying conflictsResolution in a follow-up request. Both preview and a blocked commit return 200 with this body populated; the commit does not mutate state when any conflict is present.
- ↳
kindstring required - Entities the service cannot transfer (e.g. ESC environments and Insights accounts at launch, which have no transfer primitive yet). Unlike conflicts, failures are not user-resolvable.
- The reference of the entity that cannot be transferred.
- ↳
failureDetailsstring requiredService-side reason the entity cannot be transferred. claimExpiresAtstring requiredWhen the claim window closes. After this time the claim token expires and the claim cannot complete.transferTokenstring optionalOn successful start of a claim, the token needed to check for progress.
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.