Skip to content

Update from code changes: optional slug on GET /organization/assets - #121

Open
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/18f8f9db
Open

Update from code changes: optional slug on GET /organization/assets#121
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/18f8f9db

Conversation

@mintlify

@mintlify mintlify Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Document the new optional slug parameter on GET /organization/assets and the matching --org <slug> flag on chainpatrol orgs assets list.

Changes

  • external-api/organization-assets-list.mdx: add slug query parameter, an authorization matrix for org-scoped keys vs. user-scoped keys and staff sessions, a cross-org request example, and 401 / 403 / 404 error responses.
  • cli/commands/orgs.mdx: document --org <slug> on orgs assets list, clarify that org-scoped keys can still omit it, and note the 403 on cross-org attempts.

Context

Source: chainpatrol/chainpatrol-web#7623 — the read path now accepts an optional slug, authorized via the same isCtxAuthorizedForOrg pattern used by GET /organization/reports. Mutations and other org-scoped reads still require an org-scoped API key and are unchanged.


Note

Cursor Bugbot is generating a summary for commit 657af6d. Configure here.

@mintlify

mintlify Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
chainpatrol 🟢 Ready View Preview Aug 20, 2026, 1:12 PM

cursor[bot]
cursor Bot approved these changes Aug 20, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Cursor Bugbot and Cursor Security Agent both completed successfully with no findings that need human review. No additional reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants