API Reference
Log In
API Reference

Embeddings

Creates an embedding vector representing the input text.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
required

Input text to embed, encoded as a string or array of tokens.

To embed multiple inputs in a single request, pass an array of strings or array of token arrays.

Each input must not exceed the max input tokens for the model (8191 tokens for text-embedding-ada-002).

The string that will be turned into an embedding.

required

The model to generate a completion.

Konko currently offers proxy access to leading embedding models (provided by OpenAI).

The models endpoint lists the available models.

string
enum
Defaults to float

The format to return the embeddings in. Can be either float or base64.

Allowed:
Headers
string

OpenAI API key. Required for the Konko API to access the OpenAI API.

Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json