---
title: "Set Agent Lifecycle"
method: PUT
path: "/agents/{agent_id}/lifecycle"
tags: ["Agents"]
---

# Set Agent Lifecycle

`PUT /agents/{agent_id}/lifecycle`

## Request

- Base URL: `https://zeronoise.ai/api/v1`
- URL: `https://zeronoise.ai/api/v1/agents/{agent_id}/lifecycle`
- Auth: HTTP bearer

The first activation also generates Briefs for the latest closed schedule periods (`initial_briefs`, default 1), when the credential may generate Briefs.

## Request body

- SetAgentLifecycleInput
  - `lifecycle` 'active' | 'paused', required
  - `initial_briefs` integer: On a first activation, how many of the latest closed schedule periods get a Brief now, oldest first; 0 for none. At most 14 for daily Agents, 2 for weekly. Validated whenever lifecycle is active; used only on a first activation.

## Response `200`

Updated Agent lifecycle

- Agent: Another organization's Agent is returned in a reader form without workspace_id, readiness, configuration, pending and rejected Source counts, or configuration and Chat links.
  - `id` string, required: Opaque identifier; clients must not parse its format.
  - `object` 'agent', required
  - `organization_id` string, required: Opaque identifier; clients must not parse its format.
  - `workspace_id` string: Opaque identifier; clients must not parse its format.
  - `created_by` ActorReference
    - `object` string, required
    - `id` string, required: Opaque identifier; clients must not parse its format.
    - `display_name` string, nullable
  - `configuration` AgentConfiguration
    - `name` string, nullable, required
    - `description` string, nullable, required
    - `goal` string, nullable, required
    - `instructions` string, nullable, required
    - `discovery_instructions` string, nullable, required: The Agent's standing source discovery instructions ("Source discovery instructions" in the web app). Discovery requests over the API pass their own.
    - `output` AgentOutput, required
      - `style` string, nullable, required
      - `language` string, nullable, required
    - `tasks` AgentTasks, required
      - `extract_information` AgentTask, required
        - `instructions` string, nullable, required
      - `generate_brief` AgentTask, required
        - `instructions` string, nullable, required
    - `schedule` AgentSchedule, required
      - `frequency` 'daily' | 'weekly', nullable, required
      - `time` string, nullable, required
      - `weekday` 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday', nullable, required
      - `timezone` string, nullable, required
    - `transcription_mode` 'budget' | 'premium', required
    - `briefing_preset` 'economy' | 'standard' | 'advanced' | 'expert', required
    - `evidence_capabilities` AgentEvidenceCapabilities, required: Agent preferences for optional external evidence. Runtime availability may further narrow them.
      - `external_web` 'disabled' | 'on_demand', required
      - `image_analysis` 'disabled' | 'on_demand', required
  - `configuration_etag` string, nullable
  - `access_policy` string, required
  - `lifecycle` string, required
  - `source_summary` SourceSummary, required
    - `approved` integer, required
    - `pending` integer: Omitted for another organization's Agent.
    - `rejected` integer: Omitted for another organization's Agent.
  - `readiness` object: Omitted for another organization's Agent.
    - `finalization` AgentReadiness, required
      - `ready` boolean, required
      - `blockers` ReadinessBlocker[], required
        - `code` string, required
        - `path` string, nullable
        - `actual` integer, nullable
        - `minimum` integer, nullable
    - `activation` AgentReadiness, required
      - `ready` boolean, required
      - `blockers` ReadinessBlocker[], required
        - `code` string, required
        - `path` string, nullable
        - `actual` integer, nullable
        - `minimum` integer, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `links` Links, required

## Other responses

- `409`: RFC 9457 problem response
- `default`: RFC 9457 problem response

---

[API](https://skmtc.dev/zeronoise/apis/zeronoise-api.md) · [All operations](https://skmtc.dev/zeronoise/apis/zeronoise-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zeronoise/apis/zeronoise-api/revisions/f7d813d9631d?raw)
