> For the complete documentation index, see [llms.txt](https://docs.caf.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.caf.io/caf-docs/user-guide/resolution-6/facial-biometrics/core-procedure/profile-insertion.md).

# Profile insertion

1. The peer receives a batch profile insertion procedure, where it receives multiple batches containing arrays of anonymized biometric assets and arrays of identifiers, where each item in the batch pertains to a different profile.
2. The peer inserts the identifiers it received and the anonymized biometric data into multiple new profiles.
3. The peer returns the operation result.

## Batch profile insertion (non-anonymized)

A Batch profile insertion (non-anonymized) is a proce where the peer receives an array of non-anonymized biometric data that's meant to be anonymized and then inserted as multiple profiles. This operation is best explained through the following diagram:

<figure><img src="/files/LpNQRQqFNwO0A4N93tYv" alt=""><figcaption></figcaption></figure>

1. The peer receives a batch profile insertion procedure, where it receives multiple batches containing arrays of non-anonymized biometric assets and arrays of identifiers, where each item in the batch pertains to a different profile.
2. The peer sends the non-anonymized biometric data to a queue, where these assets will be anonymized in the peer's facematch node.
3. The facematch node anonymizes all non-anonymized biometric assets it receives, and then return them to the queue.
4. The queue forwars these anonymized biometric assets back to the peer.
5. The peer inserts the identifiers it received and the anonymized biometric data into multiple new profiles.
6. The peer returns the operation result.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.caf.io/caf-docs/user-guide/resolution-6/facial-biometrics/core-procedure/profile-insertion.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
