v4
latestOpenAPI 3.1.02026-08-021957100.4 KBBatch Embeddings
Create a batch embedding job
Submit a batch of texts for asynchronous embedding processing.
post/v1/batch/embeddings
Request body
Example request
{
"dimensions": 512,
"input_url": "gs://my-bucket/inputs.jsonl",
"model": "jina-embeddings-v5-text-small",
"task": "retrieval"
}Response
Successful Response
Example response
{
"batch_id": "batch_abc123",
"completed_at": "2024-01-15T10:35:00Z",
"created_at": "2024-01-15T10:30:00Z",
"expires_at": "2024-01-16T10:30:00Z",
"model": "jina-embeddings-v5-text-small",
"output_url": "https://storage.googleapis.com/...",
"stats": {
"completed": 998,
"failed": 2,
"total": 1000
},
"status": "completed"
}