Skip to main content
POST
/
api
/
v2
/
projects
/
{project_id}
/
completions
/
{completion_id}
Update Completion
curl --request POST \
  --url https://api.example.com/api/v2/projects/{project_id}/completions/{completion_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "new_messages": [
    {
      "content": "<string>",
      "role": "system"
    }
  ],
  "eval_results": {}
}
'
{
  "completion_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Path Parameters

project_id
string
required
completion_id
string
required

Body

application/json
new_messages
eval_results
Eval Results · object

Response

200 - application/json
completion_id
string<uuid>
required

The session entry ID