Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Confluence Cloud Search API - score always 0 for results

Hi guys,

I’m approaching Confluence Cloud Rest APIs and I cannot understand how the /search API works… As described in the documentation (here) it should return a set of results with the `score` property, but it’s always zero.

I tried to look in the docs for more detailed info, but I wasn’t able to find anything useful.

Any hint?
Thank you in advance.


1 answer

0 votes

Hi @Andrea Rinaldi ,

first of all, just a simple question : are u sure that user used for seach API has privileges to retrieve expected results?

Please could you share the URL? I'd like to check the cql in order to verify that it is correct. In particular I'd like to check character encoding (I usually use the following to check rest API parameters).

Hope this helps,


Hi @Fabio Racobaldo _Herzum_ , thank you for answering.

We are using the ACT_AS_USER scope in our ACE app and we are doing search requests with a bearer token that identifies the current logged user.

Anyway, we receive the pages we are expecting, it doesn't seem a matter of wrong CQL.. The problem is that the returned JSON items (see SearchResult object model in the linked doc) do not contain the 'score' property mentioned in the doc.

We are trying to merge the results of the Confluence Search API with the results we get from other sources.. and the score parameters would be very useful in the normalisation phase. Do you know if there's some particular condition or setting in Confluence that would enable the 'score' property evaluation?

Sorry @Andrea Rinaldi for the misunderstanding. 

Score property should be associated to age of pages (I read that info here).

Did you check if your items are referred to just old pages?



Yep, we read that page too, the explanation is clear enough..

It's disappointing that the "score" property is listed in the documentation without any sort of note or disclaimer, but it never gets evaluated and properly returned.

Ciao @Andrea Rinaldi ,

you can raise a ticket to Atlassian team

Yes, we are raising it right now.

Thank you @Fabio Racobaldo _Herzum_ !

You're welcome @Andrea Rinaldi 

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events