Pular para o conteúdo principal
POST
Get one record

Descrição

Retorna um único registro de memória de um usuário pela sua key, identificado por userReferenceId e botId.

Endpoint

Parâmetros do corpo

userReferenceId
string
obrigatório
Identificador de referência externo do usuário.
botId
string
obrigatório
Identificador do bot associado à memória.
key
string
obrigatório
Chave do registro a obter.

Autenticação

Todas as requisições devem incluir o cabeçalho x-api-key com uma API key que tenha o scope memory:read.

Exemplo de solicitação

cURL

Respostas

Exemplo de resposta

Autorizações

x-api-key
string
header
obrigatório

API key del proyecto de Jelou

Corpo

application/json
userReferenceId
string
obrigatório

External reference identifier of the user.

botId
string
obrigatório

Identifier of the bot associated with the memory.

key
string
obrigatório

Key of the record to retrieve.

Resposta

Record retrieved successfully.

status
string
Exemplo:

"success"

message
string
Exemplo:

"Record retrieved successfully"

data
any

The stored value for the requested key. Any JSON type.