Reusing artifacts that contains mock data of external api calls

I’m using circleci to test and deploy my apps. In test scenarios my app make requests to an external api which i’m mocking it’s responses.

I’m storing the mock data in temp directory of my repo to avoid increasing the memory size. Since temp directory is in .gitignore list it won’t be fetch by github and circleci. So i want to run tests in circleci, make real external api calls for once then save that results in artifacts to use them for next test builds.I searched docs but could not find related solution to this problem. Is it possible to achive this? Thanks.