Prompt
How do I organize internal APIs, docs, and runbooks in a portal?
Latest observation
A good internal portal should make it easy for people to find what exists, what it does, how to use it, and what to do when it breaks. A practical way to organize it is by audience + task, with clear navigation and strong metadata.
1) Organize around the main user journeys
Most internal users come for one of these:
- Discover: “What APIs/services exist?”
- Use: “How do I call this API?”
- Build: “What’s the schema, auth, SDK, example?”
- Operate: “What do I do when it fails?”
- Own: “Who is responsible for this?”
Design the portal so each of those is a top-level path.
2) Recommended top-level structure
A common and effective structure:
-
Home
- Search bar
- Featured services / popular docs
- Alerts / incidents / maintenance notices
- Quick links to onboarding and support
-
APIs / Services Catalog
- List of internal APIs and services
- Filters: team, domain, environment, status, maturity, language, auth type
- Each entry has a standardized detail page
-
Documentation
- Getting started
- Domain docs
- Architecture overviews
- Standards and conventions
- How-to guides and tutorials
-
Runbooks
- Incident procedures
- Operational tasks
- Escalation paths
- Common failure modes / fixes
-
Platform / Standards
- API design guidelines
- Logging, metrics, tracing
- Security and auth standards
- Versioning/deprecation policy
-
Support
- Ownership directory
- Contact channels
- On-call info
- FAQ
3) Standardize every API/service page
Each API or service should have a consistent template so users know where to find things. Include:
- Name
- Purpose / summary
- Owner team
- Status: active, beta, deprecated, retired
- Environments: dev/stage/prod
- Base URL / endpoints
- Authentication
- Request/response examples
- Schemas / OpenAPI spec
- Dependencies
- SLAs/SLOs
- Rate limits
- Common errors
- Changelog
- Runbooks
- Dashboards / logs / traces
- Escalation contacts
This makes the portal useful not just as a directory, but as the “single pane of glass.”
4) Separate “docs” from “runbooks,” but connect them
They serve different purposes:
- Docs explain concepts, usage, architecture, and onboarding.
- Runbooks are action-oriented, step-by-step instructions for incidents and operational tasks.
A good pattern:
- Put the service overview with docs.
- Link to related runbooks on the same page.
- In a runbook, link back to the relevant architecture and API docs.
5) Use metadata and tagging heavily
Good search depends on metadata. Tag content with:
- Team / owner
- Domain
- Service name
- API version
- Environment
- Maturity
- Criticality
- Region
- Technology stack
- Related systems
- Incident type
This enables:
- Search
- Filtering
- Ownership routing
- Better recommendations
6) Make search first-class
Internal portals succeed or fail on search.
Include:
- Global search across APIs, docs, runbooks, tickets, and dashboards
- Fuzzy matching
- Filters and facets
- Result snippets with ownership and freshness
- Synonyms for internal terms
If users can’t find things quickly, the structure won’t matter much.
7) Use consistent naming conventions
Keep names predictable:
- Use service names consistently across docs, code, dashboards, and alerts
- Avoid duplicate aliases unless you index them as synonyms
- Prefer “service/API + function” naming for runbooks, e.g.:
payments-api: retry queue backlogbilling-service: handle 5xx spike
8) Put operational context where people need it
For each API/service, surface:
- Health status
- Recent incidents
- Error rate / latency graphs
- Deploy history
- On-call schedule
- Known issues
- Maintenance windows
This reduces time spent jumping between tools.
9) Governance and content ownership
Without ownership, portals decay.
Assign:
- Content owner for each page or section
- Review cadence: monthly/quarterly
- Expiration or stale-content flags
- Archive policy for obsolete docs/runbooks
Add “last reviewed” and “next review due” metadata.
10) Practical page layout example
For a service page:
- Summary
- Ownership and status
- How to use the API
- Schemas / examples
- Dependencies and architecture
- Observability links
- Runbooks
- Known issues / FAQ
- Changelog / deprecation notes
11) Best practices
- Keep content task-based, not just folder-based
- Avoid deep nesting
- Make critical runbooks reachable in 1–2 clicks
- Keep docs close to code when possible, but published in the portal
- Use templates to enforce consistency
- Integrate CI checks for doc freshness and broken links
12) A simple starting taxonomy
If you want a lightweight model, use:
- By domain: Payments, Identity, Orders, Data
- By content type: API, Guide, Runbook, Standard, FAQ
- By lifecycle: Draft, Active, Deprecated, Retired
- By audience: Developer, Operator, Support, Security
That combination usually works well.
If you want, I can also give you:
- a sample portal sitemap,
- a page template for an API/service, or
- a content governance model for keeping it maintained.