- Prompts
- POSTLog to a Prompt
- PATCHUpdate Prompt Log
- GETList Prompts
- POSTUpsert Prompt
- GETGet Prompt
- DELDelete Prompt
- PATCHMove Prompt
- POSTPopulate Prompt template
- GETList Versions of a Prompt
- POSTCommit a Prompt Version
- DELDelete Prompt Version
- POSTDeploy Prompt
- DELRemove Deployment
- GETList a Prompt's Environments
- POSTUpdate Monitoring
- Tools
- Datasets
- Evaluators
- POSTSubmit Evaluator Judgment
- GETList Evaluators
- POSTUpsert Evaluator
- GETGet Evaluator
- DELDelete Evaluator
- PATCHMove Evaluator
- GETList Versions of an Evaluator
- POSTCommit an Evaluator Version
- DELDelete Evaluator Version
- POSTDeploy Evaluator
- DELRemove Deployment
- GETList an Evaluator's Environments
- POSTUpdate Monitoring
- Flows
- Directories
- Files
- Evaluations
- Logs
Request
$ curl -X POST https://api.humanloop.com/v5/datasets \ > -H "X-API-KEY: " \ > -H "Content-Type: application/json" \ > -d '{ > "datapoints": [ > { > "inputs": { > "question": "What is the capital of France?" > }, > "target": { > "answer": "Paris" > } > }, > { > "inputs": { > "question": "Who wrote Hamlet?" > }, > "target": { > "answer": "William Shakespeare" > } > } > ], > "path": "test-questions", > "action": "set", > "commit_message": "Add two new questions and answers" > }'
Response