Skip to main content
POST
/
components
/
{component_id}
/
configs
/
{version}
/
set-current
Set Current Config Version
curl --request POST \
  --url https://api.example.com/components/{component_id}/configs/{version}/set-current \
  --header 'Authorization: Bearer <token>'
{
  "component_id": "<string>",
  "component_type": "agent",
  "created_at": 123,
  "name": "<string>",
  "description": "<string>",
  "current_version": 123,
  "metadata": {},
  "updated_at": 123
}

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

version
integer
required

Version number

Response

Successful Response

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