{
  "opencollection": "1.0.0",
  "info": {
    "name": "Telnyx Access Tokens OpenAI Embeddings API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "OpenAI Embeddings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create embeddings",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.telnyx.com/v2/ai/openai/embeddings",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates an embedding vector representing the input text. This endpoint is compatible with the [OpenAI Embeddings API](https://platform.openai.com/docs/api-reference/embeddings) and may be used with the OpenAI JS or Python SDK by setting the base URL to `https://api.telnyx.com/v2/ai/openai`."
        },
        {
          "info": {
            "name": "List embedding models",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/ai/openai/embeddings/models"
          },
          "docs": "Returns a list of available embedding models. This endpoint is compatible with the OpenAI Models API format."
        }
      ]
    }
  ],
  "bundled": true
}