Headers
-
X-API-Version
string Default value is
2025-03-25
.
Path parameters
-
replicaUUID
string(uuid) Required The UUID of the Replica
GET
/v1/replicas/{replicaUUID}
curl \
--request GET 'https://api.sensay.io/v1/replicas/03db5651-cb61-4bdf-9ef0-89561f7c9c53' \
--header "X-ORGANIZATION-SECRET: $API_KEY" \
--header "X-API-Version: 2025-03-25"
Response examples (200)
{
"name": "Example replica",
"shortDescription": "An example replica",
"greeting": "What would you like to know?",
"type": "character",
"ownerID": "a-user-id",
"private": false,
"whitelistEmails": [
"user@domain.example"
],
"slug": "example-replica",
"tags": [
"male",
"italian"
],
"profileImage": "https://images.invalid/photo.jpeg",
"suggestedQuestions": [
"What is the meaning of life?"
],
"llm": {
"model": "gpt-4o",
"memoryMode": "rag-search",
"systemMessage": "Concise, knowledgeable, empathetic and cheerful.",
"tools": [
"answerToLife"
]
},
"uuid": "4830597b-f3be-42b4-9587-fa15299ccd63"
}
Response examples (400)
{
"success": true,
"error": "string",
"fingerprint": "14fceadd84e74ec499afe9b0f7952d6b",
"request_id": "xyz1::reg1:reg1::ab3c4-1234567890123-0123456789ab"
}
Response examples (401)
{
"success": true,
"error": "string",
"fingerprint": "14fceadd84e74ec499afe9b0f7952d6b",
"request_id": "xyz1::reg1:reg1::ab3c4-1234567890123-0123456789ab"
}
Response examples (404)
{
"success": true,
"error": "string",
"request_id": "xyz1::reg1:reg1::ab3c4-1234567890123-0123456789ab"
}
Response examples (415)
{
"success": true,
"error": "string",
"fingerprint": "14fceadd84e74ec499afe9b0f7952d6b",
"request_id": "xyz1::reg1:reg1::ab3c4-1234567890123-0123456789ab"
}
Response examples (500)
{
"success": true,
"error": "string",
"fingerprint": "14fceadd84e74ec499afe9b0f7952d6b",
"request_id": "xyz1::reg1:reg1::ab3c4-1234567890123-0123456789ab",
"inner_exception": {
"name": "Server overheated",
"cause": "Request too complicated",
"stack": "Error: Server overheated due to an unexpected situation\n at Object.eval (eval at <anonymous>...",
"message": "The server overheated due to an unexpected situation"
}
}