---
title: "Prepare source provenance for your adoption intent [write]"
method: POST
path: "/consumer/artifact-adoptions/{sourceId}"
tags: ["artifacts"]
---

# Prepare source provenance for your adoption intent \[write\]

`POST /consumer/artifact-adoptions/{sourceId}`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/consumer/artifact-adoptions/{sourceId}`
- Auth: HTTP bearer

Requires an unrestricted personal owner write bearer or a platform-issued agent-use-web consumer bearer. Read-only, restricted, team, app, task, fixed-workspace and workspace-identity credentials are refused. Read and proof operations also require write scope. Ownership comes from the actual bearer and exactly one consumer identity mapping, never an input owner or email. The target stays inactive: no content is copied, no revision is committed and no writer is activated. Requires the actual source publisher, not a collaborator. Binds the concrete target/request and current content/sharing snapshot under the existing source writer lock. Existing pending bindings cannot be stolen; retire and cancel first. Normal content and sharing writers remain available and invalidate old proofs.

## Path parameters

- `sourceId` string, required

## Request body

- object
  - `target_id` string, required
  - `request_id` string, required

## Response `200`

Prepared inactive source proof

- InactiveArtifactSourceProof
  - `purpose` 'consumer_artifact_inactive_adoption', required
  - `source_namespace` 'agent-use', required
  - `source_id` string, required
  - `target_id` string, required
  - `request_id` string, required
  - `owner_user_id` string, required
  - `source_version` integer, required
  - `source_policy_revision` string, required
  - `binding_epoch` integer, required
  - `policy_version` unknown, required
  - `phase` 'adoption_pending', required

## Other responses

- `default`: Error — { error: { code, message } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/consumer/artifact-adoptions/:sourceId/post.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/0d435187cd55?raw)
