Create Evaluation Upload
Mint a single-use upload URL for an evaluation set. PUT the raw .ndjson bytes to upload_url with exactly the returned headers (no Authorization); the URL accepts one PUT of exactly byte_size bytes, then expires. Files are at most 10,000 lines and 50 MB. The upload is bound to this collection, so a later Create Eval cannot point the same upload_id at a different one. Line format and limits are on the Evaluations guide.
Path parameters
collection_name
Request
This endpoint expects an object.
byte_size
Exact number of bytes the PUT will send. Enforced on PUT.
filename
Must end in .ndjson.
content_type
Allowed values:
Response
Upload minted. PUT the file to upload_url before expires_at.
byte_size
collection_name
expires_at
filename
headers
upload_id
upload_url
Signed, PUT-only, single-use URL on *.captainusercontent.com. Opaque.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error