This API is in preview. Breaking changes might be introduced before it is released. Don't use preview APIs in production.
Returns the details for one Atlas Ephemeral cluster.
To learn more about Ephemeral clusters, see Create an Atlas Ephemeral Cluster in the MongoDB Atlas documentation.
GET
/api/atlas/v2/unauth/ephemeralClusters/{clusterId}
Atlas CLI
atlas api ephemeralClusters getEphemeralCluster --help
curl --include \
--header "Accept: application/vnd.atlas.preview+json" \
-X GET "https://cloud.mongodb.com/api/atlas/v2/unauth/ephemeralClusters/{clusterId}?pretty=true"
Response examples (200)
# Headers
# Payload
{
"claimUrl": "https://example.com",
"clusterId": "string",
"connectionString": "string",
"expiresAt": "2026-05-04T09:42:00Z",
"status": "PROVISIONING",
"termsOfService": "string"
}
Response examples (400)
{
"detail": "(This is just an example, the exception may not be related to this endpoint) No provider AWS exists.",
"error": 400,
"errorCode": "VALIDATION_ERROR",
"reason": "Bad Request"
}
Response examples (404)
{
"detail": "(This is just an example, the exception may not be related to this endpoint) Cannot find resource AWS",
"error": 404,
"errorCode": "RESOURCE_NOT_FOUND",
"reason": "Not Found"
}
Response examples (429)
{
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"error": 429,
"errorCode": "RATE_LIMITED",
"reason": "Too Many Requests"
}
Response examples (500)
{
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"error": 500,
"errorCode": "UNEXPECTED_ERROR",
"reason": "Internal Server Error"
}