Update a chat completion
POST /chat/completions/{completion_id}
Replaces the metadata of a completion that was created with store: true. Metadata is the only field you can change. Send null to clear it.
AuthorizationBearer <token>
Your Munito API key.
In: header
Path Parameters
completion_id*string
The completion id to update.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
metadata*
Up to 16 string pairs, or null. A key has at most 64 characters, and a value at most 512 characters.
Response Body
curl -X POST "https://example.com/chat/completions/string" \
-H "Content-Type: application/json" \
-d '{
"metadata": {
"team": "research"
}
}'Empty