v3

latestOpenAPI 3.1.0Proprietary2026-08-07266348629.6 KB
Agents

Redeploy Agent

Redeploy a cancelled/failed agent.

Re-uploads stored code to the Flink pod and starts the job. Set with_savepoint=true (default) to resume from last savepoint, or false to start fresh. Body is optional - omit it to accept defaults.

post/agents/{job_id}/redeploy

Path parameters

job_idstring required

Request body

withSavepointboolean

If True and a savepoint exists, resume from it (preserves Kafka offsets and state).

Response

Successful Response

_idstring required
namestring required
job_type'pyflink' | 'jar' | 'agent_config' | 'knowledge_base' required
status'CREATED' | 'DEPLOYING' | 'RUNNING' | 'CANCELLING' | 'CANCELLED' | 'FAILED' | 'FINISHED' required
desired_status'CREATED' | 'DEPLOYING' | 'RUNNING' | 'CANCELLING' | 'CANCELLED' | 'FAILED' | 'FINISHED'
flink_job_namestring required
flink_job_idstring nullable
parallelisminteger
error_messagestring nullable
agent_configobject nullable
created_bystring nullable
created_timestampstring date-time nullable
updated_timestampstring date-time nullable