{
  "service": "wejam_ai",
  "displayName": "Jam",
  "categories": [
    "AI",
    "Data"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "JAM_API_KEY",
      "description": "Jam organization API key sent with the X-API-KEY header. Organization owners can create API keys from the Jam API keys page: https://auth.wejam.ai/org/api_keys/."
    }
  ],
  "homepageUrl": "https://wejam.ai",
  "actions": [
    {
      "id": "wejam_ai.export_data",
      "service": "wejam_ai",
      "name": "export_data",
      "description": "Export one page of Jam training data for reporting or BI workflows.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "resource": {
            "type": "string",
            "enum": [
              "users",
              "teams",
              "missions",
              "tracks",
              "sprints",
              "track-assignments",
              "mission-assignments",
              "sessions",
              "real-call-sessions",
              "scorecards"
            ],
            "description": "The Jam data-export resource to retrieve."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The one-indexed page number to return. Jam defaults to 1."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "The number of records to return. Jam allows 1 to 100."
          }
        },
        "additionalProperties": false,
        "required": [
          "resource"
        ],
        "description": "The input payload for exporting Jam training data."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "resource": {
            "type": "string",
            "enum": [
              "users",
              "teams",
              "missions",
              "tracks",
              "sprints",
              "track-assignments",
              "mission-assignments",
              "sessions",
              "real-call-sessions",
              "scorecards"
            ],
            "description": "The Jam data-export resource to retrieve."
          },
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "One Jam data-export record."
            },
            "description": "The records returned for the requested Jam data-export resource."
          },
          "meta": {
            "type": "object",
            "properties": {
              "total": {
                "type": "number",
                "description": "The total number of records matching the export request."
              },
              "page": {
                "type": "number",
                "description": "The one-indexed page number returned by Jam."
              },
              "limit": {
                "type": "number",
                "description": "The page size returned by Jam."
              },
              "hasNext": {
                "type": "boolean",
                "description": "Whether another page exists after this response."
              }
            },
            "additionalProperties": false,
            "description": "Jam pagination metadata for a data-export page."
          }
        },
        "additionalProperties": false,
        "required": [
          "resource",
          "data",
          "meta"
        ],
        "description": "A page of Jam data-export records."
      }
    }
  ]
}
