Completions

Update a chat completion

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/chat/completions/{completion_id}

Request

  • Base URL
    https://api.munito.ai/inference/v1
  • URL
    https://api.munito.ai/inference/v1/chat/completions/{completion_id}
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

completion_idstring required

The completion id to update.

Request body

metadataobject required

Up to 16 string pairs, or null. A key has at most 64 characters, and a value at most 512 characters.

Response

The chat completion object with the new metadata.

Changes

No recorded changes to this operation across all 1 revision of this API.