For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sign inBook a demo
DocsReferenceChangelog
DocsReferenceChangelog
  • Introduction
    • SDKs
    • Errors
  • Humanloop API
      • GETList
      • POSTLog
      • DELDelete
      • PATCHUpdate By Reference
      • GETGet
      • PATCHUpdate
LogoLogo
Sign inBook a demo
Humanloop APILogs

Log

POST
https://api.humanloop.com/v4/logs
POST
/v4/logs
$curl -X POST https://api.humanloop.com/v4/logs \
> -H "X-API-KEY: <apiKey>" \
> -H "Content-Type: application/json" \
> -d '[
> {}
>]'
1[
2 {
3 "id": "id",
4 "project_id": "project_id",
5 "session_id": "session_id"
6 }
7]
Log a datapoint or array of datapoints to your Humanloop project.
Was this page helpful?
Previous

Delete

Next
Built with

Authentication

X-API-KEYstring
API Key authentication via header

Request

This endpoint expects a list of objects or an object.
list of objectsRequired
OR
objectRequired

Response

Successful Response
list of objects
OR
object

Errors

422
Logs Log Request Unprocessable Entity Error