{
  "info": {
    "name": "CometAPI — mcp.ai",
    "description": "REST API for the CometAPI MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/cometapi",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "cometapi_create_chat_completion",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/chat/completion",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "chat",
            "completion"
          ]
        },
        "description": "Create a non-streaming Chat Completions result for message-based conversations and function-calling workflows. Use this for models or integrations that require the OpenAI Chat Completions protocol. Re",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"stop\": \"\",\n  \"user\": \"\",\n  \"model\": \"\",\n  \"tools\": \"\",\n  \"top_p\": 0,\n  \"messages\": \"\",\n  \"temperature\": 0,\n  \"tool_choice\": \"\",\n  \"response_format\": {},\n  \"reasoning_effort\": \"\",\n  \"max_completion_tokens\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cometapi_create_embeddings",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/embeddings",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "embeddings"
          ]
        },
        "description": "Create OpenAI-compatible embedding vectors for one text or a batch of texts. This metered operation requires funded organization balance.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"user\": \"\",\n  \"input\": \"\",\n  \"model\": \"\",\n  \"dimensions\": 0,\n  \"encoding_format\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cometapi_create_response",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/response",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "response"
          ]
        },
        "description": "Create a non-streaming OpenAI Responses API result. Use this for stateful continuation via previous_response_id, reasoning controls, or structured text output; use Chat Completion for Chat Completions",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"text\": {},\n  \"input\": \"\",\n  \"model\": \"\",\n  \"store\": false,\n  \"top_p\": 0,\n  \"reasoning\": {},\n  \"truncation\": \"\",\n  \"temperature\": 0,\n  \"instructions\": \"\",\n  \"max_output_tokens\": 0,\n  \"previous_response_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cometapi_get_api_key_usage",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/api/key/usage",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "api",
            "key",
            "usage"
          ]
        },
        "description": "Return quota, usage, expiration, and model restrictions for the connected CometAPI API key. This reports key-level limits, not the organization's spendable balance or commercial tier.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cometapi_list_models",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/models",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "models"
          ]
        },
        "description": "List all models available to the connected API key, including provider ownership and supported protocol types when returned. Use this before generation to choose a compatible model; catalog presence d",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cometapi_moderate_content",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/moderate/content",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "moderate",
            "content"
          ]
        },
        "description": "Classify one text or a batch of texts with an OpenAI-compatible moderation model. This text-only operation is metered and requires funded CometAPI organization balance.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"input\": \"\",\n  \"model\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}