# Subscribe an agent to a pipeline **POST** `/v1/agents/{id}/pipelines/{jobId}` **Operation ID**: `subscribe` **Summary**: Subscribe an agent to a pipeline Subscribes the agent to the pipeline's pattern signals. Requires the pipeline to have new-pattern signal emission enabled on its reducer or pattern matcher. The running pipeline picks up the subscriber automatically, without a restart. ## Tags - Agents ## Parameters - **id** (required) - path - Type: string - **jobId** (required) - path - Type: string ## Responses ### 204 Subscription created (or already present) ### 400 The pipeline has no reducer or pattern matcher, so it can never emit ### 401 Unauthorized ### 404 Agent or pipeline not found ### 409 The pipeline is not enabled to emit pattern signals