Files
elasticsearch-js/docs/reference-ml-get_job_stats.asciidoc
2024-12-05 14:46:46 -06:00

65 lines
3.8 KiB
Plaintext

[[reference-ml-get_job_stats]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|| You should update the script that does the generation, which can be found in: ||
|| https://github.com/elastic/elastic-client-generator-js ||
|| ||
|| You can run the script with the following command: ||
|| npm run elasticsearch -- --version <version> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
[discrete]
=== client.ml.getJobStats
Get anomaly detection jobs usage info.
{ref}/ml-get-job-stats.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(MlGetJobStatsRequest, options?): Promise<MlGetJobStatsResponse>
----
[discrete]
===== `MlGetJobStatsRequest`
[source,ts]
----
interface MlGetJobStatsRequest extends <<shared-type-request-base, RequestBase>> {
job_id?: <<shared-type-id, Id>>
allow_no_match?: boolean
}
----
[discrete]
===== `MlGetJobStatsResponse`
[source,ts]
----
interface MlGetJobStatsResponse {
count: <<shared-type-long, long>>
jobs: MlJobStats[]
}
----