Embeddings
Create Embeddings
Changed onCreate embeddings for the given input text(s).
This endpoint creates embeddings using the Morpheus Network providers. It automatically manages sessions and routes requests to the appropriate embedding model.
Billing is applied to all requests:
- Balance is checked before the request starts
- 402 Payment Required is returned if insufficient credits
- Usage is finalized after completion with actual token counts
- Holds are voided on failures
post/api/v1/embeddings
Request
- The document declares no server URL.
- AuthAPI key in header Authorization
Request body
Response
Successful Response
Changes
- breaking
request body became required
- info
added the new optional request property
- info
the
request property default valueSample text to generate embeddingswas removed - info
request property
list-of-types was widened by adding typesarrayto media typeapplication/json
- breaking
- warning
removed the request property
- warning