---
updatedAt: 2026-01-28T20:52:08.000Z
agentTools:
  projectIndex: https://developer.vyasa.com/llms.txt
---

# Create embeddings for documents in a saved list

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Layar API Documentation",
    "version": "1.927.8",
    "contact": {
      "name": "Certara AI Support",
      "email": "AI-Support@Certara.com",
      "url": "https://vyasa.readme.io/"
    }
  },
  "servers": [
    {
      "url": "BASE_PATH"
    }
  ],
  "paths": {
    "/layar/savedList/{id}/createEmbeddings": {
      "post": {
        "operationId": "createEmbeddingsForSavedList",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEmbeddingsCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "$ref": "#/components/schemas/AsyncJob"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          }
        },
        "summary": "Create embeddings for documents in a saved list",
        "tags": [
          "savedList"
        ]
      }
    }
  },
  "tags": [
    {
      "description": "Saved Lists",
      "name": "savedList"
    }
  ],
  "components": {
    "schemas": {
      "AsyncJob": {
        "title": "AsyncJob",
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/JobStatus"
          },
          "statusMessage": {
            "type": "string"
          },
          "percentComplete": {
            "type": "number",
            "format": "double"
          },
          "attributes": {
            "type": "object"
          }
        }
      },
      "JobStatus": {
        "title": "JobStatus",
        "enum": [
          "RUNNING",
          "COMPLETE",
          "ERROR",
          "CANCELED"
        ],
        "type": "string"
      },
      "CreateEmbeddingsCommand": {
        "title": "CreateEmbeddingsCommand",
        "type": "object",
        "properties": {
          "forceRefresh": {
            "type": "boolean"
          },
          "retryFailed": {
            "type": "boolean"
          },
          "provider": {
            "type": "string",
            "deprecated": true
          },
          "overwriteEmbeddings": {
            "type": "boolean"
          },
          "embedder": {
            "type": "string"
          },
          "splitterType": {
            "type": "string",
            "enum": [
              "PARAGRAPH",
              "SENTENCE"
            ]
          },
          "tableEmbeddingStrategy": {
            "type": "string",
            "enum": [
              "ROW_BY_ROW",
              "WHOLE_TABLE"
            ]
          },
          "chunkSize": {
            "type": "integer"
          },
          "chunkOverlap": {
            "type": "number",
            "format": "float"
          },
          "minChunkSize": {
            "type": "integer"
          },
          "maxChunkSize": {
            "type": "integer"
          },
          "documentIndexName": {
            "type": "string"
          },
          "tableIndexName": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "oAuth2ClientCredentials": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "CONNECT_API_URL/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "oAuth2ClientCredentials": []
    }
  ]
}
```