Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Request Code Samples
curl --location --request GET 'https://rai-api.returning.ai/api/v1/servers'
Responses
application/json {
"meta": {
"success": true,
"message": "My servers",
"devMessage": "My servers"
},
"body": [
{
"_id": "{_id}",
"name": "Dummy Server",
"image": "https://dummyimage.com/600x400/000/fff",
"owner": {
"id": "2"
},
"__v": 0,
"roles": [],
"categories": [],
"leaderboards": [],
"languageSettings": [],
"id": "{_id}"
}
]
}
Modified at 2025-05-22 11:44:32