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

76 lines
3.9 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]]
=== 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
[pass]
++++
<pre>
++++
interface MlGetJobStatsRequest extends <<RequestBase>> {
job_id?: <<Id>>
allow_no_match?: boolean
}
[pass]
++++
</pre>
++++
[discrete]
==== MlGetJobStatsResponse
[pass]
++++
<pre>
++++
interface MlGetJobStatsResponse {
count: <<long>>
jobs: MlJobStats[]
}
[pass]
++++
</pre>
++++