https://api.evagpt.com.br
List of APIs that manage the Agent.
Returns a list of all created agents.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
1
Returns the agent's presentation message.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
botId
Agent ID.
1
List of APIs that manage Agent conversations.
List all conversations across all agents.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
1
List all messages in a conversation.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
idConversation
ID Conversation
1
Create a new conversation.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
botId
Agent ID.
Payload to create a meta tags.
meta
1
{
"meta": {}
}
Update conversation metadata.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
convId
Conversation ID.
Payload to create a meta tags.
Unnamed Property
1
{}
Immediately return each generated block (token) of the response from the agent.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
Content-Type
Content type of the request body. Use application/json
idConversation
Conversation ID.
Payload required to chat with an agent.
text
1
{
"text": "Hello, can you help me?"
}
Returns the response generated by the agent, only when it is complete.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
Content-Type
Content type of the request body. Use application/json
idConversation
Conversation ID.
Payload required to chat with an agent.
text
1
{
"text": "Lorem"
}
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
idmessage
ID gerado por cada interação do agente
0 Negativo, 1 Positivo e 2 Neutro
feedback
1
{
"feedback": 1
}
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
idconv
ID da conversa
1 Muito Ruim, 2 Ruim, 3 Neutro, 4 Bom, 5 Muito Bom
nota
1
{
"nota": 5
}
List of APIs that manage Agent dataset.
GET | /dataset |
Returns the list of datasets
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
1
List of APIs that manage Agent dataset records.
Create a new record in the selected dataset.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
datasetid
Dataset ID.
Payload required to create a record.
name
topic
text
1
{
"name": "sunt",
"topic": "labore",
"text": "velit in est nulla fugiat"
}
List all records available in the selected dataset.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
datasetid
Dataset ID.
1
Delete a specific record from the dataset.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
datasetid
Dataset ID.
recordid
Record ID.
1
List of APIs that manage Agent dataset files.
Create multiple records using the data from a file.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
datasetid
Dataset ID.
the following fields are of type 'multipart/form-data'
name
description
file
1
List all files in the selected dataset.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
datasetid
Dataset ID.
1
Delete the selected file and all records linked to it.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
fileid
File ID.
1
List of APIs that manage Agent skillsets abilities.
Create abilities that allow the agent to interact with other systems through a REST API.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
botid
Bot ID.
Payload required to create an ability. For more information on how to create a new ability, visit the EVAGPT Documentation
name
description
instruction
meta
1
{
"name": "Previsão do tempo",
"description": "Use this ability when the user asks about weather forecast. ",
"instruction": "To get the weather forecast you need to perform the following request:\n\n```fetch\nGET https://wttr.in/{location}?format=4 HTTP/1.1\nUser-Agent: curl/7.61.1\n```\nThe {location} parameter could be any city. For example:\n\n```fetch\nGET https://wttr.in/London?format=4 HTTP/1.1\nUser-Agent: curl/7.61.1\n```",
"meta": {}
}