v4.0
Search...
/
Sign in
Book a demo
Docs
API Reference
Changelog
Docs
API Reference
Changelog
Introduction
SDKs
Errors
Humanloop API
Chats
STREAM
Chat
STREAM
Chat Deployed
STREAM
Chat Model Config
STREAM
Create Experiment Stream
Completions
STREAM
Create
STREAM
Completion Deployed
STREAM
Completion Model Config
STREAM
Create Experiment Stream
Datapoints
GET
Get
PATCH
Update
DEL
Delete
Projects
GET
List For Project
GET
List For Project
GET
List
POST
Create
GET
Get
DEL
Delete
PATCH
Update
GET
List Configs
POST
Create Feedback Type
PATCH
Update Feedback Types
POST
Export
Active Config
GET
Get Active Config
DEL
Deactivate Config
Deployed Config
GET
List Deployed Configs
PATCH
Deploy Config
DEL
Delete Deployed Config
Datasets
POST
Create
GET
List
GET
Get
DEL
Delete
PATCH
Update
GET
Datapoints
POST
Create Datapoint
Evaluations
GET
Get
GET
List Datapoints
POST
Create
POST
Log
POST
Result
PATCH
Update Status
PATCH
Add Evaluators
GET
Get Evaluations
Evaluators
GET
List
POST
Create
GET
Get
DEL
Delete
PATCH
Update
Feedback
POST
Feedback
Logs
GET
List
POST
Log
DEL
Delete
PATCH
Update By Reference
GET
Get
PATCH
Update
Model Configs
POST
Register
GET
Get
POST
Export by ID
POST
Serialize
POST
Deserialize
Sessions
GET
List
POST
Create
GET
Get
Sign in
Book a demo
Humanloop API
Completions
Create Experiment Stream
Batch
Stream
POST
https://
api.humanloop.com
/
v4
/
completion-experiment
Response
This endpoint returns a stream of object
data
list of objects
Array containing the generation responses.
Show 8 properties
provider_responses
list of any
The raw responses returned by the model provider.
project_id
string
Optional
Unique identifier of the parent project. Will not be provided if the request was made without providing a project name or id
num_samples
integer
Optional
Defaults to
1
How many completions to make for each set of inputs.
logprobs
integer
Optional
Include the log probabilities of the top n tokens in the provider_response
suffix
string
Optional
The suffix that comes after a completion of inserted text. Useful for completions that act like inserts.
user
string
Optional
End-user ID passed through to provider call.
usage
object
Optional
Counts of the number of tokens used and related stats.
Show 3 properties
metadata
map from strings to any
Optional
Any additional metadata to record.
provider_request
map from strings to any
Optional
The raw request sent to the model provider.
session_id
string
Optional
ID of the session if it belongs to one.
Built with