Skip to main content
PUT
Replace an agent and save a version

Authorizations

Authorization
string
header
default:cr_sk_your_key_here
required

Account API key from Developer Console. Keys start with cr_sk_.

Path Parameters

agent_id
string<uuid>
required

Personal CREAO agent to replace.

Body

multipart/form-data
bundle
file
required

The whole agent as a zip of at most 100 MB:

  • SKILL.md at the root (required, at most 256 KB).
  • config.yaml at the root (required, at most 128 KB) with name, version (three numbers such as "1.2.0"; quote it so YAML keeps it as text) and an optional description.
  • dashboard.json at the root (optional, at most 512 KB).
  • Mounted files under files/, kept at the same relative path in runs. Each file can be up to 20 MB, and an agent holds at most 50 files including SKILL.md.

manifest.json and files/SKILL.md, which downloaded bundles carry, are ignored.

release_note
string

Optional note saved with the version.

Maximum string length: 2000

Response

Agent replaced and saved as a new version.

agent_id
string<uuid>
required

Personal CREAO agent ID.

name
string
required
description
string | null
required
version
string
required
status
string
required

Current agent status. Created agents return active.

write_autonomy
enum<string>
required

External write autonomy for guarded connector actions (write and delete actions in connected services). full_auto performs them immediately. A run started through /v1 cannot collect an approval, so on those runs approval_required and blocked both leave the action unperformed; the run still completes and the agent is told why. In the browser app, approval_required waits for your approval. Reads always run.

Available options:
full_auto,
approval_required,
blocked
default_model_id
string | null
required

Model the agent runs with when a run omits model. null means CREAO chooses the model automatically.

default_thinking_level
enum<string> | null
required

Thinking level saved for default_model_id. null means the model's own default.

Available options:
low,
medium,
high,
xhigh,
max
created_at
string<date-time>
required
updated_at
string<date-time>
required
skill_content
string | null

Full SKILL.md. Present on GET-by-id and PATCH. Omitted from list responses.

config_content
string | null

Raw config YAML. Present on GET-by-id and PATCH. Omitted from list responses.

config
object | null

Parsed config object. Present on GET-by-id and PATCH. Omitted from list responses.

dashboard_template
object | null

Dashboard template. Present on GET-by-id and PATCH. Omitted from list responses.

latest_version
object | null

The agent's highest saved version, the floor for the next Replace an agent. Present on GET-by-id, create from a bundle and replace; null until the agent has a saved version.

files
object[]

The agent's file space, up to 50 files. Present on GET-by-id only. Omitted from list and PATCH responses.