Skip to main content
POST
Requires version 1.1.9 or later of the Archetype platform.

Overview

This endpoint resumes a paused agent and returns the updated agent with status running. Only a paused agent can be resumed; anything else returns 409.

Request

string
required
Agent agt_ id.

Response

Returns the resumed agent.
string
required
TypeID-encoded agent identifier (agt_ prefix).
string
required
Name of the agent (a run’s name is its bundle’s name).
string
required
Organization identifier the agent belongs to.
string
required
The bundle this agent was run from (provenance).
string
required
Human-readable pinned blueprint reference (its key), e.g. osm.
string
required
Immutable blueprint id the bundle pinned.
string
required
Agent lifecycle status; running after a successful resume.
string
required
Creation timestamp (date-time).
object
The I/O binding this run was started with; null when none is recorded.
string
External executor’s job id for the current run (a JOS job_ id). Present once the run has been dispatched.
string
When the run started; null before then.
string
When the run finished; null while unfinished.
string
Failure detail; null unless the run failed.

Important Notes

  • Resume is valid only from paused. Calling it on a running or terminal agent returns 409.
  • Pause and resume move an agent back and forth between running and paused; neither is terminal.