latestOpenAPI 3.1.02026-08-1963241304.5 KB

ae394a06c465

test_insights

Search tests

Search tests in a repository.

get/ci/{owner}/repositories/{repository}/search/tests

Path parameters

ownerstring required

The owner of the repository

The owner of the repository

repositorystring required

The name of the repository

The name of the repository

Query parameters

test_namestring[] nullable

Filter by test name. Pass multiple times to combine matches. Supports glob patterns (*, ?). Omit to return all test identities.

Filter by test name. Pass multiple times to combine matches. Supports glob patterns (*, ?). Omit to return all test identities.

sort'executions_count' | 'test_name' | 'pipeline_name' | 'job_name' | 'health_status' | 'health_confidence' | 'failed_executions_impact' | 'failed_executions_ratio'

Sort field

Sort field

direction'asc' | 'desc'

Sort direction

Sort direction

test_name_excludestring[] nullable

The test name to exclude

The test name to exclude

pipeline_namestring[] nullable

The pipeline name to filter on

The pipeline name to filter on

pipeline_name_excludestring[] nullable

The pipeline name to exclude

The pipeline name to exclude

job_namestring[] nullable

The job name to filter on

The job name to filter on

job_name_excludestring[] nullable

The job name to exclude

The job name to exclude

health_statusHealthStatus[] nullable

The health status to filter on

The health status to filter on

health_status_excludeHealthStatus[] nullable

The health status to exclude

The health status to exclude

health_confidenceHealthConfidence[] nullable

The health confidence to filter on

The health confidence to filter on

health_confidence_excludeHealthConfidence[] nullable

The health confidence to exclude

The health confidence to exclude

failed_executions_impactstring[] nullable

The failed executions impact to filter on

The failed executions impact to filter on

failed_executions_impact_excludestring[] nullable

The failed executions impact to exclude

The failed executions impact to exclude

cursorstring nullable

The opaque cursor of the current page. Must be extracted from RFC 5988 pagination links to get first/previous/next/last pages

The opaque cursor of the current page. Must be extracted from RFC 5988 pagination links to get first/previous/next/last pages

per_pageinteger

The number of items per page

The number of items per page

Response

Successful Response

sizeinteger required

The number of items in this page

per_pageinteger required

The number of items per page

totalinteger required

Total number of test identities matching the search query, across all pages.