Skip to main content
PATCH
Update Component

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

component_id
string
required

Component ID

Body

application/json

Component fields to update

name
string | null
description
string | null
component_type
string | null
metadata
Metadata · object | null
current_version
integer | null
guard
ComponentGuard · object | null

Optional compare-and-set guard for component writes.

When present, each non-None field is checked against the stored state and the write is rejected with 409 on mismatch. None fields skip that half of the check; omitting the guard keeps the write last-writer-wins.

Response

Successful Response

component_id
string
required
component_type
enum<string>
required
Available options:
agent,
team,
workflow
created_at
integer
required
name
string | null
user_id
string | null
description
string | null
current_version
integer | null
metadata
Metadata · object | null
updated_at
integer | null
deleted_at
integer | null