diff --git a/docs/api-generated/fleet/fleet-apis-passthru.asciidoc b/docs/api-generated/fleet/fleet-apis-passthru.asciidoc
new file mode 100644
index 0000000000000..5d8b478e9e94e
--- /dev/null
+++ b/docs/api-generated/fleet/fleet-apis-passthru.asciidoc
@@ -0,0 +1,7329 @@
+////
+This content is generated from the open API specification.
+Any modifications made to this file will be overwritten.
+////
+
+++++
+
+
Access
+
+ - APIKey KeyParamName:Authorization KeyInQuery:false KeyInHeader:true
+ - APIKey KeyParamName:Authorization KeyInQuery:false KeyInHeader:true
+ - HTTP Basic Authentication
+
+
+
+ [ Jump to
Models ]
+
+
Table of Contents
+
+
+
+
+
+
+
+
Up
+
post /agent_policies/{agentPolicyId}/copy
+
Agent policy - copy one policy (agentPolicyCopy)
+
+
+
Path parameters
+
+
agentPolicyId (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{ }
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
agent_policy_info_200_response
+
+
+
+
+
Up
+
get /agent_policies/{agentPolicyId}
+
Agent policy - Info (agentPolicyInfo)
+
Get one agent policy
+
+
Path parameters
+
+
agentPolicyId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{ }
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
agent_policy_info_200_response
+
+
+
+
+
Up
+
get /agent_policies
+
Agent policies - List (agentPolicyList)
+
+
+
+
+
+
+
Query parameters
+
+
perPage (optional)
+
+
Query Parameter — The number of items to return default: 20
page (optional)
+
+
Query Parameter — default: 1
kuery (optional)
+
+
Query Parameter — default: null
full (optional)
+
+
Query Parameter — When set to true, retrieve the related package policies for each agent policy. default: null
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "total" : 0.8008281904610115,
+ "perPage" : 1.4658129805029452,
+ "page" : 6.027456183070403,
+ "items" : [ null, null ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
agent_policy_list_200_response
+
+
+
+
+
Up
+
get /agents/action_status
+
Agents - Action status (agentsActionStatus)
+
+
+
+
+
+
+
Query parameters
+
+
perPage (optional)
+
+
Query Parameter — The number of items to return default: 20
page (optional)
+
+
Query Parameter — default: 1
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "items" : [ {
+ "nbAgentsActioned" : 0.8008281904610115,
+ "creationTime" : "creationTime",
+ "cancellationTime" : "cancellationTime",
+ "type" : "type",
+ "newPolicyId" : "newPolicyId",
+ "version" : "version",
+ "completionTime" : "completionTime",
+ "actionId" : "actionId",
+ "nbAgentsAck" : 1.4658129805029452,
+ "nbAgentsFailed" : 5.962133916683182,
+ "startTime" : "startTime",
+ "expiration" : "expiration",
+ "nbAgentsActionCreated" : 6.027456183070403,
+ "status" : "COMPLETE"
+ }, {
+ "nbAgentsActioned" : 0.8008281904610115,
+ "creationTime" : "creationTime",
+ "cancellationTime" : "cancellationTime",
+ "type" : "type",
+ "newPolicyId" : "newPolicyId",
+ "version" : "version",
+ "completionTime" : "completionTime",
+ "actionId" : "actionId",
+ "nbAgentsAck" : 1.4658129805029452,
+ "nbAgentsFailed" : 5.962133916683182,
+ "startTime" : "startTime",
+ "expiration" : "expiration",
+ "nbAgentsActionCreated" : 6.027456183070403,
+ "status" : "COMPLETE"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
agents_action_status_200_response
+
+
+
+
+
Up
+
get /agents/current_upgrades
+
Agents - Current Bulk Upgrades (agentsCurrentUpgrades)
+
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "items" : [ {
+ "nbAgents" : 0.8008281904610115,
+ "actionId" : "actionId",
+ "nbAgentsAck" : 6.027456183070403,
+ "startTime" : "startTime",
+ "complete" : true,
+ "version" : "version"
+ }, {
+ "nbAgents" : 0.8008281904610115,
+ "actionId" : "actionId",
+ "nbAgentsAck" : 6.027456183070403,
+ "startTime" : "startTime",
+ "complete" : true,
+ "version" : "version"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
agents_current_upgrades_200_response
+
+
+
+
+
Up
+
post /agent_policies/_bulk_get
+
Agent policies - Bulk Get (bulkGetAgentPolicies)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "items" : [ null, null ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
bulk_get_agent_policies_200_response
+
+
+
+
+
Up
+
post /package_policies/_bulk_get
+
Package policies - Bulk Get (bulkGetPackagePolicies)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "items" : [ null, null ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
bulk_get_package_policies_200_response
+
+
+
+
+
Up
+
post /epm/packages/_bulk
+
Packages - Bulk install (bulkInstallPackages)
+
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "response" : [ {
+ "name" : "name",
+ "version" : "version"
+ }, {
+ "name" : "name",
+ "version" : "version"
+ } ],
+ "items" : [ {
+ "name" : "name",
+ "version" : "version"
+ }, {
+ "name" : "name",
+ "version" : "version"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
bulk_install_packages_response
+
+
+
+
+
Up
+
post /agents/bulk_reassign
+
Agents - Bulk reassign (bulkReassignAgents)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "actionId" : "actionId"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
bulk_upgrade_agents_200_response
+
+
+
+
+
Up
+
post /agents/bulk_request_diagnostics
+
Agent - Bulk Request Diagnostics (bulkRequestDiagnostics)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "actionId" : "actionId"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
bulk_upgrade_agents_200_response
+
+
+
+
+
Up
+
post /agents/bulk_unenroll
+
Agents - Bulk unenroll (bulkUnenrollAgents)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "actionId" : "actionId"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
bulk_upgrade_agents_200_response
+
+
+
+
+
Up
+
post /agents/bulk_update_agent_tags
+
Agents - Bulk update tags (bulkUpdateAgentTags)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "actionId" : "actionId"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
bulk_upgrade_agents_200_response
+
+
+
+
+
Up
+
post /agents/bulk_upgrade
+
Agents - Bulk Upgrade (bulkUpgradeAgents)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "actionId" : "actionId"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
bulk_upgrade_agents_200_response
+
400
+ BAD REQUEST
+
upgrade_agent
+
+
+
+
+
Up
+
post /agent_policies
+
Agent policy - Create (createAgentPolicy)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{ }
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
create_agent_policy_200_response
+
+
+
+
+
Up
+
post /enrollment_api_keys
+
Enrollment API Key - Create (createEnrollmentApiKeys)
+
+
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "policy_id" : "policy_id",
+ "api_key" : "api_key",
+ "name" : "name",
+ "active" : true,
+ "created_at" : "created_at",
+ "id" : "id",
+ "api_key_id" : "api_key_id"
+ },
+ "action" : "created"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
create_enrollment_api_keys_deprecated_200_response
+
+
+
+
+
Up
+
post /enrollment-api-keys
+
Enrollment API Key - Create (createEnrollmentApiKeysDeprecated)
+
+
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "policy_id" : "policy_id",
+ "api_key" : "api_key",
+ "name" : "name",
+ "active" : true,
+ "created_at" : "created_at",
+ "id" : "id",
+ "api_key_id" : "api_key_id"
+ },
+ "action" : "created"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
create_enrollment_api_keys_deprecated_200_response
+
+
+
+
+
Up
+
post /package_policies
+
Package policy - Create (createPackagePolicy)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{ }
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
create_package_policy_200_response
+
+
+
+
+
Data streams - List (dataStreamsList)
+
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "data_streams" : [ {
+ "last_activity_ms" : 0.8008281904610115,
+ "size_in_bytes_formatted" : "size_in_bytes_formatted",
+ "package" : "package",
+ "package_version" : "package_version",
+ "namespace" : "namespace",
+ "size_in_bytes" : 6.027456183070403,
+ "index" : "index",
+ "type" : "type",
+ "dataset" : "dataset",
+ "dashboard" : [ {
+ "id" : "id",
+ "title" : "title"
+ }, {
+ "id" : "id",
+ "title" : "title"
+ } ]
+ }, {
+ "last_activity_ms" : 0.8008281904610115,
+ "size_in_bytes_formatted" : "size_in_bytes_formatted",
+ "package" : "package",
+ "package_version" : "package_version",
+ "namespace" : "namespace",
+ "size_in_bytes" : 6.027456183070403,
+ "index" : "index",
+ "type" : "type",
+ "dataset" : "dataset",
+ "dashboard" : [ {
+ "id" : "id",
+ "title" : "title"
+ }, {
+ "id" : "id",
+ "title" : "title"
+ } ]
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
data_streams_list_200_response
+
+
+
+
+
Up
+
delete /agents/{agentId}
+
Agent - Delete (deleteAgent)
+
+
+
Path parameters
+
+
agentId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "action" : "deleted"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
delete_agent_200_response
+
+
+
+
+
Up
+
post /agent_policies/delete
+
Agent policy - Delete (deleteAgentPolicy)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "success" : true,
+ "id" : "id"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
delete_agent_policy_200_response
+
+
+
+
+
Up
+
delete /agent_download_sources/{sourceId}
+
Agent Download Sources - Delete (deleteDownloadSource)
+
+
+
Path parameters
+
+
sourceId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "id" : "id"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
delete_package_policy_200_response
+
+
+
+
+
Up
+
delete /enrollment_api_keys/{keyId}
+
Enrollment API Key - Delete (deleteEnrollmentApiKey)
+
+
+
Path parameters
+
+
keyId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "action" : "deleted"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
delete_agent_200_response
+
+
+
+
+
Up
+
delete /enrollment-api-keys/{keyId}
+
Enrollment API Key - Delete (deleteEnrollmentApiKeyDeprecated)
+
+
+
Path parameters
+
+
keyId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "action" : "deleted"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
delete_agent_200_response
+
+
+
+
+
Up
+
delete /proxies/{itemId}
+
Fleet Proxies - Delete (deleteFleetProxies)
+
+
+
Path parameters
+
+
itemId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "id" : "id"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
delete_package_policy_200_response
+
+
+
+
+
Up
+
delete /fleet_server_hosts/{itemId}
+
Fleet Server Hosts - Delete (deleteFleetServerHosts)
+
+
+
Path parameters
+
+
itemId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "id" : "id"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
delete_package_policy_200_response
+
+
+
+
+
Up
+
delete /outputs/{outputId}
+
Output - Delete (deleteOutput)
+
+
+
Path parameters
+
+
outputId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "id" : "id"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
delete_package_policy_200_response
+
+
+
+
+
Up
+
delete /epm/packages/{pkgName}/{pkgVersion}
+
Packages - Delete (deletePackage)
+
+
+
Path parameters
+
+
pkgName (required)
+
+
Path Parameter — default: null
pkgVersion (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
Query parameters
+
+
ignoreUnverified (optional)
+
+
Query Parameter — Ignore if the package is fails signature verification default: null
full (optional)
+
+
Query Parameter — Return all fields from the package manifest, not just those supported by the Elastic Package Registry default: null
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "items" : [ {
+ "id" : "id"
+ }, {
+ "id" : "id"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
update_package_200_response
+
+
+
+
+
Up
+
delete /epm/packages/{pkgkey}
+
Packages - Delete (deletePackageDeprecated)
+
+
+
Path parameters
+
+
pkgkey (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "response" : [ {
+ "id" : "id"
+ }, {
+ "id" : "id"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
install_package_deprecated_200_response
+
+
+
+
+
Up
+
delete /package_policies/{packagePolicyId}
+
Package policy - Delete (deletePackagePolicy)
+
+
+
Path parameters
+
+
packagePolicyId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
+
Query parameters
+
+
force (optional)
+
+
Query Parameter — default: null
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "id" : "id"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
delete_package_policy_200_response
+
+
+
+
+
Up
+
post /logstash_api_keys
+
Generate Logstash API key (generateLogstashApiKey)
+
+
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "api_key" : "api_key"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
generate_logstash_api_key_200_response
+
+
+
+
+
Up
+
post /service_tokens
+
Generate service tokens (generateServiceToken)
+
+
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "name" : "name",
+ "value" : "value"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
generate_service_token_deprecated_200_response
+
+
+
+
+
Up
+
post /service-tokens
+
Generate service tokens (generateServiceTokenDeprecated)
+
+
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "name" : "name",
+ "value" : "value"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
generate_service_token_deprecated_200_response
+
+
+
+
+
Up
+
get /agents/{agentId}
+
Agent - Info (getAgent)
+
+
+
Path parameters
+
+
agentId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "default_api_key" : "default_api_key",
+ "enrolled_at" : "enrolled_at",
+ "access_api_key" : "access_api_key",
+ "components" : [ {
+ "id" : "id",
+ "units" : [ {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ }, {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ } ],
+ "type" : "type",
+ "message" : "message"
+ }, {
+ "id" : "id",
+ "units" : [ {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ }, {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ } ],
+ "type" : "type",
+ "message" : "message"
+ } ],
+ "user_provided_metadata" : "{}",
+ "unenrollment_started_at" : "unenrollment_started_at",
+ "policy_id" : "policy_id",
+ "policy_revision" : 0.8008281904610115,
+ "active" : true,
+ "local_metadata" : "{}",
+ "last_checkin" : "last_checkin",
+ "access_api_key_id" : "access_api_key_id",
+ "default_api_key_id" : "default_api_key_id",
+ "unenrolled_at" : "unenrolled_at",
+ "id" : "id"
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_agent_200_response
+
+
+
+
+
Up
+
get /agent_status/data
+
Agents - Get incoming data (getAgentData)
+
+
+
+
+
+
+
Query parameters
+
+
agentsIds (required)
+
+
Query Parameter — default: null
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "items" : [ {
+ "key" : {
+ "data" : true
+ }
+ }, {
+ "key" : {
+ "data" : true
+ }
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_agent_data_200_response
+
+
+
+
+
Agents - Summary stats (getAgentStatus)
+
+
+
+
+
+
+
Query parameters
+
+
policyId (optional)
+
+
Query Parameter — default: null
kuery (optional)
+
+
Query Parameter — default: null
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "offline" : 5,
+ "other" : 2,
+ "total" : 7,
+ "inactive" : 1,
+ "updating" : 9,
+ "online" : 5,
+ "error" : 0,
+ "events" : 6
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_agent_status_deprecated_200_response
+
+
+
+
+
Agents - Summary stats (getAgentStatusDeprecated)
+
+
+
+
+
+
+
Query parameters
+
+
policyId (optional)
+
+
Query Parameter — default: null
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "offline" : 5,
+ "other" : 2,
+ "total" : 7,
+ "inactive" : 1,
+ "updating" : 9,
+ "online" : 5,
+ "error" : 0,
+ "events" : 6
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_agent_status_deprecated_200_response
+
+
+
+
+
Agent Tags - List (getAgentTags)
+
List all agent tags
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "items" : [ "items", "items" ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_agent_tags_response
+
+
+
+
+
Agents - List (getAgents)
+
+
+
+
+
+
+
Query parameters
+
+
perPage (optional)
+
+
Query Parameter — The number of items to return default: 20
page (optional)
+
+
Query Parameter — default: 1
kuery (optional)
+
+
Query Parameter — default: null
showInactive (optional)
+
+
Query Parameter — default: null
showUpgradeable (optional)
+
+
Query Parameter — default: null
sortField (optional)
+
+
Query Parameter — default: null
sortOrder (optional)
+
+
Query Parameter — default: null
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "total" : 6.027456183070403,
+ "perPage" : 5.962133916683182,
+ "page" : 1.4658129805029452,
+ "list" : [ {
+ "default_api_key" : "default_api_key",
+ "enrolled_at" : "enrolled_at",
+ "access_api_key" : "access_api_key",
+ "components" : [ {
+ "id" : "id",
+ "units" : [ {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ }, {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ } ],
+ "type" : "type",
+ "message" : "message"
+ }, {
+ "id" : "id",
+ "units" : [ {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ }, {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ } ],
+ "type" : "type",
+ "message" : "message"
+ } ],
+ "user_provided_metadata" : "{}",
+ "unenrollment_started_at" : "unenrollment_started_at",
+ "policy_id" : "policy_id",
+ "policy_revision" : 0.8008281904610115,
+ "active" : true,
+ "local_metadata" : "{}",
+ "last_checkin" : "last_checkin",
+ "access_api_key_id" : "access_api_key_id",
+ "default_api_key_id" : "default_api_key_id",
+ "unenrolled_at" : "unenrolled_at",
+ "id" : "id"
+ }, {
+ "default_api_key" : "default_api_key",
+ "enrolled_at" : "enrolled_at",
+ "access_api_key" : "access_api_key",
+ "components" : [ {
+ "id" : "id",
+ "units" : [ {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ }, {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ } ],
+ "type" : "type",
+ "message" : "message"
+ }, {
+ "id" : "id",
+ "units" : [ {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ }, {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ } ],
+ "type" : "type",
+ "message" : "message"
+ } ],
+ "user_provided_metadata" : "{}",
+ "unenrollment_started_at" : "unenrollment_started_at",
+ "policy_id" : "policy_id",
+ "policy_revision" : 0.8008281904610115,
+ "active" : true,
+ "local_metadata" : "{}",
+ "last_checkin" : "last_checkin",
+ "access_api_key_id" : "access_api_key_id",
+ "default_api_key_id" : "default_api_key_id",
+ "unenrolled_at" : "unenrolled_at",
+ "id" : "id"
+ } ],
+ "items" : [ {
+ "default_api_key" : "default_api_key",
+ "enrolled_at" : "enrolled_at",
+ "access_api_key" : "access_api_key",
+ "components" : [ {
+ "id" : "id",
+ "units" : [ {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ }, {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ } ],
+ "type" : "type",
+ "message" : "message"
+ }, {
+ "id" : "id",
+ "units" : [ {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ }, {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ } ],
+ "type" : "type",
+ "message" : "message"
+ } ],
+ "user_provided_metadata" : "{}",
+ "unenrollment_started_at" : "unenrollment_started_at",
+ "policy_id" : "policy_id",
+ "policy_revision" : 0.8008281904610115,
+ "active" : true,
+ "local_metadata" : "{}",
+ "last_checkin" : "last_checkin",
+ "access_api_key_id" : "access_api_key_id",
+ "default_api_key_id" : "default_api_key_id",
+ "unenrolled_at" : "unenrolled_at",
+ "id" : "id"
+ }, {
+ "default_api_key" : "default_api_key",
+ "enrolled_at" : "enrolled_at",
+ "access_api_key" : "access_api_key",
+ "components" : [ {
+ "id" : "id",
+ "units" : [ {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ }, {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ } ],
+ "type" : "type",
+ "message" : "message"
+ }, {
+ "id" : "id",
+ "units" : [ {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ }, {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ } ],
+ "type" : "type",
+ "message" : "message"
+ } ],
+ "user_provided_metadata" : "{}",
+ "unenrollment_started_at" : "unenrollment_started_at",
+ "policy_id" : "policy_id",
+ "policy_revision" : 0.8008281904610115,
+ "active" : true,
+ "local_metadata" : "{}",
+ "last_checkin" : "last_checkin",
+ "access_api_key_id" : "access_api_key_id",
+ "default_api_key_id" : "default_api_key_id",
+ "unenrolled_at" : "unenrolled_at",
+ "id" : "id"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_agents_response
+
+
+
+
+
Agents setup - Info (getAgentsSetupStatus)
+
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "missing_requirements" : [ "tls_required", "tls_required" ],
+ "package_verification_key_id" : "package_verification_key_id",
+ "isReady" : true,
+ "missing_optional_features" : [ "encrypted_saved_object_encryption_key_required", "encrypted_saved_object_encryption_key_required" ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
fleet_status_response
+
+
+
+
+
Up
+
get /agent_download_sources
+
Agent Download Sources (getDownloadSources)
+
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "total" : 0,
+ "perPage" : 1,
+ "page" : 6,
+ "items" : [ {
+ "name" : "name",
+ "host" : "host",
+ "id" : "id",
+ "is_default" : true
+ }, {
+ "name" : "name",
+ "host" : "host",
+ "id" : "id",
+ "is_default" : true
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_download_sources_200_response
+
+
+
+
+
Up
+
get /enrollment_api_keys/{keyId}
+
Enrollment API Key - Info (getEnrollmentApiKey)
+
+
+
Path parameters
+
+
keyId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "policy_id" : "policy_id",
+ "api_key" : "api_key",
+ "name" : "name",
+ "active" : true,
+ "created_at" : "created_at",
+ "id" : "id",
+ "api_key_id" : "api_key_id"
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_enrollment_api_key_deprecated_200_response
+
+
+
+
+
Up
+
get /enrollment-api-keys/{keyId}
+
Enrollment API Key - Info (getEnrollmentApiKeyDeprecated)
+
+
+
Path parameters
+
+
keyId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "policy_id" : "policy_id",
+ "api_key" : "api_key",
+ "name" : "name",
+ "active" : true,
+ "created_at" : "created_at",
+ "id" : "id",
+ "api_key_id" : "api_key_id"
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_enrollment_api_key_deprecated_200_response
+
+
+
+
+
Up
+
get /enrollment_api_keys
+
Enrollment API Keys - List (getEnrollmentApiKeys)
+
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "total" : 1.4658129805029452,
+ "perPage" : 6.027456183070403,
+ "page" : 0.8008281904610115,
+ "list" : [ {
+ "policy_id" : "policy_id",
+ "api_key" : "api_key",
+ "name" : "name",
+ "active" : true,
+ "created_at" : "created_at",
+ "id" : "id",
+ "api_key_id" : "api_key_id"
+ }, {
+ "policy_id" : "policy_id",
+ "api_key" : "api_key",
+ "name" : "name",
+ "active" : true,
+ "created_at" : "created_at",
+ "id" : "id",
+ "api_key_id" : "api_key_id"
+ } ],
+ "items" : [ {
+ "policy_id" : "policy_id",
+ "api_key" : "api_key",
+ "name" : "name",
+ "active" : true,
+ "created_at" : "created_at",
+ "id" : "id",
+ "api_key_id" : "api_key_id"
+ }, {
+ "policy_id" : "policy_id",
+ "api_key" : "api_key",
+ "name" : "name",
+ "active" : true,
+ "created_at" : "created_at",
+ "id" : "id",
+ "api_key_id" : "api_key_id"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_enrollment_api_keys_deprecated_200_response
+
+
+
+
+
Up
+
get /enrollment-api-keys
+
Enrollment API Keys - List (getEnrollmentApiKeysDeprecated)
+
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "total" : 1.4658129805029452,
+ "perPage" : 6.027456183070403,
+ "page" : 0.8008281904610115,
+ "list" : [ {
+ "policy_id" : "policy_id",
+ "api_key" : "api_key",
+ "name" : "name",
+ "active" : true,
+ "created_at" : "created_at",
+ "id" : "id",
+ "api_key_id" : "api_key_id"
+ }, {
+ "policy_id" : "policy_id",
+ "api_key" : "api_key",
+ "name" : "name",
+ "active" : true,
+ "created_at" : "created_at",
+ "id" : "id",
+ "api_key_id" : "api_key_id"
+ } ],
+ "items" : [ {
+ "policy_id" : "policy_id",
+ "api_key" : "api_key",
+ "name" : "name",
+ "active" : true,
+ "created_at" : "created_at",
+ "id" : "id",
+ "api_key_id" : "api_key_id"
+ }, {
+ "policy_id" : "policy_id",
+ "api_key" : "api_key",
+ "name" : "name",
+ "active" : true,
+ "created_at" : "created_at",
+ "id" : "id",
+ "api_key_id" : "api_key_id"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_enrollment_api_keys_deprecated_200_response
+
+
+
+
+
Fleet Proxies - List (getFleetProxies)
+
Return a list of Proxies
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "total" : 0,
+ "perPage" : 1,
+ "page" : 6,
+ "items" : [ {
+ "proxy_headers" : "{}",
+ "certificate_authorities" : "certificate_authorities",
+ "certificate_key" : "certificate_key",
+ "name" : "name",
+ "certificate" : "certificate",
+ "id" : "id",
+ "url" : "url"
+ }, {
+ "proxy_headers" : "{}",
+ "certificate_authorities" : "certificate_authorities",
+ "certificate_key" : "certificate_key",
+ "name" : "name",
+ "certificate" : "certificate",
+ "id" : "id",
+ "url" : "url"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_fleet_proxies_200_response
+
+
+
+
+
Up
+
get /fleet_server_hosts
+
Fleet Server Hosts - List (getFleetServerHosts)
+
Return a list of Fleet server hosts
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "total" : 0,
+ "perPage" : 1,
+ "page" : 6,
+ "items" : [ {
+ "host_urls" : [ "host_urls", "host_urls" ],
+ "is_preconfigured" : true,
+ "name" : "name",
+ "id" : "id",
+ "is_default" : true
+ }, {
+ "host_urls" : [ "host_urls", "host_urls" ],
+ "is_preconfigured" : true,
+ "name" : "name",
+ "id" : "id",
+ "is_default" : true
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_fleet_server_hosts_200_response
+
+
+
+
+
Up
+
get /agent_download_sources/{sourceId}
+
Agent Download Sources - Info (getOneDownloadSource)
+
+
+
Path parameters
+
+
sourceId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "name" : "name",
+ "host" : "host",
+ "id" : "id",
+ "is_default" : true
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_one_download_source_200_response
+
+
+
+
+
Up
+
get /proxies/{itemId}
+
Fleet Proxies - Info (getOneFleetProxies)
+
+
+
Path parameters
+
+
itemId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "proxy_headers" : "{}",
+ "certificate_authorities" : "certificate_authorities",
+ "certificate_key" : "certificate_key",
+ "name" : "name",
+ "certificate" : "certificate",
+ "id" : "id",
+ "url" : "url"
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_one_fleet_proxies_200_response
+
+
+
+
+
Up
+
get /fleet_server_hosts/{itemId}
+
Fleet Server Hosts - Info (getOneFleetServerHosts)
+
+
+
Path parameters
+
+
itemId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "host_urls" : [ "host_urls", "host_urls" ],
+ "is_preconfigured" : true,
+ "name" : "name",
+ "id" : "id",
+ "is_default" : true
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_one_fleet_server_hosts_200_response
+
+
+
+
+
Up
+
get /outputs/{outputId}
+
Output - Info (getOutput)
+
+
+
Path parameters
+
+
outputId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "ca_sha256" : "ca_sha256",
+ "hosts" : [ "hosts", "hosts" ],
+ "name" : "name",
+ "ca_trusted_fingerprint" : "ca_trusted_fingerprint",
+ "is_default_monitoring" : true,
+ "config_yaml" : "config_yaml",
+ "id" : "id",
+ "is_default" : true,
+ "type" : "elasticsearch",
+ "config" : "{}",
+ "ssl" : {
+ "certificate_authorities" : [ "certificate_authorities", "certificate_authorities" ],
+ "certificate" : "certificate",
+ "key" : "key"
+ }
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_output_200_response
+
+
+
+
+
Outputs (getOutputs)
+
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "total" : 0,
+ "perPage" : 1,
+ "page" : 6,
+ "items" : [ {
+ "ca_sha256" : "ca_sha256",
+ "hosts" : [ "hosts", "hosts" ],
+ "name" : "name",
+ "ca_trusted_fingerprint" : "ca_trusted_fingerprint",
+ "is_default_monitoring" : true,
+ "config_yaml" : "config_yaml",
+ "id" : "id",
+ "is_default" : true,
+ "type" : "elasticsearch",
+ "config" : "{}",
+ "ssl" : {
+ "certificate_authorities" : [ "certificate_authorities", "certificate_authorities" ],
+ "certificate" : "certificate",
+ "key" : "key"
+ }
+ }, {
+ "ca_sha256" : "ca_sha256",
+ "hosts" : [ "hosts", "hosts" ],
+ "name" : "name",
+ "ca_trusted_fingerprint" : "ca_trusted_fingerprint",
+ "is_default_monitoring" : true,
+ "config_yaml" : "config_yaml",
+ "id" : "id",
+ "is_default" : true,
+ "type" : "elasticsearch",
+ "config" : "{}",
+ "ssl" : {
+ "certificate_authorities" : [ "certificate_authorities", "certificate_authorities" ],
+ "certificate" : "certificate",
+ "key" : "key"
+ }
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_outputs_200_response
+
+
+
+
+
Up
+
get /epm/packages/{pkgName}/{pkgVersion}
+
Packages - Info (getPackage)
+
+
+
Path parameters
+
+
pkgName (required)
+
+
Path Parameter — default: null
pkgVersion (required)
+
+
Path Parameter — default: null
+
+
+
+
+
+
Query parameters
+
+
ignoreUnverified (optional)
+
+
Query Parameter — Ignore if the package is fails signature verification default: null
full (optional)
+
+
Query Parameter — Return all fields from the package manifest, not just those supported by the Elastic Package Registry default: null
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
null
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_package_200_response
+
+
+
+
+
Up
+
get /epm/categories
+
Package categories (getPackageCategories)
+
+
+
+
+
+
+
Query parameters
+
+
prerelease (optional)
+
+
Query Parameter — Whether to include prerelease packages in categories count (e.g. beta, rc, preview) default: false
experimental (optional)
+
+
Query Parameter — default: false
include_policy_templates (optional)
+
+
Query Parameter — default: false
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "response" : [ {
+ "count" : 0.8008281904610115,
+ "id" : "id",
+ "title" : "title"
+ }, {
+ "count" : 0.8008281904610115,
+ "id" : "id",
+ "title" : "title"
+ } ],
+ "items" : [ {
+ "count" : 6.027456183070403,
+ "id" : "id",
+ "title" : "title"
+ }, {
+ "count" : 6.027456183070403,
+ "id" : "id",
+ "title" : "title"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_categories_response
+
+
+
+
+
Up
+
get /epm/packages/{pkgkey}
+
Packages - Info (getPackageDeprecated)
+
+
+
Path parameters
+
+
pkgkey (required)
+
+
Path Parameter — default: null
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
null
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_package_deprecated_200_response
+
+
+
+
+
Up
+
get /package_policies
+
Package policies - List (getPackagePolicies)
+
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "total" : 0.8008281904610115,
+ "perPage" : 1.4658129805029452,
+ "page" : 6.027456183070403,
+ "items" : [ null, null ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_package_policies_200_response
+
+
+
+
+
Up
+
get /package_policies/{packagePolicyId}
+
Package policy - Info (getPackagePolicy)
+
+
+
Path parameters
+
+
packagePolicyId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{ }
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
create_package_policy_200_response
+
+
+
+
+
Up
+
get /epm/packages/{pkgName}/stats
+
Get stats for a package (getPackageStats)
+
+
+
Path parameters
+
+
pkgName (required)
+
+
Path Parameter — default: null
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "response" : {
+ "agent_policy_count" : 0
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_package_stats_200_response
+
+
+
+
+
Settings (getSettings)
+
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "has_seen_add_data_notice" : true,
+ "fleet_server_hosts" : [ "fleet_server_hosts", "fleet_server_hosts" ],
+ "prerelease_integrations_enabled" : true,
+ "id" : "id"
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
fleet_settings_response
+
+
+
+
+
Up
+
post /epm/packages/{pkgName}/{pkgVersion}
+
Packages - Install (installPackage)
+
+
+
Path parameters
+
+
pkgName (required)
+
+
Path Parameter — default: null
pkgVersion (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
Query parameters
+
+
ignoreUnverified (optional)
+
+
Query Parameter — Ignore if the package is fails signature verification default: null
full (optional)
+
+
Query Parameter — Return all fields from the package manifest, not just those supported by the Elastic Package Registry default: null
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "_meta" : {
+ "install_source" : "registry"
+ },
+ "items" : [ {
+ "id" : "id"
+ }, {
+ "id" : "id"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
install_package_200_response
+
+
+
+
+
Up
+
post /epm/packages/{pkgkey}
+
Packages - Install (installPackageDeprecated)
+
+
+
Path parameters
+
+
pkgkey (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "response" : [ {
+ "id" : "id"
+ }, {
+ "id" : "id"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
install_package_deprecated_200_response
+
+
+
+
+
Packages - List (listAllPackages)
+
+
+
+
+
+
+
Query parameters
+
+
excludeInstallStatus (optional)
+
+
Query Parameter — Whether to exclude the install status of each package. Enabling this option will opt in to caching for the response via cache-control headers. If you don't need up-to-date installation info for a package, and are querying for a list of available packages, providing this flag can improve performance substantially. default: false
prerelease (optional)
+
+
Query Parameter — Whether to return prerelease versions of packages (e.g. beta, rc, preview) default: false
experimental (optional)
+
+
Query Parameter — default: false
category (optional)
+
+
Query Parameter — default: null
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "response" : [ {
+ "savedObject" : "{}",
+ "path" : "path",
+ "download" : "download",
+ "name" : "name",
+ "description" : "description",
+ "icons" : "icons",
+ "title" : "title",
+ "type" : "type",
+ "version" : "version",
+ "status" : "status"
+ }, {
+ "savedObject" : "{}",
+ "path" : "path",
+ "download" : "download",
+ "name" : "name",
+ "description" : "description",
+ "icons" : "icons",
+ "title" : "title",
+ "type" : "type",
+ "version" : "version",
+ "status" : "status"
+ } ],
+ "items" : [ {
+ "savedObject" : "{}",
+ "path" : "path",
+ "download" : "download",
+ "name" : "name",
+ "description" : "description",
+ "icons" : "icons",
+ "title" : "title",
+ "type" : "type",
+ "version" : "version",
+ "status" : "status"
+ }, {
+ "savedObject" : "{}",
+ "path" : "path",
+ "download" : "download",
+ "name" : "name",
+ "description" : "description",
+ "icons" : "icons",
+ "title" : "title",
+ "type" : "type",
+ "version" : "version",
+ "status" : "status"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_packages_response
+
+
+
+
+
Up
+
get /epm/packages/limited
+
Packages - Get limited list (listLimitedPackages)
+
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "items" : [ "items", "items" ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
list_limited_packages_200_response
+
+
+
+
+
Up
+
post /agents/{agentId}/actions
+
Agent - Actions (newAgentAction)
+
+
+
Path parameters
+
+
agentId (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "headers" : "headers",
+ "body" : [ 0.8008281904610115, 0.8008281904610115 ],
+ "statusCode" : 6.027456183070403
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
new_agent_action_200_response
+
+
+
+
+
Up
+
get /epm/packages/{pkgName}/{pkgVersion}/{filePath}
+
Packages - Get file from registry (packagesGetFile)
+
+
+
Path parameters
+
+
pkgName (required)
+
+
Path Parameter — default: null
pkgVersion (required)
+
+
Path Parameter — default: null
filePath (required)
+
+
Path Parameter — default: null
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "headers" : "{}",
+ "body" : "{}",
+ "statusCode" : 0.8008281904610115
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
packages_get_file_200_response
+
+
+
+
+
Up
+
post /package_policies/delete
+
Package policy - Delete (postDeletePackagePolicy)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "success" : true,
+ "name" : "name",
+ "id" : "id"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
+
+
+
+
+
Up
+
post /agent_download_sources
+
Agent Download Sources (postDownloadSources)
+
Create a new agent download source
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "name" : "name",
+ "host" : "host",
+ "id" : "id",
+ "is_default" : true
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
post_download_sources_200_response
+
+
+
+
+
Fleet Proxies - Create (postFleetProxies)
+
Create a new Fleet Server Host
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "proxy_headers" : "{}",
+ "certificate_authorities" : "certificate_authorities",
+ "certificate_key" : "certificate_key",
+ "name" : "name",
+ "certificate" : "certificate",
+ "id" : "id",
+ "url" : "url"
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
post_fleet_proxies_200_response
+
+
+
+
+
Up
+
post /fleet_server_hosts
+
Fleet Server Hosts - Create (postFleetServerHosts)
+
Create a new Fleet Server Host
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "host_urls" : [ "host_urls", "host_urls" ],
+ "is_preconfigured" : true,
+ "name" : "name",
+ "id" : "id",
+ "is_default" : true
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
post_fleet_server_hosts_200_response
+
+
+
+
+
Outputs (postOutputs)
+
Create a new output
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "ca_sha256" : "ca_sha256",
+ "hosts" : [ "hosts", "hosts" ],
+ "name" : "name",
+ "ca_trusted_fingerprint" : "ca_trusted_fingerprint",
+ "is_default_monitoring" : true,
+ "config_yaml" : "config_yaml",
+ "id" : "id",
+ "is_default" : true,
+ "type" : "elasticsearch",
+ "config" : "{}",
+ "ssl" : {
+ "certificate_authorities" : [ "certificate_authorities", "certificate_authorities" ],
+ "certificate" : "certificate",
+ "key" : "key"
+ }
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
post_outputs_200_response
+
+
+
+
+
Up
+
put /setup/preconfiguration
+
Preconfiguration (putPreconfiguration)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "agentPolicies" : [ "", "" ],
+ "packages" : {
+ "name" : "name",
+ "version" : "version"
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
put_preconfiguration_200_response
+
+
+
+
+
Up
+
put /agents/{agentId}/reassign
+
Agent - Reassign (reassignAgent)
+
+
+
Path parameters
+
+
agentId (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+ Object
+
+
+
+
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
Object
+
+
+
+
+
Up
+
post /agents/{agentId}/request_diagnostics
+
Agent - Request Diagnostics (requestDiagnosticsAgent)
+
+
+
Path parameters
+
+
agentId (required)
+
+
Path Parameter — default: null
+
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "actionId" : "actionId"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
bulk_upgrade_agents_200_response
+
+
+
+
+
Setup (setup)
+
+
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "isInitialized" : true,
+ "nonFatalErrors" : [ {
+ "name" : "name",
+ "message" : "message"
+ }, {
+ "name" : "name",
+ "message" : "message"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
fleet_setup_response
+
500
+ Internal Server Error
+
setup_500_response
+
+
+
+
+
Up
+
post /agents/setup
+
Agents setup - Create (setupAgents)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "isInitialized" : true,
+ "nonFatalErrors" : [ {
+ "name" : "name",
+ "message" : "message"
+ }, {
+ "name" : "name",
+ "message" : "message"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
fleet_setup_response
+
+
+
+
+
Up
+
post /agents/{agentId}/unenroll
+
Agent - Unenroll (unenrollAgent)
+
+
+
Path parameters
+
+
agentId (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+ Object
+
+
+
+
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
Object
+
400
+ BAD REQUEST
+
unenroll_agent_400_response
+
+
+
+
+
Up
+
put /agents/{agentId}
+
Agent - Update (updateAgent)
+
+
+
Path parameters
+
+
agentId (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "default_api_key" : "default_api_key",
+ "enrolled_at" : "enrolled_at",
+ "access_api_key" : "access_api_key",
+ "components" : [ {
+ "id" : "id",
+ "units" : [ {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ }, {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ } ],
+ "type" : "type",
+ "message" : "message"
+ }, {
+ "id" : "id",
+ "units" : [ {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ }, {
+ "payload" : "{}",
+ "id" : "id",
+ "message" : "message"
+ } ],
+ "type" : "type",
+ "message" : "message"
+ } ],
+ "user_provided_metadata" : "{}",
+ "unenrollment_started_at" : "unenrollment_started_at",
+ "policy_id" : "policy_id",
+ "policy_revision" : 0.8008281904610115,
+ "active" : true,
+ "local_metadata" : "{}",
+ "last_checkin" : "last_checkin",
+ "access_api_key_id" : "access_api_key_id",
+ "default_api_key_id" : "default_api_key_id",
+ "unenrolled_at" : "unenrolled_at",
+ "id" : "id"
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_agent_200_response
+
+
+
+
+
Up
+
put /agent_policies/{agentPolicyId}
+
Agent policy - Update (updateAgentPolicy)
+
+
+
Path parameters
+
+
agentPolicyId (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{ }
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
agent_policy_info_200_response
+
+
+
+
+
Up
+
put /agent_download_sources/{sourceId}
+
Agent Download Sources - Update (updateDownloadSource)
+
+
+
Path parameters
+
+
sourceId (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "name" : "name",
+ "host" : "host",
+ "id" : "id",
+ "is_default" : true
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_one_download_source_200_response
+
+
+
+
+
Up
+
put /proxies/{itemId}
+
Fleet Proxies - Update (updateFleetProxies)
+
+
+
Path parameters
+
+
itemId (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "proxy_headers" : "{}",
+ "certificate_authorities" : "certificate_authorities",
+ "certificate_key" : "certificate_key",
+ "name" : "name",
+ "certificate" : "certificate",
+ "id" : "id",
+ "url" : "url"
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_one_fleet_proxies_200_response
+
+
+
+
+
Up
+
put /fleet_server_hosts/{itemId}
+
Fleet Server Hosts - Update (updateFleetServerHosts)
+
+
+
Path parameters
+
+
itemId (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "host_urls" : [ "host_urls", "host_urls" ],
+ "is_preconfigured" : true,
+ "name" : "name",
+ "id" : "id",
+ "is_default" : true
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_one_fleet_server_hosts_200_response
+
+
+
+
+
Up
+
put /outputs/{outputId}
+
Output - Update (updateOutput)
+
+
+
Path parameters
+
+
outputId (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "ca_sha256" : "ca_sha256",
+ "hosts" : [ "hosts", "hosts" ],
+ "name" : "name",
+ "ca_trusted_fingerprint" : "ca_trusted_fingerprint",
+ "is_default_monitoring" : true,
+ "config_yaml" : "config_yaml",
+ "id" : "id",
+ "is_default" : true,
+ "type" : "elasticsearch",
+ "config" : "{}",
+ "ssl" : {
+ "certificate_authorities" : [ "certificate_authorities", "certificate_authorities" ],
+ "certificate" : "certificate",
+ "key" : "key"
+ }
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
get_output_200_response
+
+
+
+
+
Up
+
put /epm/packages/{pkgName}/{pkgVersion}
+
Packages - Update (updatePackage)
+
+
+
Path parameters
+
+
pkgName (required)
+
+
Path Parameter — default: null
pkgVersion (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
+
Query parameters
+
+
ignoreUnverified (optional)
+
+
Query Parameter — Ignore if the package is fails signature verification default: null
full (optional)
+
+
Query Parameter — Return all fields from the package manifest, not just those supported by the Elastic Package Registry default: null
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "items" : [ {
+ "id" : "id"
+ }, {
+ "id" : "id"
+ } ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
update_package_200_response
+
+
+
+
+
Up
+
put /package_policies/{packagePolicyId}
+
Package policy - Update (updatePackagePolicy)
+
+
+
Path parameters
+
+
packagePolicyId (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
null
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
update_package_policy_200_response
+
+
+
+
+
Settings - Update (updateSettings)
+
+
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "item" : {
+ "has_seen_add_data_notice" : true,
+ "fleet_server_hosts" : [ "fleet_server_hosts", "fleet_server_hosts" ],
+ "prerelease_integrations_enabled" : true,
+ "id" : "id"
+ }
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
fleet_settings_response
+
+
+
+
+
Up
+
post /agents/{agentId}/upgrade
+
Agent - Upgrade (upgradeAgent)
+
+
+
Path parameters
+
+
agentId (required)
+
+
Path Parameter — default: null
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
Request headers
+
+
kbn-xsrf (required)
+
+
Header Parameter — default: null
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "force" : true,
+ "version" : "version",
+ "source_uri" : "source_uri"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
upgrade_agent
+
400
+ BAD REQUEST
+
upgrade_agent
+
+
+
+
+
Up
+
post /package_policies/upgrade
+
Package policy - Upgrade (upgradePackagePolicy)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "success" : true,
+ "name" : "name",
+ "id" : "id"
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
+
+
+
+
+
Up
+
post /package_policies/upgrade/dryrun
+
Package policy - Upgrade Dry run (upgradePackagePolicyDryRun)
+
+
+
+
Consumes
+ This API call consumes the following media types via the request header:
+
+
+
Request body
+
+
+
+
Body Parameter —
+
+
+
+
+
+
+
Return type
+
+
+
+
+
Example data
+
Content-Type: application/json
+
{
+ "hasErrors" : true,
+ "agent_diff" : [ [ null, null ], [ null, null ] ],
+ "diff" : [ null, null ]
+}
+
+
Produces
+ This API call produces the following media types according to the request header;
+ the media type will be conveyed by the response header.
+
+
+
Responses
+
200
+ OK
+
+
+
+
+
+ [ Jump to
Methods ]
+
+
Table of Contents
+
+ agent - Agent
+ agent_action - Agent action
+ agent_action_oneOf -
+ agent_action_oneOf_1 -
+ agent_action_oneOf_1_data -
+ agent_component - Agent component
+ agent_component_status - Agent component status
+ agent_component_unit - Agent component unit
+ agent_component_unit_type - Agent component unit type
+ agent_policy -
+ agent_policy_allOf -
+ agent_policy_copy_request -
+ agent_policy_info_200_response -
+ agent_policy_list_200_response -
+ agent_status - Agent status
+ agent_type - Agent type
+ agents_action_status_200_response -
+ agents_action_status_200_response_items_inner -
+ agents_current_upgrades_200_response -
+ agents_current_upgrades_200_response_items_inner -
+ bulk_get_agent_policies_200_response -
+ bulk_get_agent_policies_request -
+ bulk_get_package_policies_200_response -
+ bulk_get_package_policies_request -
+ bulk_install_packages_response - Bulk install packages response
+ bulk_reassign_agents_request -
+ bulk_reassign_agents_request_agents -
+ bulk_request_diagnostics_request -
+ bulk_unenroll_agents_request -
+ bulk_update_agent_tags_request -
+ bulk_upgrade_agents - Bulk upgrade agents
+ bulk_upgrade_agents_200_response -
+ create_agent_policy_200_response -
+ create_enrollment_api_keys_deprecated_200_response -
+ create_package_policy_200_response -
+ create_package_policy_request -
+ create_package_policy_request_oneOf -
+ create_package_policy_request_oneOf_allOf -
+ data_stream - Data stream
+ data_stream_dashboard_inner -
+ data_streams_list_200_response -
+ delete_agent_200_response -
+ delete_agent_policy_200_response -
+ delete_agent_policy_request -
+ delete_package_policy_200_response -
+ download_sources - Download Source
+ elasticsearch_asset_type - Elasticsearch asset type
+ enrollment_api_key - Enrollment API key
+ fleet_server_host - Fleet Server Host
+ fleet_settings_response - Fleet settings response
+ fleet_setup_response - Fleet Setup response
+ fleet_setup_response_nonFatalErrors_inner -
+ fleet_status_response - Fleet status response
+ full_agent_policy_input - Full agent policy input
+ full_agent_policy_input_allOf -
+ full_agent_policy_input_allOf_data_stream -
+ full_agent_policy_input_stream - Full agent policy input stream
+ full_agent_policy_input_stream_allOf -
+ full_agent_policy_input_stream_allOf_data_stream -
+ generate_logstash_api_key_200_response -
+ generate_service_token_deprecated_200_response -
+ get_agent_200_response -
+ get_agent_data_200_response -
+ get_agent_data_200_response_items_inner_value -
+ get_agent_status_deprecated_200_response -
+ get_agent_tags_response - Get Agent Tags response
+ get_agents_response - Get Agent response
+ get_categories_response - Get categories response
+ get_categories_response_items_inner -
+ get_categories_response_response_inner -
+ get_download_sources_200_response -
+ get_enrollment_api_key_deprecated_200_response -
+ get_enrollment_api_keys_deprecated_200_response -
+ get_fleet_proxies_200_response -
+ get_fleet_server_hosts_200_response -
+ get_one_download_source_200_response -
+ get_one_fleet_proxies_200_response -
+ get_one_fleet_server_hosts_200_response -
+ get_output_200_response -
+ get_outputs_200_response -
+ get_package_200_response -
+ get_package_200_response_allOf -
+ get_package_200_response_allOf_1 -
+ get_package_deprecated_200_response -
+ get_package_deprecated_200_response_allOf -
+ get_package_deprecated_200_response_allOf_1 -
+ get_package_policies_200_response -
+ get_package_stats_200_response -
+ get_packages_response - Get Packages response
+ install_package_200_response -
+ install_package_200_response__meta -
+ install_package_deprecated_200_response -
+ install_package_deprecated_200_response_response_inner -
+ install_package_deprecated_200_response_response_inner_type -
+ install_package_deprecated_request -
+ install_package_request -
+ kibana_saved_object_type - Kibana saved object asset type
+ list_limited_packages_200_response -
+ new_agent_action_200_response -
+ new_agent_action_request -
+ new_agent_policy - New agent policy
+ new_package_policy - New package policy
+ new_package_policy_inputs_inner -
+ new_package_policy_package -
+ output - Output
+ output_ssl -
+ package_info - Package information
+ package_info_conditions -
+ package_info_conditions_elasticsearch -
+ package_info_conditions_kibana -
+ package_info_data_streams_inner -
+ package_info_data_streams_inner_vars_inner -
+ package_info_elasticsearch -
+ package_info_elasticsearch_privileges -
+ package_info_screenshots_inner -
+ package_info_source -
+ package_policy - Package policy
+ package_policy_allOf -
+ package_usage_stats - Package usage stats
+ packages_get_file_200_response -
+ post_delete_package_policy_200_response_inner -
+ post_delete_package_policy_request -
+ post_download_sources_200_response -
+ post_download_sources_request -
+ post_fleet_proxies_200_response -
+ post_fleet_proxies_request -
+ post_fleet_server_hosts_200_response -
+ post_fleet_server_hosts_request -
+ post_outputs_200_response -
+ post_outputs_request -
+ preconfigured_agent_policies - Preconfigured agent policies
+ preconfigured_agent_policies_id -
+ preconfigured_agent_policies_package_policies_inner -
+ preconfigured_agent_policies_package_policies_inner_inputs_inner -
+ preconfigured_agent_policies_package_policies_inner_inputs_inner_vars -
+ preconfigured_agent_policies_package_policies_inner_package -
+ proxies - Fleet Proxy
+ put_preconfiguration_200_response -
+ put_preconfiguration_200_response_packages -
+ put_preconfiguration_request -
+ put_preconfiguration_request_body -
+ put_preconfiguration_request_body_packages -
+ reassign_agent_request -
+ search_result - Search result
+ settings - Settings
+ setup_500_response -
+ setup_agents_request -
+ simplified_package_policy - Simplified Package Policy
+ simplified_package_policy_inputs_value -
+ simplified_package_policy_inputs_value_streams_value -
+ simplified_package_policy_package -
+ unenroll_agent_400_response -
+ unenroll_agent_request -
+ update_agent_request -
+ update_download_source_request -
+ update_fleet_proxies_request -
+ update_fleet_server_hosts_request -
+ update_output_request -
+ update_package_200_response -
+ update_package_policy - Update package policy
+ update_package_policy_200_response -
+ update_package_policy_200_response_oneOf -
+ update_package_policy_inputs_inner -
+ update_package_policy_package -
+ update_package_request -
+ upgrade_agent - Upgrade agent
+ upgrade_diff_inner -
+ upgrade_diff_inner_allOf -
+ upgrade_diff_inner_allOf_allOf -
+ upgrade_diff_inner_allOf_allOf_errors_inner -
+ upgrade_package_policy_dry_run_200_response_inner -
+ upgrade_package_policy_dry_run_request -
+ upgrade_package_policy_request -
+
+
+
+
+
+
+
type
+
active
+
enrolled_at
+
unenrolled_at (optional)
+
unenrollment_started_at (optional)
+
access_api_key_id (optional)
+
default_api_key_id (optional)
+
policy_id (optional)
+
policy_revision (optional)
+
last_checkin (optional)
+
user_provided_metadata (optional)
+
local_metadata (optional)
+
id
+
access_api_key (optional)
+
status
+
default_api_key (optional)
+
components (optional)
+
+
+
+
+
+
+
data (optional)
+
ack_data (optional)
+
type (optional)
+
+
+
+
+
+
+
data (optional)
+
ack_data (optional)
+
type (optional)
+
+
UNENROLL
UPGRADE
POLICY_REASSIGN
+
+
+
+
+
+
+
type (optional)
+
data (optional)
+
+
+
+
+
+
+
log_level (optional)
+
+
debug
info
warning
error
+
+
+
+
+
+
+
id (optional)
+
type (optional)
+
status (optional)
+
message (optional)
+
units (optional)
+
+
+
+
+
+
+
+
id (optional)
+
type (optional)
+
status (optional)
+
message (optional)
+
payload (optional)
+
+
+
+
+
+
+
+
id
+
name
+
namespace
+
description (optional)
+
monitoring_enabled (optional)
+
+
+
data_output_id (optional)
+
monitoring_output_id (optional)
+
fleet_server_host_id (optional)
+
download_source_id (optional)
+
status
+
+
active
inactive
+
package_policies (optional)
array[package_policy] This field is present only when retrieving a single agent policy, or when retrieving a list of agent policy with the ?full=true parameter
+
updated_on (optional)
+
updated_by (optional)
+
revision (optional)
+
agents (optional)
+
+
+
+
+
+
+
id
+
status
+
+
active
inactive
+
package_policies (optional)
array[package_policy] This field is present only when retrieving a single agent policy, or when retrieving a list of agent policy with the ?full=true parameter
+
updated_on (optional)
+
updated_by (optional)
+
data_output_id (optional)
+
monitoring_output_id (optional)
+
fleet_server_host_id (optional)
+
download_source_id (optional)
+
revision (optional)
+
agents (optional)
+
+
+
+
+
+
+
name
+
description (optional)
+
+
+
+
+
+
+
+
items
+
total
+
page
+
perPage
+
+
+
+
+
+
+
+
+
+
actionId
+
status
+
+
COMPLETE
EXPIRED
CANCELLED
FAILED
IN_PROGRESS
+
nbAgentsActioned
+
nbAgentsActionCreated
+
nbAgentsAck
+
nbAgentsFailed
+
version (optional)
+
startTime (optional)
+
type (optional)
+
expiration (optional)
+
completionTime (optional)
+
cancellationTime (optional)
+
newPolicyId (optional)
+
creationTime
+
+
+
+
+
+
+
+
actionId
+
complete
+
nbAgents
+
nbAgentsAck
+
version
+
startTime
+
+
+
+
+
+
+
+
ids
+
full (optional)
Boolean get full policies with package policies populated
+
ignoreMissing (optional)
+
+
+
+
+
+
+
+
ids
+
ignoreMissing (optional)
+
+
+
+
+
+
+
response (optional)
+
items
+
+
+
+
+
+
+
+
+
batchSize (optional)
+
agents
+
+
+
+
+
+
+
revoke (optional)
+
force (optional)
+
agents
+
+
+
+
+
+
+
agents
+
tagsToAdd (optional)
+
tagsToRemove (optional)
+
batchSize (optional)
+
+
+
+
+
+
+
version
+
source_uri (optional)
String alternative upgrade binary download url
+
rollout_duration_seconds (optional)
BigDecimal rolling upgrade window duration in seconds
+
start_time (optional)
String start time of upgrade in ISO 8601 format
+
agents
+
force (optional)
Boolean Force upgrade, skipping validation (should be used with caution)
+
+
+
+
+
+
+
+
+
item (optional)
+
action (optional)
+
+
created
+
+
+
+
+
+
+
+
id (optional)
+
name
+
description (optional)
+
namespace (optional)
+
policy_id
+
package
+
vars (optional)
Object Package root level variable (see integration documentation for more information)
+
inputs
+
force (optional)
+
enabled (optional)
+
output_id (optional)
+
+
+
+
+
+
+
enabled (optional)
+
package (optional)
+
namespace (optional)
+
output_id (optional)
+
inputs
+
policy_id (optional)
+
name
+
description (optional)
+
id (optional)
+
force (optional)
+
+
+
+
+
+
+
+
index (optional)
+
dataset (optional)
+
namespace (optional)
+
type (optional)
+
package (optional)
+
package_version (optional)
+
last_activity_ms (optional)
+
size_in_bytes (optional)
+
size_in_bytes_formatted (optional)
+
dashboard (optional)
+
+
+
+
+
+
+
id (optional)
+
title (optional)
+
+
+
+
+
+
+
data_streams (optional)
+
+
+
+
+
+
+
+
+
+
+
id (optional)
+
is_default
+
name
+
host
+
+
+
+
+
+
+
+
id
+
api_key_id
+
api_key
+
name (optional)
+
active
+
policy_id (optional)
+
created_at
+
+
+
+
+
+
+
id
+
name (optional)
+
is_default
+
is_preconfigured
+
host_urls
+
+
+
+
+
+
+
+
isInitialized
+
nonFatalErrors
+
+
+
+
+
+
+
+
isReady
+
missing_requirements
+
+
+
missing_optional_features
+
+
+
package_verification_key_id (optional)
+
+
+
+
+
+
+
id
+
name
+
revision
+
type
+
data_stream
+
use_output
+
meta (optional)
+
streams (optional)
+
+
+
+
+
+
+
id
+
name
+
revision
+
type
+
data_stream
+
use_output
+
meta (optional)
+
streams (optional)
+
+
+
+
+
+
+
+
+
+
+
+
name (optional)
+
value (optional)
+
+
+
+
+
+
+
+
+
+
error
+
events
+
inactive
+
offline
+
online
+
other
+
total
+
updating
+
+
+
+
+
+
+
+
list (optional)
+
items
+
total
+
page
+
perPage
+
+
+
+
+
+
+
response (optional)
+
items
+
+
+
+
+
+
+
+
+
items (optional)
+
total (optional)
+
page (optional)
+
perPage (optional)
+
+
+
+
+
+
+
+
list (optional)
+
items
+
page
+
perPage
+
total
+
+
+
+
+
+
+
items (optional)
+
total (optional)
+
page (optional)
+
perPage (optional)
+
+
+
+
+
+
+
items (optional)
+
total (optional)
+
page (optional)
+
perPage (optional)
+
+
+
+
+
+
+
+
+
+
+
items (optional)
+
total (optional)
+
page (optional)
+
perPage (optional)
+
+
+
+
+
+
+
item (optional)
+
status
+
+
installed
installing
install_failed
not_installed
+
savedObject
+
latestVersion (optional)
+
keepPoliciesUpToDate (optional)
+
notice (optional)
+
licensePath (optional)
+
+
+
+
+
+
+
+
status
+
+
installed
installing
install_failed
not_installed
+
savedObject
+
latestVersion (optional)
+
keepPoliciesUpToDate (optional)
+
notice (optional)
+
licensePath (optional)
+
+
+
+
+
+
+
response (optional)
+
status
+
+
installed
installing
install_failed
not_installed
+
savedObject
+
+
+
+
+
+
+
+
status
+
+
installed
installing
install_failed
not_installed
+
savedObject
+
+
+
+
+
+
+
items
+
total (optional)
+
page (optional)
+
perPage (optional)
+
+
+
+
+
+
+
+
response (optional)
+
items
+
+
+
+
+
+
+
items
+
_meta (optional)
+
+
+
+
+
+
+
install_source (optional)
+
+
registry
upload
bundled
+
+
+
+
+
+
+
+
+
+
+
force (optional)
+
ignore_constraints (optional)
+
+
+
+
+
+
+
+
+
body (optional)
+
statusCode (optional)
+
headers (optional)
+
+
+
+
+
+
+
+
id (optional)
+
name
+
namespace
+
description (optional)
+
monitoring_enabled (optional)
+
+
+
data_output_id (optional)
+
monitoring_output_id (optional)
+
fleet_server_host_id (optional)
+
download_source_id (optional)
+
+
+
+
+
+
+
enabled (optional)
+
package (optional)
+
namespace (optional)
+
output_id (optional)
+
inputs
+
policy_id (optional)
+
name
+
description (optional)
+
+
+
+
+
+
+
type
+
enabled
+
processors (optional)
+
streams (optional)
+
config (optional)
+
vars (optional)
+
+
+
+
+
+
+
name
+
version
+
title (optional)
+
+
+
+
+
+
+
id
+
is_default
+
is_default_monitoring (optional)
+
name
+
type
+
+
elasticsearch
+
hosts (optional)
+
ca_sha256 (optional)
+
ca_trusted_fingerprint (optional)
+
config (optional)
+
config_yaml (optional)
+
ssl (optional)
+
+
+
+
+
+
+
certificate (optional)
+
certificate_authorities (optional)
+
key (optional)
+
+
+
+
+
+
+
name
+
title
+
version
+
release (optional)
String release label is deprecated, derive from the version instead (packages follow semver)
+
+
experimental
beta
ga
+
source (optional)
+
readme (optional)
+
description
+
type
+
categories
+
conditions
+
screenshots (optional)
+
icons (optional)
+
assets
+
internal (optional)
+
format_version
+
data_streams (optional)
+
download
+
path
+
elasticsearch (optional)
+
+
+
+
+
+
+
kibana (optional)
+
elasticsearch (optional)
+
+
+
+
+
+
+
subscription (optional)
+
+
basic
gold
platinum
enterprise
+
+
+
+
+
+
+
+
title
+
name
+
release
+
ingeset_pipeline
+
vars (optional)
+
type
+
package
+
+
+
+
+
+
+
+
privileges (optional)
+
+
+
+
+
+
+
+
src
+
path
+
title (optional)
+
size (optional)
+
type (optional)
+
+
+
+
+
+
+
license (optional)
+
+
Apache-2.0
Elastic-2.0
+
+
+
+
+
+
+
id
+
revision
+
inputs
+
enabled (optional)
+
package (optional)
+
namespace (optional)
+
output_id (optional)
+
policy_id (optional)
+
name
+
description (optional)
+
+
+
+
+
+
+
id
+
revision
+
inputs (optional)
+
+
+
+
+
+
+
+
body (optional)
+
statusCode (optional)
+
headers (optional)
+
+
+
+
+
+
+
id
+
name (optional)
+
success
+
+
+
+
+
+
+
packagePolicyIds
+
force (optional)
+
+
+
+
+
+
+
+
id (optional)
+
name
+
is_default
+
host
+
+
+
+
+
+
+
+
id (optional)
+
name
+
url
+
proxy_headers (optional)
+
certificate_authorities (optional)
+
certificate (optional)
+
certificate_key (optional)
+
+
+
+
+
+
+
+
id (optional)
+
name
+
is_default (optional)
+
host_urls
+
+
+
+
+
+
+
+
id (optional)
+
name
+
type
+
+
elasticsearch
+
is_default (optional)
+
is_default_monitoring (optional)
+
hosts (optional)
+
ca_sha256 (optional)
+
config_yaml (optional)
+
+
+
+
+
+
+
name
+
description (optional)
+
is_managed (optional)
+
unenroll_timeout (optional)
+
monitoring_enabled (optional)
+
+
+
namespace
+
id (optional)
+
is_default (optional)
+
is_default_fleet_server (optional)
+
has_fleet_server (optional)
+
data_output_id (optional)
+
monitoring_output_id (optional)
+
package_policies
+
+
+
+
+
+
+
+
id (optional)
+
name (optional)
+
package (optional)
+
description (optional)
+
namespace (optional)
+
inputs (optional)
+
+
+
+
+
+
+
type
+
enabled (optional)
+
keep_enabled (optional)
+
vars (optional)
+
+
+
+
+
+
+
name (optional)
+
type (optional)
+
value (optional)
+
frozen (optional)
+
+
+
+
+
+
+
+
id (optional)
+
name
+
url
+
proxy_headers (optional)
+
certificate_authorities (optional)
+
certificate (optional)
+
certificate_key (optional)
+
+
+
+
+
+
+
agentPolicies (optional)
+
packages (optional)
+
+
+
+
+
+
+
name (optional)
+
version (optional)
+
+
+
+
+
+
+
+
agentPolicies (optional)
+
packages (optional)
+
+
+
+
+
+
+
+
+
description
+
download
+
icons
+
name
+
path
+
title
+
type
+
version
+
status
+
savedObject (optional)
+
+
+
+
+
+
+
id
+
has_seen_add_data_notice (optional)
+
fleet_server_hosts
+
prerelease_integrations_enabled (optional)
+
+
+
+
+
+
+
+
admin_username
+
admin_password
+
+
+
+
+
+
+
id (optional)
String Package policy unique identifier
+
name
String Package policy name (should be unique)
+
description (optional)
String Package policy description
+
namespace (optional)
String namespace by default "default"
+
policy_id
String Agent policy ID where that package policy will be added
+
package
+
vars (optional)
Object Package root level variable (see integration documentation for more information)
+
inputs (optional)
+
force (optional)
Boolean Force package policy creation even if package is not verified, or if the agent policy is managed.
+
+
+
+
+
+
+
enabled (optional)
Boolean enable or disable that input, (default to true)
+
vars (optional)
Object Input level variable (see integration documentation for more information)
+
streams (optional)
+
+
+
+
+
+
+
enabled (optional)
Boolean enable or disable that stream, (default to true)
+
vars (optional)
Object Stream level variable (see integration documentation for more information)
+
+
+
+
+
+
+
+
error (optional)
+
message (optional)
+
statusCode (optional)
+
+
400
+
+
+
+
+
+
+
revoke (optional)
+
force (optional)
+
+
+
+
+
+
+
user_provided_metadata (optional)
+
tags (optional)
+
+
+
+
+
+
+
name
+
is_default
+
host
+
+
+
+
+
+
+
name (optional)
+
url (optional)
+
proxy_headers (optional)
+
certificate_authorities (optional)
+
certificate (optional)
+
certificate_key (optional)
+
+
+
+
+
+
+
name (optional)
+
is_default (optional)
+
host_urls (optional)
+
+
+
+
+
+
+
name
+
type
+
+
elasticsearch
+
is_default (optional)
+
is_default_monitoring (optional)
+
hosts (optional)
+
ca_sha256 (optional)
+
ca_trusted_fingerprint (optional)
+
config_yaml (optional)
+
+
+
+
+
+
+
+
version (optional)
+
enabled
+
package (optional)
+
namespace
+
output_id (optional)
String Not supported output can be set at the agent policy level only
+
inputs (optional)
+
policy_id
+
name
+
description (optional)
+
force (optional)
+
+
+
+
+
+
+
id (optional)
String Package policy unique identifier
+
name
String Package policy name (should be unique)
+
description (optional)
String Package policy description
+
namespace (optional)
String namespace by default "default"
+
policy_id
String Agent policy ID where that package policy will be added
+
package
+
vars (optional)
Object Package root level variable (see integration documentation for more information)
+
inputs (optional)
+
force (optional)
Boolean Force package policy creation even if package is not verified, or if the agent policy is managed.
+
item
+
sucess
+
+
+
+
+
+
+
+
type
+
enabled
+
processors (optional)
+
streams
+
config (optional)
+
vars (optional)
+
+
+
+
+
+
+
+
keepPoliciesUpToDate (optional)
+
+
+
+
+
+
+
version
+
source_uri (optional)
+
force (optional)
Boolean Force upgrade, skipping validation (should be used with caution)
+
+
+
+
+
+
+
id
+
revision
+
inputs
+
enabled (optional)
+
package (optional)
+
namespace (optional)
+
output_id (optional)
+
policy_id (optional)
+
name
+
description (optional)
+
errors (optional)
+
missingVars (optional)
+
+
+
+
+
+
+
enabled (optional)
+
package (optional)
+
namespace (optional)
+
output_id (optional)
+
inputs
+
policy_id (optional)
+
name
+
description (optional)
+
errors (optional)
+
missingVars (optional)
+
+
+
+
+
+
+
errors (optional)
+
missingVars (optional)
+
+
+
+
+
+
+
key (optional)
+
message (optional)
+
+
+
+
+
+
+
hasErrors
+
diff (optional)
+
agent_diff (optional)
+
+
+
+
+
+
+
packagePolicyIds
+
packageVersion (optional)
+
+
+
+
+++++
diff --git a/docs/api-generated/fleet/fleet-apis.asciidoc b/docs/api-generated/fleet/fleet-apis.asciidoc
new file mode 100644
index 0000000000000..aee6ce65bb0ae
--- /dev/null
+++ b/docs/api-generated/fleet/fleet-apis.asciidoc
@@ -0,0 +1,13 @@
+[[fleet-apis]]
+== Fleet APIs
+
+preview::[]
+
+////
+This file includes content that has been generated from https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/openapi. Any modifications required must be done in that open API specification.
+////
+
+include::fleet-apis-passthru.asciidoc[]
+
+
+/Users/dedemorton/go/src/github.com/elastic/kibana/x-pack/plugins/fleet/common/openapi
diff --git a/docs/apis.asciidoc b/docs/apis.asciidoc
index d85d9ce3f35eb..3d954ba2f6d1c 100644
--- a/docs/apis.asciidoc
+++ b/docs/apis.asciidoc
@@ -13,5 +13,6 @@ version of the specification is 3.0. For more information, go to https://openapi
include::api-generated/cases/case-apis.asciidoc[]
include::api-generated/connectors/connector-apis.asciidoc[]
+include::api-generated/fleet/fleet-apis.asciidoc[]
include::api-generated/machine-learning/ml-apis.asciidoc[]
-include::api-generated/rules/rule-apis.asciidoc[]
\ No newline at end of file
+include::api-generated/rules/rule-apis.asciidoc[]