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

# Find similar embeddings by query string

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Layar API Documentation",
    "version": "v1.927.2",
    "contact": {
      "name": "Certara AI Support",
      "email": "AI-Support@Certara.com",
      "url": "https://vyasa.readme.io/"
    }
  },
  "servers": [
    {
      "url": "BASE_PATH"
    }
  ],
  "paths": {
    "/layar/vectorSimilarity/byQueryString": {
      "get": {
        "operationId": "getVectorsByQueryString",
        "parameters": [
          {
            "$ref": "#/components/parameters/q"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "$ref": "#/components/schemas/VectorSimilarityRequest"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          }
        },
        "summary": "Find similar embeddings by query string",
        "tags": [
          "vectorSimilarity"
        ]
      }
    }
  },
  "tags": [
    {
      "description": "Vector Similarity",
      "name": "vectorSimilarity"
    }
  ],
  "components": {
    "parameters": {
      "q": {
        "in": "query",
        "name": "q",
        "schema": {
          "type": "string"
        },
        "description": "the query string to search for"
      }
    },
    "schemas": {
      "JobStatus": {
        "title": "JobStatus",
        "enum": [
          "RUNNING",
          "COMPLETE",
          "ERROR",
          "CANCELED"
        ],
        "type": "string"
      },
      "VectorSimilarityRequest": {
        "properties": {
          "name": {
            "type": "string"
          },
          "queryString": {
            "type": "string"
          },
          "rawTextVector": {
            "items": {
              "format": "float",
              "type": "number"
            },
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/JobStatus"
          },
          "vectorSimilarityType": {
            "enum": [
              "STATEMENT",
              "CONCEPT_NAME_QUERY_TERM"
            ],
            "type": "string"
          }
        },
        "title": "VectorSimilarityRequest",
        "type": "object"
      }
    },
    "securitySchemes": {
      "oAuth2ClientCredentials": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "CONNECT_API_URL/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "oAuth2ClientCredentials": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```