Skip to content

docs: Add check-if-room-exists pattern to query-rooms guide - #23352

Draft
nedi-app[bot] wants to merge 1 commit into
masterfrom
docs/netdata-cloud-check-room-exists-in-space
Draft

docs: Add check-if-room-exists pattern to query-rooms guide#23352
nedi-app[bot] wants to merge 1 commit into
masterfrom
docs/netdata-cloud-check-room-exists-in-space

Conversation

@nedi-app

@nedi-app nedi-app Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Add check-if-room-exists pattern to query-rooms guide. Files changed: docs/netdata-ai/skills/query-netdata-cloud/query-rooms.md.

User Request

how to get if a room exists in a space with space and room id

Prompt (English)

Check if a room exists in a space using Netdata Cloud REST API and the space/room IDs

Reason for Change

This change applies the specific user request using repository-truth evidence from the audit execution workspace.


Summary by cubic

Added a check-if-room-exists pattern to query-rooms.md to verify a room ID in a space using the Netdata Cloud rooms list endpoint with a jq-based existence check. Also notes that no single-room GET endpoint exists and includes a copy-paste command.

Written for commit dabcbd9. Summary will update on new commits.

Review in cubic

…the Common patterns section of query-rooms.md, placed after the existing find-by-name pattern. The pattern uses the documented GET /api/v2/spaces/$SPACE/rooms list endpoint via agents_query_cloud, pipes to jq -e with any(.id==$ID) for an exit-code-based existence check, and includes a one-line note that no single-room GET endpoint exists.
@nedi-app nedi-app Bot added the nedi-audit PRs created by the nedi-audit pipeline label Aug 1, 2026
@sonarqubecloud

sonarqubecloud Bot commented Aug 1, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs nedi-audit PRs created by the nedi-audit pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants