Agents

Create an import code, apply or discard a config version, turn imported hooks on or off, or set a needed value

post/api/v1/agents/{agentId}/profile

Path parameters

agentIdstring required

Request body

action'import_code' | 'apply' | 'discard' | 'hooks' | 'set_secret' | 'delete_secret' required
harnessstring
profileIdstring
hooksEnabledboolean
enabledboolean
namestring
valuestring

Response

Successful response. Stable response schemas are documented in workflow guides when available.

{"stackTrail":"paths:/api/v1/agents/{agentId}/profile:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown","description":"Response shape is route-specific and may be backed by @overlay/app-core contracts."}

Changes

Changed in 1 of the 32 revisions of this API.1