---
title: "List all networks"
method: GET
path: "/api/v1/networks"
tags: ["Networks"]
---

# List all networks

`GET /api/v1/networks`

## Query parameters

- `limit` integer, nullable
- `offset` integer, nullable

## Response `200`

List of networks

- object — Response type for paginated list endpoints (pagination is always present in meta)
  - `data` object[], required
    - `credential_ids` string[], required — Credential IDs associated with this network (hydrated from junction table).
    - `name` string, required
    - `organization_id` string, uuid, required
    - `stale_after_hours` integer, nullable, required — How long a discovery-managed entity on this network may go unobserved before it reads as stale. `None` = unset; callers resolve the effective value through [`Network::stale_after`], never by reading this directly. Network-scoped because staleness is only meaningful relative to scan cadence, and cadence is a property of a network's discoveries.
    - `tags` string[], required
    - `created_at` string, date-time, required
    - `effective_stale_after_hours` integer — `stale_after_hours` with the server's default already applied. Computed, never stored (excluded from `to_params`). Published so the frontend derives staleness from the *same* number the digest uses rather than re-declaring the default in TypeScript, where the two could drift and a host could read stale in the app but current in the digest email.
    - `id` string, uuid, required
    - `updated_at` string, date-time, required
  - `error` string, nullable
  - `meta` PaginatedApiMeta, required — API metadata for paginated list responses (pagination is always present)
    - `api_version` integer, required — API version (integer, increments on breaking changes)
    - `pagination` PaginationMeta, required — Pagination metadata returned with paginated responses.
      - `has_more` boolean, required — Whether there are more items after this page
      - `limit` integer, required — Maximum items per page (as requested)
      - `offset` integer, required — Number of items skipped
      - `total_count` integer, required — Total number of items matching the filter (ignoring pagination)
    - `server_version` string, required — Server version (semver)
  - `success` boolean, required

## Changes

- **2026-07-22** `8d79aa9841a2` — 2 info
  - added the optional property `data/items/allOf[subschema #2]/effective_stale_after_hours` to the response with the `200` status
  - added the required property `data/items/allOf[#/components/schemas/NetworkBase]/stale_after_hours` to the response with the `200` status

[Change history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/v1/networks/get.md)

---

[API](https://skmtc.dev/scanopy/apis/scanopy-api.md) · [All operations](https://skmtc.dev/scanopy/apis/scanopy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scanopy/scanopy-api/revisions/c037832cd07f/schema)
