Inconsistent Query Results on /Services

I have a service named prod-platform

When I try the following API call, I do not get the service in the result list.

https://api.pagerduty.com/services?limit=250&query=prod

However, the following call will return the service in the result list.

https://api.pagerduty.com/services?limit=250&query=prod-

Shouldn’t the first query return the service as well?

The interesting thing is that the Web UI returns the the result for both queries.

Hi Benji,

Thanks for reaching out to us about this.

I’ll be happy to look into this for you.

Can you please let me know the following:

  1. The API calls you are makingI exactly? Are you making different calls?
  2. Can you provide the service ID that is not being listed?

If you can please provide this information, I’ll be happy to look into this further for you.