# Attribution By Embedding (irreversible vectors - self-hosted)

This API integration should take place after completing the installation of the attribution model, according to this reposetory: Bria Attribution GitHub.

Endpoint: POST /v2/image/attribution/by_embedding
Security: 

## Request fields (application/json):

  - `embeddings_base64` (array, required)
    List of base64-encoded embeddings

  - `model_version` (string, required)
    Version of the model to use
    Enum: "2.3", "3.0", "3.2", "4.0"

  - `embeddings_uid` (string)
    Optional unique identifier for embeddings

  - `model_name` (string)
    Optional model name

## Response 202 fields (application/json):

  - `request_id` (string, required)

  - `status_url` (string, required)

## Response 400 fields (application/json):

  - `error` (object, required)

  - `error.code` (integer, required)
    Example: 123

  - `error.message` (string, required)

  - `error.details` (string, required)

  - `request_id` (string, required)


