---
title: "Check if a source can be deleted (has active references)"
method: GET
path: "/api/sources/{id}/references"
tags: ["sources"]
---

# Check if a source can be deleted (has active references)

`GET /api/sources/{id}/references`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `id` string, required

## Response `200`

Reference check result

- ReferenceCheckResponse
  - `articles` ReferencedArticles, required
    - `count` integer, required
    - `items` ReferencedArticle[], required
      - `id` string, required
      - `is_mine` boolean, required
      - `slug` string, required
      - `status` string, required
      - `title` string, required
  - `child_sources` ReferencedChildSources, required
    - `count` integer, required
    - `items` ReferencedChildSource[], required
      - `id` string, required
      - `relation` string, required
      - `title` string, required
  - `resources` ReferencedResources, required
    - `count` integer, required
    - `ids` string[], required
  - `total` integer, required: Total count across all categories.

## Other responses

- `400`: Invalid source ID
- `401`: Not authenticated
- `403`: Insufficient permissions

## Changes

- **2026-07-16** `4473ab073bea`: 1 info
  - added the non-success response with the status `400`
- **2026-04-23** `661eea45304e`: 2 breaking, 4 info
  - removed the required property `count` from the response with the `200` status
  - removed the required property `resource_ids` from the response with the `200` status
  - added the required property `articles` to the response with the `200` status
  - added the required property `child_sources` to the response with the `200` status
  - …2 more
- **2026-04-05** `46554ab9860a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/scholia-study/apis/scholia-api/changes/api/sources/:id/references/get.md)

---

[API](https://skmtc.dev/scholia-study/apis/scholia-api.md) - [All operations](https://skmtc.dev/scholia-study/apis/scholia-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scholia-study/apis/scholia-api/revisions/684b3751bfd3?raw)
