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.
POST
header
AuthorizationBearer <token>Your Munito API key.
completion_id*stringThe completion id to update.
application/json- body
metadata*Up to 16 string pairs, or null. A key has at most 64 characters, and a value at most 512 characters.
The chat completion object with the new metadata.
curl -X POST 'https://api.munito.ai/inference/v1/chat/completions/string' \
-H 'Content-Type: application/json' \
-d '{
"metadata": {
"team": "research"
}
}'Example Response
Empty
Retrieve a chat completion GET
Returns a completion that was created with store: true or with Prefer: respond-async. A background completion answers 202 until it finishes.
List chat completion messages GET
Lists the request messages of a completion that was created with store: true, in the order of the request by default.