Available Actions
embedbatch
Input Schema
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
},
"model": {
"type": "string",
"default": "text-embedding-3-small"
}
}
}Output Schema
{
"type": "object",
"properties": {
"embedding": {
"type": "array"
},
"dimensions": {
"type": "number"
}
}
}Quick Start
API Endpoint
POST /api/execute/text-embeddingscURL Example
curl -X POST \
https://api.nulayers.com/execute/text-embeddings \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"action": "embed"}'