---
title: "Set Agent Source Status"
method: PUT
path: "/agents/{agent_id}/sources/{source_id}/status"
tags: ["Sources"]
---

# Set Agent Source Status

`PUT /agents/{agent_id}/sources/{source_id}/status`

## Request

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

## Request body

- SetSourceStatusInput
  - `status` 'approved' | 'rejected', required

## Response `200`

Updated Source relationship

- Source
  - `id` string, required: Opaque identifier; clients must not parse its format.
  - `object` 'source', required
  - `agent_id` string, required: Opaque identifier; clients must not parse its format.
  - `status` string, required
  - `source_type` string, required
  - `title` string, nullable
  - `url` string, nullable
  - `source_agent_id` string: Opaque identifier; clients must not parse its format.
  - `created_by_operation_id` string: Opaque identifier; clients must not parse its format.
  - `created_at` string, date-time, required
  - `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)
