{
  "opencollection": "1.0.0",
  "info": {
    "name": "Alteryx Server API V3 Collections Jobs API",
    "version": "3.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://{serverHostname}/webapi/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Jobs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Jobs for a Workflow",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{serverHostname}/webapi/v3/workflows/:workflowId/jobs",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the workflow"
              },
              {
                "name": "sortField",
                "value": "",
                "type": "query",
                "description": "Field to sort results by"
              },
              {
                "name": "direction",
                "value": "",
                "type": "query",
                "description": "Sort direction"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of records to skip for pagination"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by job status"
              },
              {
                "name": "resultCode",
                "value": "",
                "type": "query",
                "description": "Filter by result code"
              }
            ]
          },
          "docs": "Retrieve execution jobs associated with a specific workflow."
        },
        {
          "info": {
            "name": "Create a New Job for a Workflow",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{serverHostname}/webapi/v3/workflows/:workflowId/jobs",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the workflow"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Queue a new execution job for a specific workflow."
        }
      ]
    }
  ],
  "bundled": true
}