Configs and Profiles

Edit agent configs

Changed on

Applies the same edits to agent profiles and agents, at most 500 after profile targets expand into their agents. Each target reports its own result, and on_failed_edit decides what happens to the others when one fails. Results come back in this order: profiles, then listed agents, then each profile's instances oldest first. Agents launched during the request may be skipped. YAML sources keep their text outside the changed entries when possible. Reusing an Idempotency-Key returns earlier results for targets it already edited, even with a different body.

post/orgs/{orgID}/projects/{projectID}/agent-configs/edit

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf

Path parameters

orgID, string required

Organization ID (org_...).

projectID, string required

Project ID (proj_...).

Headers

Idempotency-Key, string

Idempotency key for replay-safe mutating requests.

Request body

EditAgentConfigsRequest required
targets, AgentConfigEditTarget[] required
edits, AgentConfigEdit[] required

Applied in order.

on_failed_edit, 'continue' | 'ignore' | 'stop'

continue keeps going after a failed target; ignore also saves a target's matching edits when others miss; stop skips the targets after the first failure.

Response

One result per target.

EditAgentConfigsResponse required
data, AgentConfigEditResult[] required

Changes