List safe workspace API key metadata
curl --request GET \
--url https://api.refmatter.com/v1/workspaces/{workspaceId}/api-keys \
--cookie social_session=const options = {method: 'GET', headers: {cookie: 'social_session='}};
fetch('https://api.refmatter.com/v1/workspaces/{workspaceId}/api-keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.refmatter.com/v1/workspaces/{workspaceId}/api-keys"
headers = {"cookie": "social_session="}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"name": "<string>",
"prefix": "<string>",
"scopes": [
"references:read"
],
"createdAt": "<string>",
"expiresAt": "<string>",
"revokedAt": "<string>",
"lastUsedAt": "<string>"
}
]
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}workspaces
List safe workspace API key metadata
GET
/
v1
/
workspaces
/
{workspaceId}
/
api-keys
List safe workspace API key metadata
curl --request GET \
--url https://api.refmatter.com/v1/workspaces/{workspaceId}/api-keys \
--cookie social_session=const options = {method: 'GET', headers: {cookie: 'social_session='}};
fetch('https://api.refmatter.com/v1/workspaces/{workspaceId}/api-keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.refmatter.com/v1/workspaces/{workspaceId}/api-keys"
headers = {"cookie": "social_session="}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"name": "<string>",
"prefix": "<string>",
"scopes": [
"references:read"
],
"createdAt": "<string>",
"expiresAt": "<string>",
"revokedAt": "<string>",
"lastUsedAt": "<string>"
}
]
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "invalid_input",
"message": "<string>",
"retryable": true,
"requestId": "<string>",
"details": {}
}
}