curl --request POST \
--url https://api.getmaxim.ai/v1/logs/batch \
--header 'Content-Type: application/json' \
--header 'x-maxim-api-key: <api-key>' \
--data '
{
"repoId": "<string>",
"logs": [
{
"id": "<string>",
"type": "trace",
"name": "<string>",
"sessionId": "<string>",
"tags": {},
"input": "<string>",
"output": "<string>",
"feedback": {
"score": 123,
"comment": "<string>"
},
"metadata": {},
"metrics": {},
"evaluate": {
"evaluators": [
"<string>"
],
"variables": {}
},
"attachment": {
"attachmentId": "<string>",
"url": "<string>",
"tags": {},
"metadata": {}
}
}
]
}
'