The complete API Session Id is not available in the SFAPI/Odata API Audit logs.
For ex: You would see the session Id as below.
Reproducing the Issue
This is visible in API Audit logs (SFAPI/ODATA) whenever an API call is made.
Admin Center --> Odata API Audit logs / SFAPI Audit logs.
This is not a bug, A part of the Session Id is intentionally hidden.
The mask (stars in the session id) is for security reasons so that there is an extended data protection in place.
Starts in API Session Id , KBA , LOD-SF-INT , Integrations , Problem