Testkube Control Plane ../executions environment operations
Testkube Pro API (cloud-api/1.10.51)
Download OpenAPI specification:Download
API for Testkube Pro
Get recent executions
Get recent executions
Authorizations:
path Parameters
| id required  | string  unique id of the object  | 
| environmentID required  | string  unique id of the environment  | 
query Parameters
| kind | string  The test definition's kind, either 'test', 'suite' or 'workflow'.  | 
| page | integer  The desired page for this list, or the first page when absent.  | 
| pageSize | integer  The desired page size for this list, or a default page size when absent.  | 
Responses
Response samples
- 200
 - 401
 - 403
 
{- "count": 0,
 - "elements": [
- {
- "id": "string",
 - "name": "string",
 - "kind": "string",
 - "parent": "string",
 - "status": "string",
 - "duration": 0,
 - "runAt": "2019-08-24T14:15:22Z"
 
} 
] 
}Get artifact archive
Get artifact archive
Authorizations:
path Parameters
| id required  | string  unique id of the object  | 
| environmentID required  | string  unique id of the environment  | 
| executionID required  | string  unique id of the test execution  | 
query Parameters
| testName | string  name of the test  | 
| testSuiteName | string  name of the testsuite  | 
Responses
Response samples
- 200
 - 400
 - 401
 - 403
 - 404
 
{- "url": "string"
 
}Get artifact
Get artifact
Authorizations:
path Parameters
| id required  | string  unique id of the object  | 
| environmentID required  | string  unique id of the environment  | 
| executionID required  | string  unique id of the test execution  | 
| artifactID required  | string  unique id of the artifact  | 
query Parameters
| testName | string  name of the test  | 
| testSuiteName | string  name of the testsuite  | 
Responses
Response samples
- 200
 - 400
 - 401
 - 403
 - 404
 
{- "url": "string"
 
}Download artifact
Download artifact
Authorizations:
path Parameters
| id required  | string  unique id of the object  | 
| environmentID required  | string  unique id of the environment  | 
| executionID required  | string  unique id of the test execution  | 
| artifactID required  | string  unique id of the artifact  | 
Responses
Response samples
- 400
 - 401
 - 403
 - 404
 - 500
 
{- "title": "Invalid test name",
 - "status": 500,
 - "detail": "Your test name can't contain forbidden characters like \"}}}\" passed",
 
}Get Testkube Pro logs for execution
Get Logs separately from execution
Authorizations:
path Parameters
| id required  | string  unique id of the object  | 
| environmentID required  | string  unique id of the environment  | 
| executionID required  | string  unique id of the test execution  | 
query Parameters
| from required  | integer  line number from which logs should be returned  | 
| to required  | integer  line number to which logs should be returned  | 
Responses
Response samples
- 200
 - 401
 - 403
 - 404
 
{- "elements": [
- {
- "lineNumber": 123,
 - "severity": "INFO",
 - "line": "This is a log line",
 - "timestamp": "2006-01-02T15:04:05Z"
 
} 
], - "stats": {
- "lines": 123,
 - "bytes": 123456
 
} 
}Get Testkube Pro metadata for execution
OpenAI analysis websockets stream
Authorizations:
path Parameters
| id required  | string  unique id of the object  | 
| environmentID required  | string  unique id of the environment  | 
| executionID required  | string  unique id of the test execution  | 
Responses
Response samples
- 200
 - 401
 - 403
 - 404
 
{- "aiAnalysisResponse": "string"
 
}Serve artifact
Serve artifact
Authorizations:
path Parameters
| id required  | string  unique id of the object  | 
| environmentID required  | string  unique id of the environment  | 
| executionID required  | string  unique id of the test execution  | 
| artifactID required  | string  unique id of the artifact  | 
query Parameters
| testName | string  name of the test  | 
| testSuiteName | string  name of the testsuite  | 
Responses
Response samples
- 200
 - 400
 - 401
 - 403
 - 404
 
{- "url": "string"
 
}