The api_version is the version of the API contract that the CPI supports. New CPIs adopting the V2 contract must return 2. If there is no version supplied, the Director assumes version 1 of the contract must be used.