/
/
Clean up stale and orphaned Postman forks
For API teams who want every Postman collection fork sorted into orphaned, stale, behind or active, with its owner named.
On this page
Connector
Connect Postman, pick your AI tool and paste the prompt.
The problem
Forks pile up with no one to clean them
Forks pile up in Postman. Some were abandoned, some lost their parent, and some fell behind a parent that kept changing, so merging them now would overwrite newer work. Finding which is which means comparing dates across every fork by hand.
Without PopdockAI
- List every collection and spot the forks
- Find each fork's parent and owner
- Compare update dates by hand
- Merge a fork that overwrites newer work
With PopdockAI
- Every collection is read and the forks split out
- Each fork's owner is named, flagging people who may have left
- Forks are sorted into orphaned, stale, behind or active
- Nothing is merged, forked or deleted
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Find collection forks that have not been updated in `{stale-days}` days (default 60), or whose parent collection no longer exists, and recommend merging or deleting each.
**Step 1: Load collections**
Call `postman-get-collections` with no filters (raise `max-records` if the result looks capped). Split into forks (forked-from-collection-id set) and the rest. Index every collection by collection-id.
**Step 2: Resolve owners**
Call `postman-get-users` and match each fork's owner to a user-id to get a name. If the owner matches no user, show the raw owner value and flag it: the owner may have left the team.
**Step 3: Assess each fork**
* Orphaned: forked-from-collection-id matches no collection.
* Stale: updated-at older than today minus `{stale-days}` days.
* Behind: the parent's updated-at is later than the fork's fork-created-at, so the parent moved on after the fork was taken; merging now risks overwriting newer parent changes.
* Active: none of the above.
**Step 4: Report**
A table per category with fork name, fork-label, owner name, parent name, fork-created-at and updated-at. Recommend: orphaned and stale forks are clean-up candidates for their owners; behind forks should be reviewed against the parent before any merge. End with counts.
**Rules & Guidelines:**
* This is read-only. Do NOT call `postman-merge-collection-fork`, `postman-fork-collection` or any other write tool; point to the merge-collection-fork prompt for merges.
* There is no delete tool on this server; say clean-up happens in Postman.
**Validation:**
* If there are no forks, say so and stop.Who it's for
One answer, three teams that use it
API leads
Clean up abandoned forks
Stale and orphaned forks are listed with owners, so you know what is safe to remove.
Which Postman forks have not changed in 90 days?
Developers
Check your fork before merging
See whether your fork has fallen behind its parent before you merge and overwrite newer work.
Are any of my Postman forks behind their parent collection?
Workspace admins
Find forks owned by leavers
Owners who may have left are flagged, so their forks can be reassigned or retired.
List Postman forks whose owners may have left the team.
How it works
What PopdockAI does when you ask
You set how many days counts as stale, and your AI assistant sorts every Postman fork. It is read-only and points you to the merge job when a fork is ready.
01
Ask
You set how many days counts as stale.
02
Read
It reads every collection and splits out the forks.
03
Assess
It names each fork's owner and sorts it into orphaned, stale, behind or active.
04
Report
You get each fork with its label, parent and dates, with nothing changed.
What PopdockAI provides
The tools behind the answer
Ready made tools for Postman and one secure connection to your AI tool. No code, no exports.
postman-get-collections
postman-get-users
This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.
The outcome
Forks sorted and owned, ready to clean up
Related use cases
More ways to put this data to work
One prompt template with infinite possibilities.
Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.
Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

.webp)
