Skip to main content

synth_ai.research.swarm_readouts

Nested run readout namespaces on ResearchSwarmHandle.

Classes

ResearchSwarmUsageActorsAPI

Per-actor usage breakdown for a swarm. Methods:

get

Return token and cost usage grouped by runtime actor.

ResearchSwarmUsageCostAPI

Run-level cost summary readouts. Methods:

get

Return aggregated cost fields for the swarm.

ResearchSwarmUsageLimitsAPI

Org and run resource limit readouts. Methods:

get

Return configured resource limits applicable to the run.

progress

Return progress toward resource limits (tokens, spend, concurrency).

ResearchSwarmUsageAPI

Token, cost, and limit readouts for a swarm. Methods:

actors

Per-actor usage slice.

cost

Run cost summary slice.

limits

Resource limit and progress slice.

get

Return canonical usage totals for the swarm.

ResearchSwarmProgressAPI

High-level progress summary for dashboards and polling loops. Methods:

get

Return the backward-compatible raw progress payload.

get_typed

Return typed state, phase, stalls, tasks, and recommended actions.

ResearchSwarmSnapshotsAPI

Observability snapshots (control vs full detail). Methods:

get

Return an observability snapshot for the swarm. Args:
  • detail: "control" for operator dashboard fields or "full" for the expanded observability projection.

ResearchSwarmEventsObjectivesAPI

Objective lifecycle events emitted during a run. Methods:

list

List objective events with optional cursor pagination. Args:
  • limit: Maximum events to return on this page.
  • cursor: Opaque cursor from a prior response.
Returns:
  • Event page payload including items and an optional next cursor.

ResearchSwarmEventsTasksAPI

Task lifecycle events emitted during a run. Methods:

list

List task events with optional cursor pagination. Args:
  • limit: Maximum events to return on this page.
  • cursor: Opaque cursor from a prior response.
Returns:
  • Event page payload including items and an optional next cursor.

ResearchSwarmEventsAPI

Structured and streaming runtime events for a swarm. Methods:

objectives

Objective-scoped event list.

tasks

Task-scoped event list.

stream

Stream runtime events over SSE. Args:
  • transcript_cursor: Resume streaming after this transcript cursor.
  • view: Projection name (for example "operator").
  • last_event_id: Resume after this event id when reconnecting.
  • timeout: Optional read timeout in seconds.

ResearchSwarmTasksAPI

Task summaries attached to a run. Methods:

list

List task summaries for the swarm. Args:
  • kind: Optional task kind filter.
  • limit: Maximum summaries to return.

ResearchSwarmMessageQueueMessagesAPI

Outbound operator messages on the run message queue. Methods:

list

List queued messages, optionally scoped to a thread.

send

Publish a message to the run message queue. Args:
  • body: Message body text.
  • **kwargs: Additional wire fields forwarded to the backend.

ResearchSwarmMessageQueueThreadsAPI

Message queue threads for operator steering. Methods:

list

List message queue threads for the swarm.

ResearchSwarmMessageQueueInteractionsAPI

Pending and completed message queue interactions. Methods:

list

List interactions, optionally filtered by status.

ResearchSwarmMessageQueueAPI

Operator steering via threads, messages, and interactions. Methods:

messages

Outbound messages API.

threads

Thread listing API.

interactions

Interaction listing API.

ResearchSwarmRuntimeMessagesAPI

Runtime messages visible to operators and viewers. Methods:

list

List runtime messages for the swarm. Args:
  • status: Optional delivery or read status filter.
  • viewer_role: Role used to project the message list.
  • viewer_target: Optional target id or list of targets.
  • limit: Maximum messages to return.

ResearchSwarmTranscriptAPI

Transcript pages and cursor-based pagination for run events. Methods:

get

Fetch a transcript page (use get_page for SyncPage iteration).

get_page

Fetch a transcript page wrapped as SyncPage for iteration.

ResearchSwarmMilestonesAPI

Swarm-scoped milestone readouts. Methods:

list_primary_parent

List primary parent milestones linked to the run.

ResearchSwarmWorkProductsContentAPI

Fetch work product payload bytes or text. Methods:

get

Return work product content. Args:
  • work_product_id: Work product identifier from list.
  • as_text: When True, decode as UTF-8 text; otherwise return bytes.

