Skip to main content
POST
feature-extraction

Authorizations

Authorization
string
header
required

Set Authorization header to BYTEZ_KEY 'Authorization: YOUR_BYTEZ_KEY_HERE'

Body

application/json

Schema for feature-extraction models

text
string
required

The input text

Example:

"search_document: Turn this text into a vector"

Response

Successful feature-extraction response.

error
string | null
required

Null on success; otherwise an error message.

output
array
required

Successful response with extracted features

Example: