The Cosmos API expects a Bearer token

'Authorization': 'Bearer <token>'

API Tokens

API tokens can be created by signing up or logging into the Cosmos dashboard and creating an API token.