{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kestra Open Source REST Executions API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Executions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search executions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8080/api/v1/executions",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "size",
                "value": "",
                "type": "query"
              },
              {
                "name": "namespace",
                "value": "",
                "type": "query"
              },
              {
                "name": "flowId",
                "value": "",
                "type": "query"
              },
              {
                "name": "state",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search executions"
        },
        {
          "info": {
            "name": "Trigger a flow execution",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8080/api/v1/executions/trigger/:namespace/:flowId",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "flowId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "inputs",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Trigger a flow execution"
        },
        {
          "info": {
            "name": "Get an execution by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8080/api/v1/executions/:executionId",
            "params": [
              {
                "name": "executionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get an execution by ID"
        },
        {
          "info": {
            "name": "Get logs for an execution",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8080/api/v1/executions/:executionId/logs",
            "params": [
              {
                "name": "executionId",
                "value": "",
                "type": "path"
              },
              {
                "name": "minLevel",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get logs for an execution"
        }
      ]
    }
  ],
  "bundled": true
}