Skip to main content
New to Testkube? Unleash the power of cloud native testing in Kubernetes with Testkube. Get Started >

Testkube Control Plane ../insights operations

Testkube Pro API (cloud-api/1.10.38)

Download OpenAPI specification:Download

API for Testkube Pro

Get environment execution duration stats

Get environment execution duration stats

Authorizations:
None
path Parameters
id
required
string

unique id of the object

environmentID
required
string

unique id of the environment

query Parameters
startDate
string <date-time>
Example: startDate=2006-01-02T15:04:05Z

startDate for filtering in RFC3339 format, i.e. "2006-01-02T15:04:05Z"

endDate
string <date-time>
Example: endDate=2006-01-02T15:04:05Z

endDate for filtering in RFC3339 format, i.e. "2006-01-02T15:04:05Z"

groupBy
string

group by field

Responses

Response samples

Content type
application/json
{
  • "count": {
    },
  • "duration": {
    }
}

Get time series insights

Get time series insights

Authorizations:
None
path Parameters
id
required
string

unique id of the object

environmentID
required
string

unique id of the environment

query Parameters
startDate
string <date-time>
Example: startDate=2006-01-02T15:04:05Z

startDate for filtering in RFC3339 format, i.e. "2006-01-02T15:04:05Z"

endDate
string <date-time>
Example: endDate=2006-01-02T15:04:05Z

endDate for filtering in RFC3339 format, i.e. "2006-01-02T15:04:05Z"

measure
required
string
Example: measure=execution-count

The y-axis to measure within the time series.

aggregate
required
string
Example: aggregate=sum

The aggregation to perform on the time series bucket.

segment
string
Example: segment=status

Creates a breakdown for each time series metric for the given segment property.

selector
string
Example: selector=kubernetes.io/app=demo

Only workflow executions with given status are included in this time series chart.

status
string
Example: status=failed

Only workflow executions with given status are included in this time series chart.

workflow
string
Example: workflow=my-workflow

The workflow for which the time series should be created.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get environment execution count stats

Get environment execution count stats

Authorizations:
None
path Parameters
id
required
string

unique id of the object

environmentID
required
string

unique id of the environment

query Parameters
startDate
string <date-time>
Example: startDate=2006-01-02T15:04:05Z

startDate for filtering in RFC3339 format, i.e. "2006-01-02T15:04:05Z"

endDate
string <date-time>
Example: endDate=2006-01-02T15:04:05Z

endDate for filtering in RFC3339 format, i.e. "2006-01-02T15:04:05Z"

workflow
string
Example: workflow=my-workflow

The workflow for which the time series should be created.

Responses

Response samples

Content type
application/json
{
  • "ratioStats": {
    },
  • "totalStats": {
    },
  • "failedStats": {
    }
}

Get environment workflow summaries

Get environment workflow summaries

Authorizations:
None
path Parameters
id
required
string

unique id of the object

environmentID
required
string

unique id of the environment

query Parameters
startDate
string <date-time>
Example: startDate=2006-01-02T15:04:05Z

startDate for filtering in RFC3339 format, i.e. "2006-01-02T15:04:05Z"

endDate
string <date-time>
Example: endDate=2006-01-02T15:04:05Z

endDate for filtering in RFC3339 format, i.e. "2006-01-02T15:04:05Z"

Responses

Response samples

Content type
application/json
[
  • {
    }
]