Homepage

EmbeddingCreateInputType

Last edit: Oct 13, 2026

Attributes of a new embedding

type EmbeddingCreateInputType {
  content: String
  created_at: JSONDate
  embedding: [Float!]!
  id: ID
  metadata: HashObject
  token_count: Int
  updated_at: JSONDate
}

Fields

content (String)

Original text the vector was computed from

created_at (JSONDate)

Overrides the creation timestamp; defaults to now

embedding (Float)

Vector of exactly 1536 numbers, e.g. as returned by an OpenAI embeddings model

id (ID)

Id to give the new embedding; generated when omitted

metadata (HashObject)

Any additional data, e.g. a reference to the source document; can be filtered on in the embeddings query

token_count (Int)

Number of tokens of the content

updated_at (JSONDate)

Overrides the update timestamp; defaults to now

Questions?

We are always happy to help with any questions you may have.

contact us