Chat

List all chat completions

Changed on

List all chat completions with optional filtering

get/chat/completions

Request

  • Base URL
    https://api.cloudglue.dev/v1
  • Auth
    HTTP bearer

Query parameters

limitinteger

Maximum number of chat completions to return

offsetinteger

Number of chat completions to skip

created_beforestring date

Filter chat completions created before a specific date (YYYY-MM-DD format), in UTC timezone

created_afterstring date

Filter chat completions created after a specific date (YYYY-MM-DD format), in UTC timezone

Response

A list of chat completions

object'list' required

Object type, always 'list'

totalinteger required

The total number of items

limitinteger required

The number of items per page

offsetinteger required

The offset of the items

Changes

    • info

      added the optional property //// to the response with the status

    • breaking

      for the query request parameter limit, default value 20 was removed

    • breaking

      for the query request parameter offset, default value 0 was removed

    • info

      the response's property default value file was removed for the status

    • info

      the response's property default value file was removed for the status