Chapter 57. Report Service


57.1. Report Service

57.1.1. CancelReport

DELETE /v2/reports/jobs/{id}/cancel

Cancels a queued report job for the given report id. If the job is not active, it is a noop. If a report is already being prepared, it won’t be cancelled.

57.1.1.1. Description

57.1.1.2. Parameters

57.1.1.2.1. Path Parameters
NameDescriptionRequiredDefaultPattern

id

 

X

null

 

57.1.1.3. Return Type

Object

57.1.1.4. Content Type

  • application/json

57.1.1.5. Responses

Table 57.1. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

Object

0

An unexpected error response.

RpcStatus

57.1.1.6. Samples

57.1.2. CountReportConfigurations

GET /v2/reports/configuration-count

CountReportConfigurations returns the number of report configurations.

57.1.2.1. Description

57.1.2.2. Parameters

57.1.2.2.1. Query Parameters
NameDescriptionRequiredDefaultPattern

query

 

-

null

 

pagination.limit

 

-

null

 

pagination.offset

 

-

null

 

pagination.sortOption.field

 

-

null

 

pagination.sortOption.reversed

 

-

null

 

pagination.sortOption.aggregateBy.aggrFunc

 

-

UNSET

 

pagination.sortOption.aggregateBy.distinct

 

-

null

 

57.1.2.3. Return Type

V2CountReportConfigurationsResponse

57.1.2.4. Content Type

  • application/json

57.1.2.5. Responses

Table 57.2. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2CountReportConfigurationsResponse

0

An unexpected error response.

RpcStatus

57.1.2.6. Samples

57.1.3. DeleteReport

DELETE /v2/reports/jobs/{id}/delete

Deletes a generated report for the given report id

57.1.3.1. Description

57.1.3.2. Parameters

57.1.3.2.1. Path Parameters
NameDescriptionRequiredDefaultPattern

id

 

X

null

 

57.1.3.3. Return Type

Object

57.1.3.4. Content Type

  • application/json

57.1.3.5. Responses

Table 57.3. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

Object

0

An unexpected error response.

RpcStatus

57.1.3.6. Samples

57.1.4. DeleteReportConfiguration

DELETE /v2/reports/configurations/{id}

DeleteReportConfiguration removes the report configuration with given ID

57.1.4.1. Description

57.1.4.2. Parameters

57.1.4.2.1. Path Parameters
NameDescriptionRequiredDefaultPattern

id

 

X

null

 

57.1.4.3. Return Type

Object

57.1.4.4. Content Type

  • application/json

57.1.4.5. Responses

Table 57.4. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

Object

0

An unexpected error response.

RpcStatus

57.1.4.6. Samples

57.1.5. GetMyReportHistory

GET /v2/reports/configurations/{id}/my-history

GetMyReportHistory returns the requester’s report job history for a report configuration with the specified ID.

57.1.5.1. Description

57.1.5.2. Parameters

57.1.5.2.1. Path Parameters
NameDescriptionRequiredDefaultPattern

id

 

X

null

 
57.1.5.2.2. Query Parameters
NameDescriptionRequiredDefaultPattern

reportParamQuery.query

 

-

null

 

reportParamQuery.pagination.limit

 

-

null

 

reportParamQuery.pagination.offset

 

-

null

 

reportParamQuery.pagination.sortOption.field

 

-

null

 

reportParamQuery.pagination.sortOption.reversed

 

-

null

 

reportParamQuery.pagination.sortOption.aggregateBy.aggrFunc

 

-

UNSET

 

reportParamQuery.pagination.sortOption.aggregateBy.distinct

 

-

null

 

57.1.5.3. Return Type

V2ReportHistoryResponse

57.1.5.4. Content Type

  • application/json

57.1.5.5. Responses

Table 57.5. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2ReportHistoryResponse

0

An unexpected error response.

RpcStatus

57.1.5.6. Samples

57.1.6. GetReportConfiguration

GET /v2/reports/configurations/{id}

GetReportConfiguration returns the report configuration with given ID

57.1.6.1. Description

57.1.6.2. Parameters

57.1.6.2.1. Path Parameters
NameDescriptionRequiredDefaultPattern

id

 

X

null

 

57.1.6.3. Return Type

V2ReportConfiguration

57.1.6.4. Content Type

  • application/json

57.1.6.5. Responses

Table 57.6. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2ReportConfiguration

0

An unexpected error response.

RpcStatus

57.1.6.6. Samples

57.1.7. GetReportHistory

