{
  "opencollection": "1.0.0",
  "info": {
    "name": "Testkube Standalone Agent api Executions API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Executions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all test executions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/executions",
            "params": [
              {
                "name": "test",
                "value": "",
                "type": "query",
                "description": "test namespaced name to filter"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "object type"
              },
              {
                "name": "textSearch",
                "value": "",
                "type": "query",
                "description": "text to search in name and test name"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "the number of executions to get, setting to 0 will return only totals"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "the page index to start at"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "optional status filter containing multiple values separated by comma"
              },
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "startDate for filtering in ISO-8601 format, i.e. \"yyyy-mm-dd\""
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "endDate for filtering"
              },
              {
                "name": "selector",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns array of test executions"
        },
        {
          "info": {
            "name": "Starts new test executions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.testkube.io/executions",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "query"
              },
              {
                "name": "selector",
                "value": "",
                "type": "query"
              },
              {
                "name": "executionSelector",
                "value": "",
                "type": "query"
              },
              {
                "name": "concurrency",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "New test executions returns new executions details on successful executions start"
        },
        {
          "info": {
            "name": "Get test execution by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/executions/:executionID",
            "params": [
              {
                "name": "executionID",
                "value": "",
                "type": "path",
                "description": "unique id of the object execution"
              }
            ]
          },
          "docs": "Returns execution with given executionID"
        },
        {
          "info": {
            "name": "Get execution's artifacts by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/executions/:id/artifacts",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "unique id of the object"
              }
            ]
          },
          "docs": "Returns artifacts of the given executionID"
        },
        {
          "info": {
            "name": "Get execution's logs by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/executions/:id/logs",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "unique id of the object"
              }
            ]
          },
          "docs": "Returns logs of the given executionID"
        },
        {
          "info": {
            "name": "Get execution's logs by ID version 2",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/executions/:id/logs/v2",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "unique id of the object"
              }
            ]
          },
          "docs": "Returns logs of the given executionID version 2"
        },
        {
          "info": {
            "name": "Download artifact",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/executions/:id/artifacts/:filename",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "unique id of the object"
              },
              {
                "name": "filename",
                "value": "",
                "type": "path",
                "description": "filename of the object usually used for artifacts"
              }
            ]
          },
          "docs": "Download the artifact file from the given execution"
        },
        {
          "info": {
            "name": "Download artifact archive",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/executions/:id/artifact-archive",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "unique id of the object"
              },
              {
                "name": "mask",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Download the artifact archive from the given execution"
        },
        {
          "info": {
            "name": "Get all test suite executions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/test-suites/:id/executions",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "unique id of the object"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "the number of executions to get, setting to 0 will return only totals"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "the page index to start at"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "optional status filter containing multiple values separated by comma"
              },
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "startDate for filtering in ISO-8601 format, i.e. \"yyyy-mm-dd\""
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "endDate for filtering"
              }
            ]
          },
          "docs": "Returns array of all available test suite executions"
        },
        {
          "info": {
            "name": "Starts new test suite execution",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.testkube.io/test-suites/:id/executions",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "unique id of the object"
              },
              {
                "name": "namespace",
                "value": "",
                "type": "query"
              },
              {
                "name": "last",
                "value": "",
                "type": "query",
                "description": "last N days to show"
              },
              {
                "name": "testSuiteExecutionName",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "New test suite execution returns new execution details on successful execution start"
        },
        {
          "info": {
            "name": "Get test suite execution",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/test-suites/:id/executions/:executionID",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "unique id of the object"
              },
              {
                "name": "executionID",
                "value": "",
                "type": "path",
                "description": "unique id of the object execution"
              }
            ]
          },
          "docs": "Returns test suite execution with given executionID"
        },
        {
          "info": {
            "name": "Aborts testsuite execution",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.testkube.io/test-suites/:id/executions/:executionID",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "unique id of the object"
              },
              {
                "name": "executionID",
                "value": "",
                "type": "path",
                "description": "unique id of the object execution"
              }
            ]
          },
          "docs": "Aborts testsuite execution with given executionID"
        },
        {
          "info": {
            "name": "Get test suite execution artifacts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/test-suites/:id/executions/:executionID/artifacts",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "unique id of the object"
              },
              {
                "name": "executionID",
                "value": "",
                "type": "path",
                "description": "unique id of the object execution"
              }
            ]
          },
          "docs": "Returns test suite execution artifacts with given executionID"
        },
        {
          "info": {
            "name": "Get all test suite executions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/test-suite-executions",
            "params": [
              {
                "name": "last",
                "value": "",
                "type": "query",
                "description": "last N days to show"
              },
              {
                "name": "test",
                "value": "",
                "type": "query",
                "description": "test namespaced name to filter"
              },
              {
                "name": "textSearch",
                "value": "",
                "type": "query",
                "description": "text to search in name and test name"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "the number of executions to get, setting to 0 will return only totals"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "the page index to start at"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "optional status filter containing multiple values separated by comma"
              },
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "startDate for filtering in ISO-8601 format, i.e. \"yyyy-mm-dd\""
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "endDate for filtering"
              },
              {
                "name": "selector",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns array of test suite executions"
        },
        {
          "info": {
            "name": "Starts new test suite executions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.testkube.io/test-suite-executions",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "query"
              },
              {
                "name": "selector",
                "value": "",
                "type": "query"
              },
              {
                "name": "concurrency",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "New test suite executions returns new executions details on successful executions start"
        },
        {
          "info": {
            "name": "Get test suite execution by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/test-suite-executions/:executionID",
            "params": [
              {
                "name": "executionID",
                "value": "",
                "type": "path",
                "description": "unique id of the object execution"
              },
              {
                "name": "last",
                "value": "",
                "type": "query",
                "description": "last N days to show"
              }
            ]
          },
          "docs": "Returns test suite execution with given executionID"
        },
        {
          "info": {
            "name": "Aborts testsuite execution",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.testkube.io/test-suite-executions/:executionID",
            "params": [
              {
                "name": "executionID",
                "value": "",
                "type": "path",
                "description": "unique id of the object execution"
              }
            ]
          },
          "docs": "Aborts testsuite execution with given executionID"
        },
        {
          "info": {
            "name": "Get test suite execution artifacts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/test-suite-executions/:executionID/artifacts",
            "params": [
              {
                "name": "executionID",
                "value": "",
                "type": "path",
                "description": "unique id of the object execution"
              }
            ]
          },
          "docs": "Returns test suite execution artifacts with given executionID"
        },
        {
          "info": {
            "name": "Get all test executions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/tests/:id/executions",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "unique id of the object"
              },
              {
                "name": "last",
                "value": "",
                "type": "query",
                "description": "last N days to show"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "the number of executions to get, setting to 0 will return only totals"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "the page index to start at"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "optional status filter containing multiple values separated by comma"
              },
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "startDate for filtering in ISO-8601 format, i.e. \"yyyy-mm-dd\""
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "endDate for filtering"
              }
            ]
          },
          "docs": "Returns array of all available test executions"
        },
        {
          "info": {
            "name": "Starts new test execution",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.testkube.io/tests/:id/executions",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "unique id of the object"
              },
              {
                "name": "namespace",
                "value": "",
                "type": "query"
              },
              {
                "name": "testExecutionName",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "New test execution returns new execution details on successful execution start"
        },
        {
          "info": {
            "name": "Get test execution",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/tests/:id/executions/:executionID",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "unique id of the object"
              },
              {
                "name": "executionID",
                "value": "",
                "type": "path",
                "description": "unique id of the object execution"
              }
            ]
          },
          "docs": "Returns execution with given executionID"
        },
        {
          "info": {
            "name": "Aborts execution",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.testkube.io/tests/:id/executions/:executionID",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "unique id of the object"
              },
              {
                "name": "executionID",
                "value": "",
                "type": "path",
                "description": "unique id of the object execution"
              }
            ]
          },
          "docs": "Aborts execution with given executionID"
        },
        {
          "info": {
            "name": "Upload file",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.testkube.io/uploads",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "parentName",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "parentType",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "filePath",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Upload file to be used in executions and tests"
        },
        {
          "info": {
            "name": "Get test workflow execution's artifacts by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/test-workflow-executions/:executionID/artifacts",
            "params": [
              {
                "name": "executionID",
                "value": "",
                "type": "path",
                "description": "unique id of the object execution"
              }
            ]
          },
          "docs": "Returns artifacts of the given executionID"
        },
        {
          "info": {
            "name": "Download test workflow artifact",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/test-workflow-executions/:executionID/artifacts/:filename",
            "params": [
              {
                "name": "executionID",
                "value": "",
                "type": "path",
                "description": "unique id of the object execution"
              },
              {
                "name": "filename",
                "value": "",
                "type": "path",
                "description": "filename of the object usually used for artifacts"
              }
            ]
          },
          "docs": "Download the artifact file from the given execution"
        },
        {
          "info": {
            "name": "Download test workflow artifact archive",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.testkube.io/test-workflow-executions/:executionID/artifact-archive",
            "params": [
              {
                "name": "executionID",
                "value": "",
                "type": "path",
                "description": "unique id of the object execution"
              },
              {
                "name": "mask",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Download the artifact archive from the given execution"
        }
      ]
    }
  ],
  "bundled": true
}