List models
GEThttps:/api.openai.com/v1/models
Lists the currently available models, and provides basic information about each one such as the owner and availability.
Response
A list of model objects.
Example request
1 curl https://api.openai.com/v1/models \2 -H "Authorization: Bearer $OPENAI_API_KEY"
Example response
1 {2 "object": "list",3 "data": [4 {5 "id": "model-id-0",6 "object": "model",7 "created": 1686935002,8 "owned_by": "organization-owner"9 },10 {11 "id": "model-id-1",12 "object": "model",13 "created": 1686935002,14 "owned_by": "organization-owner",15 },16 {17 "id": "model-id-2",18 "object": "model",19 "created": 1686935002,20 "owned_by": "openai"21 },22 ],23 "object": "list"24 }
Built with