Skip to main content
Generated from the same public contract that feeds the Monaco editor. Declaration-marked deprecated compatibility methods are intentionally excluded. Do not edit this page manually.
This page contains 51 methods. Search the docs for an exact method name, or use this index:

agent.list()

Lists agents visible to the current execution context.

Signature

Example

agent.get()

Returns one agent by id.

Signature

Example

agent.create()

Creates a new agent. The server creates agentId, status, managed workspace, timestamps, and version; supply an existing service-account user id only. Notes:
  • No-op in debug mode.

Signature

Example

agent.update()

Updates mutable agent fields such as config, policy, or profile. Notes:
  • No-op in debug mode.

Signature

Example

agent.listInbox()

Lists queued and historical inbox items for an agent.

Signature

Example

agent.getInboxItem()

Returns one inbox item for an agent.

Signature

Example

agent.pushInbox()

Enqueues a new inbox item for an agent. Notes:
  • No-op in debug mode.

Signature

Example

agent.updateInboxItem()

Updates an existing inbox item. Notes:
  • No-op in debug mode.

Signature

Example

agent.removeInboxItem()

Removes an inbox item. Notes:
  • No-op in debug mode.

Signature

Example

agent.listPlugins()

Lists agent plugins configured for an agent.

Signature

Example

agent.getPlugin()

Returns one agent plugin definition for an agent.

Signature

Example

agent.listRuns()

Lists runs for an agent.

Signature

Example

agent.getRun()

Returns one agent run.

Signature

Example

agent.listRunEvents()

Lists persisted events for a run.

Signature

Example

agent.listRunThreads()

Lists assistant threads associated with a run.

Signature

Example

agent.startRun()

Starts a new agent run. Notes:
  • No-op in debug mode.

Signature

Example

agent.resumeRun()

Resumes a paused run. Notes:
  • No-op in debug mode.

Signature

Example

agent.retryRun()

Retries a failed or completed run from its retry policy. Notes:
  • No-op in debug mode.

Signature

Example

agent.tickRun()

Forces one autonomous tick for a run. Notes:
  • No-op in debug mode.

Signature

Example

agent.cancelRun()

Cancels a run, optionally recording a reason. Notes:
  • No-op in debug mode.

Signature

Example

agent.reconcileRuns()

Reconciles stalled runs with the loop scheduler. Notes:
  • No-op in debug mode.

Signature

Example

agent.listThreads()

Lists assistant threads visible through the agent helper.

Signature

Example

agent.getThread()

Returns one assistant thread.

Signature

Example

agent.getThreadState()

Returns the hidden runtime planning state for a thread.

Signature

Example

agent.getThreadGoal()

Returns the current durable goal for a thread, if one exists.

Signature

No dedicated example is encoded in the current editor declaration. The signature is authoritative.

agent.setThreadGoal()

Sets or replaces the durable thread goal without appending a user message.

Signature

No dedicated example is encoded in the current editor declaration. The signature is authoritative.

agent.pauseThreadGoal()

Pauses goal validation while preserving the objective.

Signature

No dedicated example is encoded in the current editor declaration. The signature is authoritative.

agent.resumeThreadGoal()

Resumes goal validation for the current objective.

Signature

No dedicated example is encoded in the current editor declaration. The signature is authoritative.

agent.clearThreadGoal()

Clears the current durable goal without changing visible messages.

Signature

No dedicated example is encoded in the current editor declaration. The signature is authoritative.

agent.getThreadShare()

Returns the current share state for a thread owned by the current user.

Signature

Example

agent.enableThreadShare()

Creates or re-enables a stable share link for a thread owned by the current user. Notes:
  • No-op in debug mode.

Signature

Example

agent.disableThreadShare()

Disables the stable share link for a thread owned by the current user. Notes:
  • No-op in debug mode.

Signature

Example

agent.getSharedThread()

Returns a read-only shared thread by share ID.

Signature

Example

agent.listSharedThreadMessages()

Lists visible messages for a shared thread.

Signature

Example

agent.getSharedThreadMessageExecutionDetails()

Returns sanitized execution details for a visible shared-thread message.

Signature

Example

agent.getSharedThreadMessageArtifact()

Returns one sanitized artifact for a visible shared-thread message.

Signature

Example

agent.forkSharedThreadMessage()

Forks a shared thread from a selected visible message. Notes:
  • No-op in debug mode.

Signature

Example

agent.createThread()

Creates a new assistant thread and first message. Notes:
  • No-op in debug mode.

Signature

Example

agent.deleteThread()

Soft-deletes a thread. Notes:
  • No-op in debug mode.

Signature

Example

agent.restoreThread()

Restores a deleted thread. Notes:
  • No-op in debug mode.

Signature

Example

agent.listThreadMessages()

Lists visible messages for a thread.

Signature

Example

agent.sendMessage()

Sends a new message into an existing thread. Notes:
  • No-op in debug mode.

Signature

Example

agent.retryMessage()

Retries one assistant message. Notes:
  • No-op in debug mode.

Signature

Example

agent.cancelThread()

Cancels in-flight work on a thread. Notes:
  • No-op in debug mode.

Signature

Example

agent.forkMessage()

Forks a thread from a selected message. Notes:
  • No-op in debug mode.

Signature

Example

agent.renameThread()

Renames a thread. Notes:
  • No-op in debug mode.

Signature

Example

agent.resolveAction()

Resolves an action-required checkpoint with an explicit payload. Notes:
  • No-op in debug mode.

Signature

Example

agent.approveAction()

Approves an action-required checkpoint. Notes:
  • No-op in debug mode.

Signature

Example

agent.rejectAction()

Rejects an action-required checkpoint. Notes:
  • No-op in debug mode.

Signature

Example

agent.submitAction()

Submits operator input for an action-required checkpoint. Notes:
  • No-op in debug mode.

Signature

Example

agent.compactThread()

Triggers thread compaction. Notes:
  • No-op in debug mode.

Signature

Example

Last modified on September 5, 2026