Skip to main content
PUT

Authorizations

Authorization
string
header
required

Organization API key passed as a Bearer token. This is the scheme used by the public SDK surface.

Path Parameters

agent_id
string<uuid>
required

A UUID string identifying this base agent.

Query Parameters

organization_id
string<uuid>

Organization ID. This is required for access control. It can be provided via query or request body depending on the endpoint.

Body

application/json

Serializer for updating BaseAgent

name
string

New name for the agent. Must not be empty if provided.

Minimum string length: 1
disable_cache
boolean

Whether to disable job cache fetching for this agent.

cache_failed_jobs
boolean

Whether to cache failed jobs for this agent.

Response

Agent updated successfully.

Serializer for BaseAgent (agent config)

id
string<uuid>
required
read-only
created_at
string<date-time>
required
read-only
updated_at
string<date-time>
required
read-only
name
string
required
Required string length: 1 - 200
disable_cache
boolean
required

Whether to disable job cache fetching for this agent.

cache_failed_jobs
boolean
required

Whether to cache failed jobs for this agent.

organization_id
string<uuid>
required

Organization ID that owns this agent.

engine_class_id
string
required
Maximum string length: 200
current_version_id
string<uuid>
required
read-only

UUID of the current agent version.

job_count
integer | null
required
read-only

Served job count: cached baseline + live delta, annotated by the views as job_count. None when stats weren't fetched (the list can be requested with include_job_stats=false; use /agents/job-stats/).

most_recent_job
string<date-time> | null
required
read-only
engine_name
string
required
read-only

Engine Display Name

tags
object[]
required
read-only
creator
object | null