Confluence API - Zero Response Issue for Content and Activity Metrics

Hi Confluence Community,

We’re experiencing issues with the Confluence API returning zero values for various content and activity metrics, despite active content and users in our workspace. Here’s a detailed breakdown:

1. Page Content & Activity

  • Request URL: https://your-domain.atlassian.net/wiki/rest/api/content
  • Parameters:
    • Authorization: Bearer token
    • expand: version,space,history,metadata
  • Observed Issue: Content queries returning empty results despite existing pages and spaces in the workspace

2. Space Content

  • Request URL: https://your-domain.atlassian.net/wiki/rest/api/space
  • Parameters:
    • Authorization: Bearer token
    • expand: description,metadata
  • Observed Issue: Space queries returning zero results despite having active spaces

3. User Activity

  • Request URL: https://your-domain.atlassian.net/wiki/rest/api/audit
  • Parameters:
    • Authorization: Bearer token
    • limit: 100
  • Observed Issue: Activity logs showing no data despite active user engagement

Current Behavior:

  • Authentication is successful
  • API calls complete without errors
  • All content-related queries return empty results or zero values
  • User verification works correctly

Integration Setup:

  • Using Atlassian API token
  • Authentication successful
  • Required scopes enabled
  • Integration set up at workspace level

Has anyone encountered similar issues or can suggest potential solutions? Any guidance would be appreciated.