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>",
"metadata": {},
"metrics": {}
}
]
}
'{
"success": true
}Batch push logs
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>",
"metadata": {},
"metrics": {}
}
]
}
'{
"success": true
}API key for authentication
Successfully logged message
Success status
Was this page helpful?