Create a new endpoint
AIGateway
Create a new endpoint
Create a new a endpoint
POST
Create a new endpoint
Authorizations
Body
application/json
Details of the new endpoint to create
Valid name of the endpoint
Example:
"completions"
Type of the endpoint
Example:
"llm/v1/completions"
Configuration for the model
Name of the model
Example:
"gpt-4"
Provider of the model
Example:
"openai"
Response
Success
ISO 8601 formatted time of when the Endpoint was created
Example:
"2022-04-23T18:25:43.511Z"
ID of the endpoint
Example:
"62604702b7e5d347dbe7a909"
Valid name of the endpoint
Example:
"completions"
Type of the endpoint
Example:
"llm/v1/completions"
Configuration for the model
Name of the model
Example:
"gpt-4"
Provider of the model
Example:
"openai"