Modified the API search by related CI