Skip to main content
POST
Rollback Agent Config

Authorizations

Authorization
string
header
required

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

Path Parameters

job_id
string
required

Body

application/json

Request body for POST /agents/{id}/config/rollback.

targetVersion
integer
required

The existing version number whose config will be copied into a new version. Version 0 is the initial change_kind='create' snapshot.

Required range: x >= 0
note
string | null

Optional user-supplied context - recorded on the new rollback row.

Maximum string length: 500

Response

Successful Response

_id
string
required
name
string
required
job_type
enum<string>
required
Available options:
pyflink,
jar,
agent_config,
knowledge_base
status
enum<string>
required
Available options:
CREATED,
DEPLOYING,
RUNNING,
CANCELLING,
CANCELLED,
FAILED,
FINISHED
desired_status
enum<string> | null
Available options:
CREATED,
DEPLOYING,
RUNNING,
CANCELLING,
CANCELLED,
FAILED,
FINISHED
parallelism
integer
default:1
error_message
string | null
agent_config
Agent Config · object | null
created_by
string | null
created_timestamp
string<date-time> | null
updated_timestamp
string<date-time> | null