Submit Completion Actuals

GA
POST

Used to submit feedback regarding the quality of previously generated completions.

Note: Uses a base url of https://predict.vellum.ai.

Request

This endpoint expects an object.
actuals
list of objectsRequired
Feedback regarding the quality of previously generated completions
deployment_id
stringOptional

The ID of the deployment. Must provide either this or deployment_name.

deployment_name
stringOptional

The name of the deployment. Must provide either this or deployment_id.

POST
1curl -X POST https://predict.vellum.ai/v1/submit-completion-actuals \
2 -H "X_API_KEY: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "actuals": [
6 {}
7 ]
8}'