Unified.to
Blog

How long are logs retained


April 2, 2024

API call logs are retained for 60 days. Our system removes log entries for API calls that are older than 60 days.

To retain a record of all of your API calls, we suggest that you make a backup copy of your API call log on a regular basis. You can do this by using our Unified.to Admin API.

For example, if you use our Node SDK, you could perform a backup using the listUnifiedApicalls() method:

import { UnifiedTo } from '@unified-api/typescript-sdk';

const sdk = new UnifiedTo({
    security: {
        jwt: '<YOUR_API_KEY_HERE>',
    },
});

const results = await sdk.unified.listUnifiedApicalls({  });
Blog