tools
Log to a Tool
Log to a Tool.
You can use query parameters version_id, or environment, to target an existing version of the Tool. Otherwise the default deployed version will be chosen.
Instead of targeting an existing version explicitly, you can instead pass in Tool details in the request body. In this case, we will check if the details correspond to an existing version of the Tool, if not we will create a new version. This is helpful in the case where you are storing or deriving your Tool details in code.
post/tools/log
Request
- Base URL: https://api.humanloop.com/v5
- URL: https://api.humanloop.com/v5/tools/log
- Auth: API key in header X-API-KEY
Query parameters
version_idstring
A specific Version ID of the Tool to log to.
environmentstring
Name of the Environment identifying a deployed version to log to.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.