시간 제한이 있는 창을 엽니다. 이 기간 동안 플랫폼 지원(PLATFORM_DATA_VIEWER)이 이 작업 공간의 데이터 플레인을 읽을 수 있습니다. 경로 프로젝트의 PROJECT_OWNER 또는 해당 프로젝트의 조직에 대한 ORG_ADMIN이(가) 필요합니다. duration_hours는 선택 사항입니다(24시간 기본값의 경우 생략). 제공되는 경우 1–168 (7일)여야 합니다. 그렇지 않으면 400와 함께 요청이 거부됩니다. 재부여는 현재 창을 대체합니다. Atlas managed 프로젝트에서 사용 가능합니다.
게시 /api/v1/프로젝트/{id}/워크스페이스/{workspace_id}/지원 액세스
curl \
--request POST 'https://agentengine.mongodb.com/api/v1/projects/{id}/workspaces/{workspace_id}/support-access' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"duration_hours": 42
}'
요청 예시
{
"duration_hours": 42
}
응답 예시(406)
작업을 사용할 수 없습니다.
{
"detail": "This operation is not available in API version 2026-09-20-preview.",
"error": 406,
"errorCode": "OPERATION_NOT_IN_API_VERSION",
"parameters": [
"Accept"
],
"reason": "Not Acceptable"
}
{
"detail": "This operation supports text/event-stream, which the Accept header excludes. Remove unsupported media-type parameters or accept this type with a positive q value.",
"error": 406,
"errorCode": "UNACCEPTABLE_MEDIA_TYPE",
"parameters": [
"Accept"
],
"reason": "Not Acceptable"
}
{
"detail": "The requested API version is not supported. Supported versions: 2026-09-20-preview.",
"error": 406,
"errorCode": "UNSUPPORTED_API_VERSION",
"parameters": [
"Accept"
],
"reason": "Not Acceptable"
}
응답 예시(406)
{
"detail": "This operation is not available in API version 2026-09-20-preview.",
"error": 406,
"errorCode": "OPERATION_NOT_IN_API_VERSION",
"parameters": [
"Accept"
],
"reason": "Not Acceptable"
}
응답 예시(201)
{
"active": true,
"expires_at": "string",
"granted_at": "string",
"granted_by": "string"
}
응답 예시(201)
{
"active": true,
"expires_at": "string",
"granted_at": "string",
"granted_by": "string"
}
응답 예시(400)
{
"code": "string",
"error": "string",
"success": true
}
응답 예시(400)
{
"code": "string",
"error": "string",
"success": true
}
응답 예시(403)
{
"code": "string",
"error": "string",
"success": true
}
응답 예시(403)
{
"code": "string",
"error": "string",
"success": true
}
응답 예시(404)
{
"code": "string",
"error": "string",
"success": true
}
응답 예시(404)
{
"code": "string",
"error": "string",
"success": true
}
응답 예시(500)
{
"code": "string",
"error": "string",
"success": true
}
응답 예시(500)
{
"code": "string",
"error": "string",
"success": true
}