TypeScript SDKAPI ReferenceOperationsCreateEmbeddingsRequest - TypeScript SDKCopy pageCreateEmbeddingsRequest type definitionThe TypeScript SDK and docs are currently in beta. Report issues on GitHub. Example Usage 1import { CreateEmbeddingsRequest } from "@openrouter/sdk/models/operations";23let value: CreateEmbeddingsRequest = {4 requestBody: {5 input: "The quick brown fox jumps over the lazy dog",6 model: "openai/text-embedding-3-small",7 },8}; Fields FieldTypeRequiredDescriptionExamplehttpRefererstring➖The app identifier should be your app’s URL and is used as the primary identifier for rankings.This is used to track API usage per application.appTitlestring➖The app display name allows you to customize how your app appears in OpenRouter’s dashboard.appCategoriesstring➖Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings.requestBodyoperations.CreateEmbeddingsRequestBody✔️N/A{"model": "openai/text-embedding-3-small","input": "The quick brown fox jumps over the lazy dog","dimensions": 1536}