ResearchSwarmTrainedModelsAPI

Trained model artifacts produced by a run. Methods:

list

List trained models registered for the swarm.

ResearchSwarmWorkProductsEvalPackagesAPI

Container eval packages attached to run work products. Methods:

list

List eval packages exported from the run workspace.

ResearchSwarmWorkProductsAPI

Work products and derived outputs from a run. Methods:

content

Download work product bodies.

eval_packages

List container eval packages.

list

List work product metadata for the swarm.

ResearchSwarmHostedArtifactsAPI

Hosted artifact receipt and operator actions for a swarm. Methods:

get

Return hosted artifact status for this run.

content

Fetch hosted HTML for this run’s artifact.

publish_public

Promote this run’s hosted artifact to the public index.

assign_reviewer

Dispatch an artifact_reviewer for this run’s hosted artifact.

ResearchSwarmArtifactsManifestAPI

Artifact manifest for a swarm. Methods:

get

Return the artifact manifest describing available run outputs.

ResearchSwarmArtifactsContentAPI

Download individual run artifacts. Methods:

get

Return artifact content by id. Args:
  • artifact_id: Artifact identifier from list or the manifest.
  • as_text: When True, decode as UTF-8 text; otherwise return bytes.

ResearchSwarmArtifactsAPI

Run artifacts listing, manifest, and content download. Methods:

manifest

Artifact manifest API.

content

Artifact content download API.

list

List artifacts for the swarm with optional type filter.

ResearchSwarmResultsAPI

Final run results and outcome payload. Methods:

get

Return the run results document when execution has finished.

ResearchSwarmLogsAPI

Structured run logs for debugging and audit. Methods:

list

List log records with optional cursor pagination.

ResearchSwarmOrchestratorAPI

Orchestrator state and routing metadata for a swarm. Methods:

get

Return orchestrator readouts for the swarm.

ResearchSwarmWorkspaceAPI

Run workspace archive download. Methods:

download

Download the run workspace archive to a local path. Args:
  • destination: Local filesystem path for the archive.
  • timeout_seconds: Optional download timeout.

ResearchSwarmCodeAPI

Run code archive download. Methods:

download

Download run code to the given local path.

ResearchSwarmActorsAPI

Runtime actor inventory for a swarm. Methods:

list

List actors participating in the run.

ResearchSwarmEvidenceAPI

Operator evidence bundle for debugging run behavior. Methods:

get

Return operator evidence with optional per-section limits.

ResearchSwarmAuthorityAPI

Authority and permission readouts for operators. Methods:

get

Return authority readouts for the swarm. Args:
  • include_runtime_authority: Include live runtime authority fields when available.

ResearchSwarmExecutionAPI

Execution state and worker routing for a swarm. Methods:

get

Return execution readouts for the swarm.

ResearchSwarmTickingAPI

Run ticking / heartbeat controls for long-running workloads. Methods:

get

Return current ticking state for the swarm.

set

Update ticking configuration for the swarm.

ResearchSwarmReadoutsMixin

Lazy nested readout namespaces on :class:ResearchSwarmHandle. Access via handle.usage, handle.progress, handle.snapshots, handle.transcript, handle.message_queue, etc. Methods:

usage

Usage, cost, and limit readouts.

progress

Coarse progress for polling UIs.

snapshots

Observability snapshots (control or full).

events

Structured and streaming runtime events.

tasks

Task summaries for the swarm.

message_queue

Operator message queue threads and outbound messages.

messages

Runtime messages visible to operators.

transcript

Transcript pages with optional cursor pagination.

work_products

Work products produced by the run.

hosted_artifact

Hosted Open Research artifact receipt for the swarm.

trained_models

Trained models registered for the swarm.

artifacts

Run artifacts listing and download.

results

Final run results when execution completes.

logs

Structured run logs.

orchestrator

Orchestrator readouts for the swarm.

workspace

Run workspace archive download.

code

Run code archive download.

actors

Runtime actor inventory.

evidence

Operator evidence bundle for debugging.

authority

Authority and permission readouts.

execution

Execution state readouts.

milestones

Swarm-scoped milestone readouts.

ticking

Run ticking / heartbeat controls.