---
title: "Move an agent and its routines to another owner"
method: POST
path: "/v1/org/personal-agents/{id}/transfer"
tags: ["Agents"]
---

# Move an agent and its routines to another owner

`POST /v1/org/personal-agents/{id}/transfer`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/org/personal-agents/{id}/transfer`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Admins only. Makes another member of the organization the owner of the agent and its routines. Schedules keep their next run time.

## Path parameters

- `id` string, required

## Request body

- TransferPersonalAgent
  - `memberId` string, required: The member who becomes the owner. They must be in the organization.

## Response `200`

Move an agent and its routines to another owner

- PersonalAgentAdminItem
  - `agent` PersonalAgent, required
    - `id` string, required
    - `organizationId` string, required
    - `ownerMemberId` string, required
    - `memberId` string, nullable
    - `name` string, required
    - `state` 'active' | 'archived', required
    - `currentRevisionId` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `archivedAt` string, date-time, nullable, required
    - `pausedAt` string, date-time, nullable: Set while an organization admin has paused the agent: nothing of it runs until it is resumed.
  - `owner` PersonalAgentPerson, required
    - `memberId` string, required
    - `name` string, required
  - `sharedWith` PersonalAgentShare[], required
    - `memberId` string, required
    - `name` string, required
    - `role` 'manager' | 'collaborator', required
    - `createdAt` string, date-time, required
  - `writeAccess` object, required: How many tools its policy names as allow, ask and block.
    - `allowed` integer, required
    - `ask` integer, required
    - `blocked` integer, required
  - `toolPolicy` PersonalAgentToolPolicy
    - `connections` object
    - `tools` object
  - `spend` PersonalAgentSpend, required
    - `monthMicros` integer, required
    - `unpricedTokens` integer, required
    - `budgetMicros` integer, nullable, required: Monthly spending limit in millionths of a US dollar. Recorded now; not enforced yet.
    - `ownerBudgetMicros` integer, nullable, required: Monthly spending limit in millionths of a US dollar. Recorded now; not enforced yet.
    - `adminBudgetMicros` integer, nullable, required: Monthly spending limit in millionths of a US dollar. Recorded now; not enforced yet.
    - `overBudget` boolean, required
  - `routines` PersonalAgentRoutineSummary[], required
    - `id` string, required
    - `name` string, required
    - `state` 'active' | 'inactive' | 'needs_attention' | 'archived', required
    - `schedule` union, required
      - object
        - `kind` 'once', required
        - `timezone` string, required
        - `at` integer, required
      - object
        - `kind` 'daily', required
        - `timezone` string, required
        - `hour` integer, required
        - `minute` integer, required
      - object
        - `kind` 'weekly', required
        - `timezone` string, required
        - `daysOfWeek` integer[], required
        - `hour` integer, required
        - `minute` integer, required
      - object: Every everyHours hours on the hour, counted from startHour on each listed day (0 = Sunday) and stopping before endHour, in timezone. Needs the organization's every-few-hours schedules.
        - `kind` 'interval', required
        - `timezone` string, required
        - `everyHours` integer, required
        - `daysOfWeek` integer[]
        - `startHour` integer
        - `endHour` integer
      - object: Runs offsetMinutes (negative is before) from the start or end of each meeting on the owner's primary Google Calendar: timed meetings they accepted or organize, with someone else invited. Cloud Automations only; needs Google Calendar connected and the organization's before-and-after-meeting Automations.
        - `kind` 'calendar', required
        - `timezone` string, required
        - `edge` 'start' | 'end', required
        - `offsetMinutes` integer, required
        - `rule` object
          - `withExternalAttendees` boolean
          - `titleIncludes` string
      - object
        - `kind` 'event', required
    - `nextDueAt` string, date-time, nullable, required
    - `latestRun` object, nullable, required
      - `id` string, required
      - `status` 'queued' | 'claimed' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'skipped', required
      - `createdAt` string, date-time, required
      - `finishedAt` string, date-time, nullable, required
  - `audience` PersonalAgentAudience
    - `organization` boolean, required
    - `autoAddOrganization` boolean, required
    - `teams` object[], required
      - `teamId` string, required
      - `name` string, required
      - `autoAdd` boolean, required

## Other responses

- `400`: Invalid request.
- `404`: Not found.

## Changes

- **2026-12-02** `b20ab6931f6a`: 1 breaking
  - added `subschema #6` to the `routines/items/schedule` response property `oneOf` list for the response status `200`
- **2026-12-01** `fc62630feaff`: 1 info
  - added the optional property `toolPolicy` to the response with the `200` status
- **2026-11-30** `8084fcf7429e`: 1 info
  - added the optional property `agent/memberId` to the response with the `200` status
- **2026-11-26** `bc0092687a7b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/org/personal-agents/:id/transfer/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
