API endpoint:
https://ia.mlkmedia.fr/api/v1/messages
Request example:
curl --location --request GET 'https://ia.mlkmedia.fr/api/v1/messages' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
message
for Message. Defaults to: message
.chat_id
role
user
for User, assistant
for Assistant.sort_by
id
for Date created. Defaults to: id
.sort
desc
for Descending, asc
for Ascending. Defaults to: desc
.per_page
10
, 25
, 50
, 100
. Defaults to: 10
.API endpoint:
https://ia.mlkmedia.fr/api/v1/messages
Request example:
curl --location --request POST 'https://ia.mlkmedia.fr/api/v1/messages' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}' \ --data-urlencode 'description={description}'
name
chat_id
role
user
for User, assistant
for Assistant.