Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change ping endpoint for validating api key #1956

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

deshraj
Copy link
Collaborator

@deshraj deshraj commented Oct 12, 2024

Description

Current endpoint creates a GET_ALL event in the Mem0 Platform. Hence, changing the route to ping endpoint so that it just validates the API key and doesn't do anything else.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Tested manually and works fine.

import requests
r = requests.get("https://api.mem0.ai/v1/ping/", headers={"Authorization": "Token m0-xxx"})
r.raise_for_status()

@deshraj deshraj merged commit b59fbb0 into main Oct 12, 2024
5 checks passed
@deshraj deshraj deleted the user/dyadav/change-ping-endpoint branch October 12, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant