dots.v2.agents.configs.byConfig_id().clone.post()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.agents.configs.byConfig_id(config_id).clone.post(body: Agent_config_clone_request, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | Agent_config_response>Description
Copies the source config’s sanitized manifest to a new UUID. Source and clone are independent (no lineage). Credential bindings are never copied: if the manifest declares secret slots, supply secrets/oauth_assignments again (write-only). content_hash matches the source when the manifest is unchanged.
Parameters
Path Parameters
config_idstring requiredExample:
019fb39c-14d9-7080-933e-b9b90e25acdaThe Environment Config UUID.
Request Body
namestring requiredNew config name, unique among the team's active configs.
secretsobject optionalWrite-only map from tenantSecret logical slot to plaintext. Required when the source declares those slots; never copied from the source.
oauthAssignmentsobject optionalWrite-only map from oauth logical slot to an OAuth assignment UUID. Required when the source declares those slots; never copied from the source.
Request Sample
Response Example
More Information
See /v2/agents/configs/{config_id}/clone in the API reference for additional detail on responses, headers, parameters, and more.