API structure has changed
12 structure changes including:
6 Breaking changes
1 Addition
5 Modifications
6 Removals
Modified
5
Breaking
GET /v1/models
- Response
-
200 response Modified
-
application/json content type Modified
-
Type went from
object
toarray[object]
Breaking
-
message, models properties Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
- ModelInfo property Added
-
Type went from
-
application/json content type Modified
-
500 response Modified
-
application/json content type Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
-
application/json content type Removed
POST /v1/audio/speech
- Body
-
application/json content type Modified
-
voice property Modified
-
Property is now required Breaking
-
Property is now required
-
text property Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
- input, response_format, speed properties Added
-
voice property Modified
- Response
-
200 response Modified
-
application/json content type Modified
-
object, model, audio_url properties Modified
- Properties are no longer required
-
created property Modified
- Property is no longer required
-
Type went from
string(date-time)
tonumber
Breaking
-
remaining_credits property Modified
- Property is no longer required
-
Type went from
integer
tonumber
Breaking
-
object, model, audio_url properties Modified
-
application/json content type Modified
-
400 response Modified
-
application/json content type Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
-
application/json content type Removed
-
401, 429 responses Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
- 402, 500 responses Added
POST /v1/chat/completions
- Body
-
application/json content type Modified
-
temperature property Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
-
temperature property Removed
- Response
-
200 response Modified
-
application/json content type Modified
-
created property Modified
-
Type went from
integer
tonumber
Breaking
-
Type went from
-
usage property Modified
-
prompt_tokens, completion_tokens, total_tokens properties Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
-
prompt_tokens, completion_tokens, total_tokens properties Removed
-
created property Modified
- text/event-stream content type Added
-
application/json content type Modified
-
400 response Modified
-
application/json content type Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
-
application/json content type Removed
-
401, 429 responses Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
- 402, 500 responses Added
- Query
- stream query parameter Added
POST /v1/embeddings
- Body
-
application/json content type Modified
-
input property Modified
-
Combinator is now
oneOf
-
input alternative Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
- string-1, array-2 alternatives Added
-
Combinator is now
- encoding_format property Added
-
input property Modified
- Response
-
200 response Modified
-
application/json content type Modified
-
object, data, model, usage properties Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
- embedding, remaining_credits properties Added
-
object, data, model, usage properties Removed
-
application/json content type Modified
-
400 response Modified
-
application/json content type Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
-
application/json content type Removed
-
401, 429 responses Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
- 402, 500 responses Added
POST /v1/images/generations
- Body
-
application/json content type Modified
- n, quality, response_format, style, user properties Added
- Response
-
200 response Modified
-
application/json content type Modified
-
created property Modified
- Property is no longer required
-
Type went from
string(date-time)
tonumber
Breaking
-
remaining_credits property Modified
- Property is no longer required
-
Type went from
integer
tonumber
Breaking
-
object, model, image_url properties Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
- data property Added
-
created property Modified
-
application/json content type Modified
-
400 response Modified
-
application/json content type Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
-
application/json content type Removed
-
401, 429 responses Removed
-
Removing a resource is always breaking unless it was deprecated before Breaking
-
Removing a resource is always breaking unless it was deprecated before
- 402, 500 responses Added
Removed
6
Breaking
GET /
- Removing a resource is always breaking unless it was deprecated before Breaking
GET /health
- Removing a resource is always breaking unless it was deprecated before Breaking
GET /utils/facts
- Removing a resource is always breaking unless it was deprecated before Breaking
GET /v1/chat/cors-test
- Removing a resource is always breaking unless it was deprecated before Breaking
GET /v1/statistic/global
- Removing a resource is always breaking unless it was deprecated before Breaking
GET /v1/statistic/key
- Removing a resource is always breaking unless it was deprecated before Breaking
Added
1
GET /v1/neko