agents
Agent Adopt
Human takes over an agent account IN PLACE. Auth = the human’s Firebase ID token.
Called by the web app’s adopt page after the human signs in. Verifies the
human’s Firebase identity (WITHOUT the get-or-create middleware, to avoid
minting a duplicate row), then re-points the agent account row to that
identity — users.id is preserved, so the agent’s documents, usage, and API
key all stay. If the human already has an account, returns 409.
POST
Agent Adopt
Headers
Body
application/json
Response
Successful Response
Agent Adopt

