List API keys
curl --request GET \
--url https://api.memcontext.in/api/api-keys \
--cookie better-auth.session_token=const options = {method: 'GET', headers: {cookie: 'better-auth.session_token='}};
fetch('https://api.memcontext.in/api/api-keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.memcontext.in/api/api-keys"
headers = {"cookie": "better-auth.session_token="}
response = requests.get(url, headers=headers)
print(response.text){
"keys": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "<string>",
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"keyPrefix": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"workspaceName": "<string>",
"lastUsedAt": "2023-11-07T05:31:56Z"
}
]
}API Keys
List API keys
GET
https://api.memcontext.in
/
api
/
api-keys
List API keys
curl --request GET \
--url https://api.memcontext.in/api/api-keys \
--cookie better-auth.session_token=const options = {method: 'GET', headers: {cookie: 'better-auth.session_token='}};
fetch('https://api.memcontext.in/api/api-keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.memcontext.in/api/api-keys"
headers = {"cookie": "better-auth.session_token="}
response = requests.get(url, headers=headers)
print(response.text){
"keys": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "<string>",
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"keyPrefix": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"workspaceName": "<string>",
"lastUsedAt": "2023-11-07T05:31:56Z"
}
]
}Authorizations
Dashboard session cookie used for workspace/company endpoints.
Response
200 - application/json
Workspace-bound API keys owned by the signed-in user.
⌘I
