{
  "service": "streak",
  "displayName": "Streak",
  "categories": [
    "Productivity",
    "Marketing"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "streak_api_key",
      "description": "Streak API key used as the HTTP Basic Auth username with an empty password. Create it from Gmail by opening the Streak sidebar and going to Integrations > Streak API.",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://www.streak.com/",
  "actions": [
    {
      "id": "streak.get_box",
      "service": "streak",
      "name": "get_box",
      "description": "Read one Streak box by key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "boxKey": {
            "type": "string",
            "minLength": 1,
            "description": "The Streak box key."
          }
        },
        "additionalProperties": false,
        "description": "Request parameters for reading one Streak box."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "box": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Raw Streak entity fields returned by the API."
          },
          "raw": {
            "description": "Raw Streak response payload."
          }
        },
        "additionalProperties": false,
        "description": "Single Streak box response."
      }
    },
    {
      "id": "streak.get_current_user",
      "service": "streak",
      "name": "get_current_user",
      "description": "Read the Streak user associated with the authenticated API key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "No input is required to read the current Streak user."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "user": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Raw Streak entity fields returned by the API."
          },
          "raw": {
            "description": "Raw Streak response payload."
          }
        },
        "additionalProperties": false,
        "description": "Current Streak user response."
      }
    },
    {
      "id": "streak.get_pipeline",
      "service": "streak",
      "name": "get_pipeline",
      "description": "Read one Streak pipeline by key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pipelineKey": {
            "type": "string",
            "minLength": 1,
            "description": "The Streak pipeline key."
          }
        },
        "additionalProperties": false,
        "description": "Request parameters for reading one Streak pipeline."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pipeline": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Raw Streak entity fields returned by the API."
          },
          "raw": {
            "description": "Raw Streak response payload."
          }
        },
        "additionalProperties": false,
        "description": "Single Streak pipeline response."
      }
    },
    {
      "id": "streak.list_pipelines",
      "service": "streak",
      "name": "list_pipelines",
      "description": "List Streak pipelines visible to the authenticated API key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "sortBy": {
            "type": "string",
            "enum": [
              "creationTimestamp",
              "lastUpdatedTimestamp"
            ],
            "description": "Sort Streak pipelines by the documented timestamp field."
          }
        },
        "additionalProperties": false,
        "description": "Request parameters for listing Streak pipelines."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pipelines": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "Raw Streak entity fields returned by the API."
            },
            "description": "Streak pipelines returned by the API."
          },
          "raw": {
            "description": "Raw Streak response payload."
          }
        },
        "additionalProperties": false,
        "description": "Streak pipeline list response."
      },
      "followUpActions": [
        "streak.get_pipeline"
      ]
    }
  ]
}
