---
title: "Teach Imprint From Document"
method: POST
path: "/api/imprints/from-document"
tags: ["imprints"]
---

# Teach Imprint From Document

`POST /api/imprints/from-document`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/imprints/from-document`
- Auth: none declared

Teach the Mind from a document already in the caller's folders.

Bridges folder → Mind without a re-upload: the document's already-extracted
text becomes an imprint (a Mind source), reusing the same extraction pipeline
as an uploaded Teach. The document itself stays in the folder unchanged.
Idempotent — re-imprinting identical content returns the existing imprint.

Document visibility is resolved against the CALLER, not the target Mind
(TOS-2424): teaching one of your own documents to an agent you own is the
point of the feature, and the agent generally cannot see your folder.

## Query parameters

- `for_identity_id` string, uuid, nullable

## Headers

- `x-ingest-key` string, nullable
- `authorization` string, nullable
- `x-impersonate-identity-id` string, nullable

## Request body

- ImprintFromDocumentRequestV1: Teach the Mind from a document already in the user's folders.
  - `document_id` string, uuid, required
  - `belief_origin` string

## Response `201`

Successful Response

- ImprintTeachResultV1
  - `id` string, required
  - `title` string, nullable, required
  - `filename` string, required
  - `belief_origin` string, required
  - `extraction_status` string, required
  - `belief_count` integer, required
  - `source_version` integer, required
  - `created_at` string, date-time, required
  - `has_original` boolean
  - `library_copy_status` 'created' | 'failed' | 'not_requested', required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/ce2c2ce318b1?raw)
