curl --request POST \
--url https://api.conteudo.rdstationmentoria.com.br/rest/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-4o-mini",
"system": "<string>",
"messages": [],
"frequencyPenalty": 0,
"logitBias": {},
"maxTokens": 1,
"n": 1,
"presencePenalty": 0,
"responseFormat": {
"type": "json_object"
},
"stop": [
"<string>"
],
"temperature": 1,
"topP": 0.5,
"toolChoice": {
"name": "<string>"
},
"tools": [
{
"name": "<string>",
"description": "<string>",
"parameters": {},
"strict": true
}
],
"kbs": true,
"web": false
}'
{
"completionId": "<string>",
"input": {
"model": "gpt-4o-mini",
"system": "<string>",
"messages": [],
"frequencyPenalty": 0,
"logitBias": {},
"maxTokens": 1,
"n": 1,
"presencePenalty": 0,
"responseFormat": {
"type": "json_object"
},
"stop": [
"<string>"
],
"temperature": 1,
"topP": 0.5,
"toolChoice": {
"name": "<string>"
},
"tools": [
{
"name": "<string>",
"description": "<string>",
"parameters": {},
"strict": true
}
],
"kbs": true,
"web": false
},
"output": {
"role": "assistant",
"content": "<string>",
"toolCall": {
"id": "<string>",
"name": "<string>",
"arguments": "<string>"
}
},
"userId": "<string>",
"workspaceId": "<string>",
"createdAt": 123,
"updatedAt": 123
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object
.
curl --request POST \
--url https://api.conteudo.rdstationmentoria.com.br/rest/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-4o-mini",
"system": "<string>",
"messages": [],
"frequencyPenalty": 0,
"logitBias": {},
"maxTokens": 1,
"n": 1,
"presencePenalty": 0,
"responseFormat": {
"type": "json_object"
},
"stop": [
"<string>"
],
"temperature": 1,
"topP": 0.5,
"toolChoice": {
"name": "<string>"
},
"tools": [
{
"name": "<string>",
"description": "<string>",
"parameters": {},
"strict": true
}
],
"kbs": true,
"web": false
}'
{
"completionId": "<string>",
"input": {
"model": "gpt-4o-mini",
"system": "<string>",
"messages": [],
"frequencyPenalty": 0,
"logitBias": {},
"maxTokens": 1,
"n": 1,
"presencePenalty": 0,
"responseFormat": {
"type": "json_object"
},
"stop": [
"<string>"
],
"temperature": 1,
"topP": 0.5,
"toolChoice": {
"name": "<string>"
},
"tools": [
{
"name": "<string>",
"description": "<string>",
"parameters": {},
"strict": true
}
],
"kbs": true,
"web": false
},
"output": {
"role": "assistant",
"content": "<string>",
"toolCall": {
"id": "<string>",
"name": "<string>",
"arguments": "<string>"
}
},
"userId": "<string>",
"workspaceId": "<string>",
"createdAt": 123,
"updatedAt": 123
}
curl --request POST \
--url https://api.conteudo.rdstationmentoria.com.br/rest/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-4o-mini",
"system": "<string>",
"messages": [],
"frequencyPenalty": 0,
"logitBias": {},
"maxTokens": 1,
"n": 1,
"presencePenalty": 0,
"responseFormat": {
"type": "json_object"
},
"stop": [
"<string>"
],
"temperature": 1,
"topP": 0.5,
"toolChoice": {
"name": "<string>"
},
"tools": [
{
"name": "<string>",
"description": "<string>",
"parameters": {},
"strict": true
}
],
"kbs": true,
"web": false
}'
{
"completionId": "<string>",
"input": {
"model": "gpt-4o-mini",
"system": "<string>",
"messages": [],
"frequencyPenalty": 0,
"logitBias": {},
"maxTokens": 1,
"n": 1,
"presencePenalty": 0,
"responseFormat": {
"type": "json_object"
},
"stop": [
"<string>"
],
"temperature": 1,
"topP": 0.5,
"toolChoice": {
"name": "<string>"
},
"tools": [
{
"name": "<string>",
"description": "<string>",
"parameters": {},
"strict": true
}
],
"kbs": true,
"web": false
},
"output": {
"role": "assistant",
"content": "<string>",
"toolCall": {
"id": "<string>",
"name": "<string>",
"arguments": "<string>"
}
},
"userId": "<string>",
"workspaceId": "<string>",
"createdAt": 123,
"updatedAt": 123
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object
.
curl --request POST \
--url https://api.conteudo.rdstationmentoria.com.br/rest/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-4o-mini",
"system": "<string>",
"messages": [],
"frequencyPenalty": 0,
"logitBias": {},
"maxTokens": 1,
"n": 1,
"presencePenalty": 0,
"responseFormat": {
"type": "json_object"
},
"stop": [
"<string>"
],
"temperature": 1,
"topP": 0.5,
"toolChoice": {
"name": "<string>"
},
"tools": [
{
"name": "<string>",
"description": "<string>",
"parameters": {},
"strict": true
}
],
"kbs": true,
"web": false
}'
{
"completionId": "<string>",
"input": {
"model": "gpt-4o-mini",
"system": "<string>",
"messages": [],
"frequencyPenalty": 0,
"logitBias": {},
"maxTokens": 1,
"n": 1,
"presencePenalty": 0,
"responseFormat": {
"type": "json_object"
},
"stop": [
"<string>"
],
"temperature": 1,
"topP": 0.5,
"toolChoice": {
"name": "<string>"
},
"tools": [
{
"name": "<string>",
"description": "<string>",
"parameters": {},
"strict": true
}
],
"kbs": true,
"web": false
},
"output": {
"role": "assistant",
"content": "<string>",
"toolCall": {
"id": "<string>",
"name": "<string>",
"arguments": "<string>"
}
},
"userId": "<string>",
"workspaceId": "<string>",
"createdAt": 123,
"updatedAt": 123
}