telnyx-mcp 6.57.0 → 6.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2982,11 +2982,11 @@ const EMBEDDED_METHODS = [
2982
2982
  endpoint: '/ai/models',
2983
2983
  httpMethod: 'get',
2984
2984
  summary: 'Get available models',
2985
- description: "**Deprecated**: Use `GET /v2/ai/openai/models` instead. This endpoint returns a list of Open Source and OpenAI models that are available for use. <br /><br /> **Note**: Model `id`'s will be in the form `{source}/{model_name}`. For example `openai/gpt-4` or `mistralai/Mistral-7B-Instruct-v0.1` consistent with HuggingFace naming conventions.",
2985
+ description: '**Deprecated**: Use `GET /v2/ai/openai/models` instead.\n\nReturns the same `ModelsResponse` payload as the OpenAI-compatible endpoint open-source LLMs hosted on Telnyx (e.g. `moonshotai/Kimi-K2.6`, `zai-org/GLM-5.1-FP8`, `MiniMaxAI/MiniMax-M2.7`), embedding models, and fine-tuned models kept around for backwards compatibility. New integrations should use `/v2/ai/openai/models`.\n\nModel ids follow the `{organization}/{model_name}` convention from Hugging Face.',
2986
2986
  stainlessPath: '(resource) ai > (method) retrieve_models',
2987
2987
  qualified: 'client.ai.retrieveModels',
2988
- response: '{ data: { id: string; created: number; owned_by: string; object?: string; }[]; object?: string; }',
2989
- markdown: "## retrieve_models\n\n`client.ai.retrieveModels(): { data: model_metadata[]; object?: string; }`\n\n**get** `/ai/models`\n\n**Deprecated**: Use `GET /v2/ai/openai/models` instead. This endpoint returns a list of Open Source and OpenAI models that are available for use. <br /><br /> **Note**: Model `id`'s will be in the form `{source}/{model_name}`. For example `openai/gpt-4` or `mistralai/Mistral-7B-Instruct-v0.1` consistent with HuggingFace naming conventions.\n\n### Returns\n\n- `{ data: { id: string; created: number; owned_by: string; object?: string; }[]; object?: string; }`\n\n - `data: { id: string; created: number; owned_by: string; object?: string; }[]`\n - `object?: string`\n\n### Example\n\n```typescript\nimport Telnyx from 'telnyx';\n\nconst client = new Telnyx();\n\nconst response = await client.ai.retrieveModels();\n\nconsole.log(response);\n```",
2988
+ response: "{ data: { id: string; context_length: number; created: string; languages: string[]; license: string; organization: string; owned_by: string; parameters: number; tier: 'small' | 'medium' | 'large' | 'unlisted'; base_model?: string; description?: string; is_fine_tunable?: boolean; is_vision_supported?: boolean; max_completion_tokens?: number; object?: string; parameters_str?: string; pricing?: object; recommended_for_assistants?: boolean; regions?: string[]; task?: string; }[]; object?: string; }",
2989
+ markdown: "## retrieve_models\n\n`client.ai.retrieveModels(): { data: model_metadata[]; object?: string; }`\n\n**get** `/ai/models`\n\n**Deprecated**: Use `GET /v2/ai/openai/models` instead.\n\nReturns the same `ModelsResponse` payload as the OpenAI-compatible endpoint open-source LLMs hosted on Telnyx (e.g. `moonshotai/Kimi-K2.6`, `zai-org/GLM-5.1-FP8`, `MiniMaxAI/MiniMax-M2.7`), embedding models, and fine-tuned models kept around for backwards compatibility. New integrations should use `/v2/ai/openai/models`.\n\nModel ids follow the `{organization}/{model_name}` convention from Hugging Face.\n\n### Returns\n\n- `{ data: { id: string; context_length: number; created: string; languages: string[]; license: string; organization: string; owned_by: string; parameters: number; tier: 'small' | 'medium' | 'large' | 'unlisted'; base_model?: string; description?: string; is_fine_tunable?: boolean; is_vision_supported?: boolean; max_completion_tokens?: number; object?: string; parameters_str?: string; pricing?: object; recommended_for_assistants?: boolean; regions?: string[]; task?: string; }[]; object?: string; }`\n\n - `data: { id: string; context_length: number; created: string; languages: string[]; license: string; organization: string; owned_by: string; parameters: number; tier: 'small' | 'medium' | 'large' | 'unlisted'; base_model?: string; description?: string; is_fine_tunable?: boolean; is_vision_supported?: boolean; max_completion_tokens?: number; object?: string; parameters_str?: string; pricing?: object; recommended_for_assistants?: boolean; regions?: string[]; task?: string; }[]`\n - `object?: string`\n\n### Example\n\n```typescript\nimport Telnyx from 'telnyx';\n\nconst client = new Telnyx();\n\nconst response = await client.ai.retrieveModels();\n\nconsole.log(response);\n```",
2990
2990
  perLanguage: {
2991
2991
  typescript: {
2992
2992
  method: 'client.ai.retrieveModels',
@@ -9208,11 +9208,11 @@ const EMBEDDED_METHODS = [
9208
9208
  endpoint: '/ai/openai/models',
9209
9209
  httpMethod: 'get',
9210
9210
  summary: 'Get available models (OpenAI-compatible)',
9211
- description: "This endpoint returns a list of Open Source and OpenAI models that are available for use. <br /><br /> **Note**: Model `id`'s will be in the form `{source}/{model_name}`. For example `openai/gpt-4` or `mistralai/Mistral-7B-Instruct-v0.1` consistent with HuggingFace naming conventions.",
9211
+ description: 'Lists every model currently available to your account on Telnyx Inference, including SOTA open-source LLMs hosted on Telnyx GPUs (for example `moonshotai/Kimi-K2.6`, `zai-org/GLM-5.1-FP8`, and `MiniMaxAI/MiniMax-M2.7`), embedding models, and any fine-tuned models you have created.\n\nEach entry is a `ModelMetadata` object describing the model id, owner, task, context length, supported languages, billing tier, pricing per 1M tokens, deployment regions, and whether the model supports vision or fine-tuning. Use this endpoint to discover model ids you can pass to `POST /v2/ai/openai/chat/completions`.\n\nModel ids follow the `{organization}/{model_name}` convention from Hugging Face (for example `moonshotai/Kimi-K2.6`). This endpoint is OpenAI-compatible: clients pointed at `https://api.telnyx.com/v2/ai/openai` can call `client.models.list()` to retrieve the same payload.',
9212
9212
  stainlessPath: '(resource) ai.openai > (method) list_models',
9213
9213
  qualified: 'client.ai.openai.listModels',
9214
- response: '{ data: { id: string; created: number; owned_by: string; object?: string; }[]; object?: string; }',
9215
- markdown: "## list_models\n\n`client.ai.openai.listModels(): { data: model_metadata[]; object?: string; }`\n\n**get** `/ai/openai/models`\n\nThis endpoint returns a list of Open Source and OpenAI models that are available for use. <br /><br /> **Note**: Model `id`'s will be in the form `{source}/{model_name}`. For example `openai/gpt-4` or `mistralai/Mistral-7B-Instruct-v0.1` consistent with HuggingFace naming conventions.\n\n### Returns\n\n- `{ data: { id: string; created: number; owned_by: string; object?: string; }[]; object?: string; }`\n\n - `data: { id: string; created: number; owned_by: string; object?: string; }[]`\n - `object?: string`\n\n### Example\n\n```typescript\nimport Telnyx from 'telnyx';\n\nconst client = new Telnyx();\n\nconst response = await client.ai.openai.listModels();\n\nconsole.log(response);\n```",
9214
+ response: "{ data: { id: string; context_length: number; created: string; languages: string[]; license: string; organization: string; owned_by: string; parameters: number; tier: 'small' | 'medium' | 'large' | 'unlisted'; base_model?: string; description?: string; is_fine_tunable?: boolean; is_vision_supported?: boolean; max_completion_tokens?: number; object?: string; parameters_str?: string; pricing?: object; recommended_for_assistants?: boolean; regions?: string[]; task?: string; }[]; object?: string; }",
9215
+ markdown: "## list_models\n\n`client.ai.openai.listModels(): { data: model_metadata[]; object?: string; }`\n\n**get** `/ai/openai/models`\n\nLists every model currently available to your account on Telnyx Inference, including SOTA open-source LLMs hosted on Telnyx GPUs (for example `moonshotai/Kimi-K2.6`, `zai-org/GLM-5.1-FP8`, and `MiniMaxAI/MiniMax-M2.7`), embedding models, and any fine-tuned models you have created.\n\nEach entry is a `ModelMetadata` object describing the model id, owner, task, context length, supported languages, billing tier, pricing per 1M tokens, deployment regions, and whether the model supports vision or fine-tuning. Use this endpoint to discover model ids you can pass to `POST /v2/ai/openai/chat/completions`.\n\nModel ids follow the `{organization}/{model_name}` convention from Hugging Face (for example `moonshotai/Kimi-K2.6`). This endpoint is OpenAI-compatible: clients pointed at `https://api.telnyx.com/v2/ai/openai` can call `client.models.list()` to retrieve the same payload.\n\n### Returns\n\n- `{ data: { id: string; context_length: number; created: string; languages: string[]; license: string; organization: string; owned_by: string; parameters: number; tier: 'small' | 'medium' | 'large' | 'unlisted'; base_model?: string; description?: string; is_fine_tunable?: boolean; is_vision_supported?: boolean; max_completion_tokens?: number; object?: string; parameters_str?: string; pricing?: object; recommended_for_assistants?: boolean; regions?: string[]; task?: string; }[]; object?: string; }`\n\n - `data: { id: string; context_length: number; created: string; languages: string[]; license: string; organization: string; owned_by: string; parameters: number; tier: 'small' | 'medium' | 'large' | 'unlisted'; base_model?: string; description?: string; is_fine_tunable?: boolean; is_vision_supported?: boolean; max_completion_tokens?: number; object?: string; parameters_str?: string; pricing?: object; recommended_for_assistants?: boolean; regions?: string[]; task?: string; }[]`\n - `object?: string`\n\n### Example\n\n```typescript\nimport Telnyx from 'telnyx';\n\nconst client = new Telnyx();\n\nconst response = await client.ai.openai.listModels();\n\nconsole.log(response);\n```",
9216
9216
  perLanguage: {
9217
9217
  typescript: {
9218
9218
  method: 'client.ai.openai.listModels',