router

*[OpenAI Only]* Update a Chat Completion with some metadata. Only Chat Completions that have been stored with the `store` parameter set to true will be returned.

post/v1/chat/completions/{completion_id}

Request

  • Base URL
    https://docs.sudoapp.dev (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

completion_idstring required

ID of the chat completion

Request body

metadataobject required

The metadata key-value pairs to attach to the completion.

Response

Chat completion updated successfully

createdinteger required
idstring required
modelstring required
objectstring required
service_tierstring nullable
system_fingerprintstring nullable
metadataobject nullable

Developer-defined metadata attached to the completion.

Changes

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