{
  "info": {
    "name": "ExecOS Externa API",
    "description": "Agent-first outcome intake, token-billing admission, and CPO dry-run endpoints.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_postman_id": "6f067929-d053-4cfd-a49d-dac9d1e0f0d7"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://externa.ai"
    }
  ],
  "item": [
    {
      "name": "Agent Context",
      "request": {
        "method": "GET",
        "url": "{{baseUrl}}/v1/execos/agent/context"
      }
    },
    {
      "name": "Agent Bootstrap",
      "request": {
        "method": "GET",
        "url": "{{baseUrl}}/v1/execos/agent/bootstrap?format=markdown"
      }
    },
    {
      "name": "Agent Discovery",
      "request": {
        "method": "GET",
        "url": "{{baseUrl}}/v1/execos/agent/discovery"
      }
    },
    {
      "name": "Estimate Outcome",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"title\": \"Lift new-user activation with an AI-assisted onboarding flow\",\n  \"route_hint\": \"cpo\",\n  \"expected_input_tokens\": 6000,\n  \"expected_output_tokens\": 4000,\n  \"max_spend_usd\": 25\n}"
        },
        "url": "{{baseUrl}}/v1/execos/outcomes/estimate"
      }
    },
    {
      "name": "Admit Outcome",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"title\": \"Lift new-user activation with an AI-assisted onboarding flow\",\n  \"route_hint\": \"cpo\",\n  \"operator_approved\": false\n}"
        },
        "url": "{{baseUrl}}/v1/execos/outcomes/admit"
      }
    },
    {
      "name": "Create CPO Dry Run",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"outcome\": {\n    \"title\": \"Lift new-user activation with an AI-assisted onboarding flow\",\n    \"route_hint\": \"cpo\"\n  },\n  \"operator_approved\": false\n}"
        },
        "url": "{{baseUrl}}/v1/execos/cpo/runs"
      }
    }
  ]
}
