{
  "info": {
    "name": "Metatextai — mcp.ai",
    "description": "REST API for the Metatextai 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/metatextai",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "metatextai_chat_completions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/chat/completions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "chat",
            "completions"
          ]
        },
        "description": "Tool to generate chat completions. Use when you need OpenAI-compatible conversational responses.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"stop\": \"\",\n  \"model\": \"\",\n  \"prompt\": \"\",\n  \"project\": \"\",\n  \"messages\": \"\",\n  \"max_tokens\": 0,\n  \"temperature\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "metatextai_classify",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/classify",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "classify"
          ]
        },
        "description": "Tool to classify text. Use when you need to obtain labels and confidence scores from a trained MetatextAI model for given text.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"text\": \"\",\n  \"model\": \"\",\n  \"options\": {},\n  \"project_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "metatextai_create_policy_guardrails",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/policy/guardrails",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "policy",
            "guardrails"
          ]
        },
        "description": "Tool to create a policy guardrail. Use when you need to define automated guardrails for content in a specific application.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\",\n  \"rules\": \"\",\n  \"target\": \"\",\n  \"definition\": \"\",\n  \"application_id\": \"\",\n  \"override_response\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "metatextai_delete_policy_guardrails",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/policy/guardrails",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "policy",
            "guardrails"
          ]
        },
        "description": "Tool to delete a guardrail policy. Use when you need to remove a policy by ID for a specific application after confirming valid application and policy IDs.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"policy_id\": \"\",\n  \"application_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "metatextai_evaluate",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/evaluate",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "evaluate"
          ]
        },
        "description": "Tool to evaluate LLM messages against policies/guardrails. Use after generating model output to get violation details or corrections.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"messages\": \"\",\n  \"policies\": \"\",\n  \"fail_fast\": false,\n  \"policy_ids\": \"\",\n  \"application\": \"\",\n  \"override_response\": \"\",\n  \"correction_enabled\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "metatextai_extract",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/extract",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "extract"
          ]
        },
        "description": "Tool to run information extraction. Use when you need to extract structured data from text.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"text\": \"\",\n  \"model\": \"\",\n  \"options\": {},\n  \"project_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "metatextai_generate",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/generate",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "generate"
          ]
        },
        "description": "Tool to generate text for a project model. Use when you need LLM completions or chat responses. Supports both prompt and message-based inputs with temperature, stop-sequence, and token limits.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"stop\": \"\",\n  \"model\": \"\",\n  \"prompt\": \"\",\n  \"messages\": \"\",\n  \"max_tokens\": 0,\n  \"project_id\": \"\",\n  \"temperature\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "metatextai_list_applications",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/applications",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "applications"
          ]
        },
        "description": "Tool to retrieve a list of all existing applications. Use when you need to view application IDs, names, and descriptions.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tag\": \"\",\n  \"limit\": 0,\n  \"offset\": 0,\n  \"search\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "metatextai_list_models",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/models",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "models"
          ]
        },
        "description": "Tool to retrieve a list of all available models and their supported tasks. Use when you need to choose an appropriate model for chat completions.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "metatextai_list_policies_guardrails",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/policies/guardrails",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "policies",
            "guardrails"
          ]
        },
        "description": "Tool to list all guardrail policies for a specific application. Use after obtaining an application ID to inspect its configured policies.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"application_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "metatextai_list_red_team_test_probes",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/red/team/test/probes",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "red",
            "team",
            "test",
            "probes"
          ]
        },
        "description": "Tool to list all available red team test probes. Use when you need to discover available probes for red teaming.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "metatextai_run_red_team_test_scan",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/run/red/team/test/scan",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "run",
            "red",
            "team",
            "test",
            "scan"
          ]
        },
        "description": "Tool to run a vulnerability red-team test scan. Use when you need to execute probes against an application.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"probes\": \"\",\n  \"application\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "metatextai_update_policy_guardrails",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/policy/guardrails",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "policy",
            "guardrails"
          ]
        },
        "description": "Tool to update an existing policy's guardrails. Use when you need to modify a policy's rules after confirming it exists.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\",\n  \"rules\": \"\",\n  \"target\": \"\",\n  \"policy_id\": \"\",\n  \"definition\": \"\",\n  \"application_id\": \"\",\n  \"override_response\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}