Llm
Body
activityTypestring · enumRequiredPossible values:
activityIdintegerRequired
sourceLanguagestringOptional
desiredLanguagestringRequired
Responses
200
Successful response
application/json
400
Invalid input data
application/json
500
Internal server error
application/json
post
POST /api/v2/llm/translate HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 88
{
"activityType": "reply",
"activityId": 1,
"sourceLanguage": "text",
"desiredLanguage": "text"
}
{
"translatedContent": "text",
"translatedDescription": "text",
"translatedLanguage": "unknown",
"detectedLanguage": "unknown",
"error": "text"
}
Authorizations
Body
titlestringRequired
descriptionstringOptional
Responses
200
Successful response
application/json
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
500
Internal server error
application/json
post
POST /api/v2/llm/quality HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"title": "text",
"description": "text"
}
{
"score": 1,
"error": "text"
}