Add index endpoint.