Skip to main content
POST
Update stored chat completion metadata

Path Parameters

completion_id
string
required

Body

application/json
metadata
object
required

Response

Updated chat completion

Response schema for the chat completions endpoint.

id
string
required

Unique identifier for this chat completion.

object
string
default:chat.completion
required

Type of the returned object; defaults to 'chat.completion'.

created
integer
required

Unix timestamp (seconds) of creation.

model
string
required

Model identifier used to generate the chat response.

choices
object[]
required

List of chat choices returned by the model.

usage
object
required

Token usage details for the chat completion.