Skip to content

GetTableResponse

Example Usage

typescript
import { GetTableResponse } from "@meetkai/mka1/models/components";

let value: GetTableResponse = {
  tableName: "<value>",
  schema: {
    fields: [
      {
        name: "vector",
        nullable: false,
        dimensions: 676997,
        vectorType: "float32",
      },
    ],
  },
  indices: [],
  stats: {
    totalBytes: 442453,
    numRows: 135908,
    numIndices: 150764,
    fragmentStats: {
      numFragments: 872976,
      numSmallFragments: 575142,
      lengths: {
        min: 894783,
        max: 198219,
        mean: 373135,
        p25: 581949,
        p50: 96223,
        p75: 683339,
        p99: 261458,
      },
    },
  },
};

Fields

FieldTypeRequiredDescription
tableNamestring✔️N/A
schemacomponents.TableSchema✔️N/A
indicescomponents.IndexInfo[]✔️N/A
statscomponents.TableStatistics✔️N/A