Skip to main content
GET
/
api
/
gen-ai
/
beta
/
default-endpoint-environment
Get the default environment for Gen AI endpoints
curl --request GET \
  --url https://api.example.com/api/gen-ai/beta/default-endpoint-environment \
  --header 'X-Domino-Api-Key: <api-key>'
{
  "id": "62313ce67a0af0281c01a6a5",
  "name": "My Environment",
  "revisionId": "62313ce67a0af0281c01a6a5"
}

Authorizations

X-Domino-Api-Key
string
header
required

Response

The default environment for Gen AI endpoints

id
string
required

Unique identifier for the environment

Example:

"62313ce67a0af0281c01a6a5"

name
string
required

Name of the environment

Example:

"My Environment"

revisionId
string

The ID of the environment revision used to run the endpoint

Example:

"62313ce67a0af0281c01a6a5"