GET /v2/reports/configurations/{id}/history

GetReportHistory returns the full report job history for a report configuration with the specified ID.

57.1.7.1. Description

57.1.7.2. Parameters

57.1.7.2.1. Path Parameters
NameDescriptionRequiredDefaultPattern

id

 

X

null

 
57.1.7.2.2. Query Parameters
NameDescriptionRequiredDefaultPattern

reportParamQuery.query

 

-

null

 

reportParamQuery.pagination.limit

 

-

null

 

reportParamQuery.pagination.offset

 

-

null

 

reportParamQuery.pagination.sortOption.field

 

-

null

 

reportParamQuery.pagination.sortOption.reversed

 

-

null

 

reportParamQuery.pagination.sortOption.aggregateBy.aggrFunc

 

-

UNSET

 

reportParamQuery.pagination.sortOption.aggregateBy.distinct

 

-

null

 

57.1.7.3. Return Type

V2ReportHistoryResponse

57.1.7.4. Content Type

  • application/json

57.1.7.5. Responses

Table 57.7. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2ReportHistoryResponse

0

An unexpected error response.

RpcStatus

57.1.7.6. Samples

57.1.8. GetReportStatus

GET /v2/reports/jobs/{id}/status

GetReportStatus returns report status for the given report id

57.1.8.1. Description

57.1.8.2. Parameters

57.1.8.2.1. Path Parameters
NameDescriptionRequiredDefaultPattern

id

 

X

null

 

57.1.8.3. Return Type

V2ReportStatusResponse

57.1.8.4. Content Type

  • application/json

57.1.8.5. Responses

Table 57.8. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2ReportStatusResponse

0

An unexpected error response.

RpcStatus

57.1.8.6. Samples

57.1.9. ListReportConfigurations

GET /v2/reports/configurations

ListReportConfigurations returns report configurations matching given query

57.1.9.1. Description

57.1.9.2. Parameters

57.1.9.2.1. Query Parameters
NameDescriptionRequiredDefaultPattern

query

 

-

null

 

pagination.limit

 

-

null

 

pagination.offset

 

-

null

 

pagination.sortOption.field

 

-

null

 

pagination.sortOption.reversed

 

-

null

 

pagination.sortOption.aggregateBy.aggrFunc

 

-

UNSET

 

pagination.sortOption.aggregateBy.distinct

 

-

null

 

57.1.9.3. Return Type

V2ListReportConfigurationsResponse

57.1.9.4. Content Type

  • application/json

57.1.9.5. Responses

Table 57.9. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2ListReportConfigurationsResponse

0

An unexpected error response.

RpcStatus

57.1.9.6. Samples

57.1.10. PostReportConfiguration

POST /v2/reports/configurations

PostReportConfiguration creates a report configuration

57.1.10.1. Description

57.1.10.2. Parameters

57.1.10.2.1. Body Parameter
NameDescriptionRequiredDefaultPattern

body

V2ReportConfiguration

X

  

57.1.10.3. Return Type

V2ReportConfiguration

57.1.10.4. Content Type

  • application/json

57.1.10.5. Responses

Table 57.10. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2ReportConfiguration

0

An unexpected error response.

RpcStatus

57.1.10.6. Samples

57.1.11. RunReport

POST /v2/reports/run

Submits a new report generation request if the user requesting this report does not have another waiting or preparing report for the same report configuration.

57.1.11.1. Description

57.1.11.2. Parameters

57.1.11.2.1. Body Parameter
NameDescriptionRequiredDefaultPattern

body

V2RunReportRequest

X

  

57.1.11.3. Return Type

V2RunReportResponse

57.1.11.4. Content Type

  • application/json

57.1.11.5. Responses

Table 57.11. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2RunReportResponse

0

An unexpected error response.

RpcStatus

57.1.11.6. Samples

57.1.12. UpdateReportConfiguration

PUT /v2/reports/configurations/{id}

UpdateReportConfiguration updates a report configuration

57.1.12.1. Description

57.1.12.2. Parameters

57.1.12.2.1. Path Parameters
NameDescriptionRequiredDefaultPattern

id

 

X

null

 
57.1.12.2.2. Body Parameter
NameDescriptionRequiredDefaultPattern

body

ReportServiceUpdateReportConfigurationBody

X

  

57.1.12.3. Return Type

Object

57.1.12.4. Content Type

  • application/json

57.1.12.5. Responses

Table 57.12. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

Object

0

An unexpected error response.

RpcStatus

57.1.12.6. Samples

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat