Create cloud onboarding instance
- Base URL
-
https://{kibana_url}
- POST /api/fleet/cloud_onboarding_deployments
- POST /s/{space_id}/api/fleet/cloud_onboarding_deployments
Create a new Fleet cloud onboarding instance.
Required privileges
- Privileges fleet-agent-policies-all or integrations-all
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Request body
-
agentPolicyIdsstring[] · max items: 1000 -
Agent policy IDs for agent_based existing-policy deploys. Provided on create so that a mid-deploy tab-close leaves a record that hydrates back into existing mode.
-
authMethodenum -
Authentication method. Allowed values depend on the delivery mechanism:
- managed_integration: identity_federation | static_keys
- agent_based: static_keys (direct_access_keys) | temporary_keys | shared_credentials | assume_role
-
Values:
identity_federationstatic_keystemporary_keysshared_credentialsassume_role -
connectorIdstring · min length: 1 · max length: 255 -
ID of the fleet-cloud-connector to associate with this deployment. Omit for static-keys deployments.
-
dedicatedNamespaceTemplatesbooleanThe Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Experimental This functionality is experimental and is not ready for production usage. Experimental features may change or be removed at any time. Elastic will work to fix any issues, but experimental features are not subject to the support SLA of official GA features. Specific Support terms apply. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. -
Whether the global namespace uses dedicated index templates. Applied to the installed packages after a deployment. Absent means off.
-
instancesobject[] · max items: 1000The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Experimental This functionality is experimental and is not ready for production usage. Experimental features may change or be removed at any time. Elastic will work to fix any issues, but experimental features are not subject to the support SLA of official GA features. Specific Support terms apply. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. -
Service instances, including duplicates, being deployed. Used to restore the service list when the onboarding is resumed.
-
integrationNamestring · max length: 160 -
Integration name as entered in the Service settings step, before any per-package suffix is applied.
-
mechanismsenum[] · max items: 10required -
Delivery mechanisms active in this deployment.
-
Values:
managed_integrationecfagent_based -
namespacestring · max length: 100 -
Global data stream namespace from the Service settings step. When omitted, an agent-based deployment inherits the agent policy namespace, other deployment methods use the default namespace.
-
packageNamesstring[] · max items: 100 -
Names of the integration packages this deployment covers (e.g. aws, aws_bedrock). Used to list the deployments of a package.
-
policySettingsmap string to stringThe Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Experimental This functionality is experimental and is not ready for production usage. Experimental features may change or be removed at any time. Elastic will work to fix any issues, but experimental features are not subject to the support SLA of official GA features. Specific Support terms apply. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. -
Integration policy settings from the Service settings step that apply to every integration policy of the deployment, keyed by integration policy field (for example
output_id). -
<string>string · max length: 10000 · default: null -
serviceNamesmap string to string -
Display name of each service as shown in the onboarding flow, by service ID.
-
<string>string · max length: 256
Responses
Successful response
-
itemobjectrequired -
agentPolicyIdsstring[] · max items: 1000 -
Agent policy IDs for agent_based deployments. Single-element for new-policy deploys; multiple for existing-policy deploys targeting several policies.
-
apiKeyIdstring -
Elasticsearch API key ID for push mechanisms (ecf). Set by the backend; used for key rotation/revocation.
-
authMethodenum -
Authentication method. Allowed values depend on the delivery mechanism:
- managed_integration: identity_federation | static_keys
- agent_based: static_keys (direct_access_keys) | temporary_keys | shared_credentials | assume_role
-
Values:
identity_federationstatic_keystemporary_keysshared_credentialsassume_role -
connectorIdstring -
ID of the fleet-cloud-connector this deployment belongs to. Absent for static-keys deployments.
-
dedicatedNamespaceTemplatesbooleanThe Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Experimental This functionality is experimental and is not ready for production usage. Experimental features may change or be removed at any time. Elastic will work to fix any issues, but experimental features are not subject to the support SLA of official GA features. Specific Support terms apply. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. -
Whether the global namespace uses dedicated index templates. Applied to the installed packages after a deployment. Absent means off.
-
ecfStacksobject[] · max items: 10 -
ECF CloudFormation stacks launched as part of this deployment. Written by the wizard after the user clicks Launch.
-
namespacestring · min length: 1 · max length: 100 -
Data stream namespace the stack was last launched or updated with.
-
serviceConfigsobject[] · max items: 1000 -
Stack-relevant settings (bucket and log group ARNs) per service when the stack was last launched or updated.
-
serviceIdsstring[] · max items: 1000 -
Service IDs active when the stack was last launched or updated.
-
stackArnstring · min length: 1 · max length: 2048 -
CloudFormation stack ARN pasted by the user post-launch.
-
instancesobject[] · max items: 1000The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Experimental This functionality is experimental and is not ready for production usage. Experimental features may change or be removed at any time. Elastic will work to fix any issues, but experimental features are not subject to the support SLA of official GA features. Specific Support terms apply. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. -
Service instances, including duplicates, from the last deployment. Used to restore the service list when an onboarding is resumed.
-
integrationNamestring -
Integration name as entered in the Service settings step, before any per-package suffix is applied.
-
namespacestring -
Global data stream namespace from the Service settings step. When omitted, an agent-based deployment inherits the agent policy namespace, other deployment methods use the default namespace.
-
packageNamesstring[] · max items: 100 -
Names of the integration packages this deployment covers (e.g. aws, aws_bedrock). Used to list the deployments of a package.
-
packagePolicyIdsstring[] · max items: 1000 -
Integration policy IDs created for this deployment (managed_integration and agent_based).
-
policyIdsByInstancemap string to string -
instanceId → policyId mapping persisted after deploy. Hydrated into the wizard on resume to enable cleanup of stale policies when services are removed.
-
<string>string · max length: 255 -
policySettingsmap string to stringThe Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Experimental This functionality is experimental and is not ready for production usage. Experimental features may change or be removed at any time. Elastic will work to fix any issues, but experimental features are not subject to the support SLA of official GA features. Specific Support terms apply. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. -
Integration policy settings from the Service settings step that apply to every integration policy of the deployment, keyed by integration policy field (for example
output_id). -
<string>string · max length: 10000 · default: null -
serviceNamesmap string to string -
Display name of each service as shown in the onboarding flow, by service ID.
-
<string>string · max length: 256