Proxies para o ECP para listar os sistemas em um espaço de trabalho com paginação baseada em cursor e filtro de status opcional. O escopo do projeto é realizado pelo parâmetro route id path e a organização é derivada desse projeto.
parâmetros de query
-
Cursor de paginação opaco
-
Tamanho da página (1-100, padrão 20)
-
Filtro de status da implantação (em fila, in_progress, limpeza_up, bem-sucedida, falha, roll_back, cancelada)
-
Retorne as implantações enviadas nesta versão: seus próprios sistemas de artefatos, além das implantações que não são de versão que foram lançadas antes de seu corte. Rollbacks estão excluídos.
Respostas
-
Versão de API não permitida ou malformada, uma operação indisponível no contrato publicado selecionado ou uma representação inaceitável (incluindo parâmetros de tipo de mídia não suportados ou SSE excluído). Falhas existentes de autenticação, autorização e limite de taxa têm precedência.
-
OK
-
Solicitação inválida
-
Proibido
-
Gateway incorreto
curl \
--request GET 'https://agentengine.mongodb.com/api/v1/projects/{id}/workspaces/{workspace_id}/deployments' \
--header "Authorization: $API_KEY"
{
"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"
}
{
"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"
}
{
"deployments": [
{
"aer_http_endpoint": "string",
"agent_http_endpoint": "string",
"agent_stack_name": "string",
"app_id": "string",
"branch": "string",
"build_id": "string",
"commit_sha": "string",
"completed_at": "string",
"component_images": {
"aer": "string",
"agent": "string",
"memory_server": "string",
"oe": "string",
"tool": "string"
},
"components": [
{
"available": true,
"failure_message": "string",
"failure_reason": "string",
"name": "string",
"ready_replicas": 42,
"replicas": 42,
"sandbox": "string",
"type": "string"
}
],
"conditions": [
{
"last_transition_time": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"created_at": "string",
"deployment_id": "string",
"duration_ms": 42,
"error_message": "string",
"executor_type": "string",
"first_deploy": true,
"health": {
"available": true,
"checked_at": "string",
"components": [
{
"name": "string",
"ready": true,
"ready_replicas": 42,
"sandbox": "string"
}
]
},
"image_uri": "string",
"language": "string",
"last_event_seq": 42,
"memory_enabled": true,
"missing_secrets": [
"string"
],
"operator_namespace": "string",
"org_id": "string",
"post_deploy_error_message": "string",
"previous_image_uri": "string",
"project_deleted": true,
"project_id": "string",
"release_number": 42,
"requested_images": [
{
"component": "string",
"digest": "string",
"sandbox": "string"
}
],
"requested_target_id": "string",
"rollback_error": "string",
"rollback_from_id": "string",
"rollback_of": "string",
"shipped_in_release": "string",
"source_build_id": "string",
"source_project_id": "string",
"source_promotion_id": "string",
"source_workspace_id": "string",
"started_at": "string",
"status": "string",
"target_namespace": "string",
"trigger": "string",
"updated_at": "string",
"version": "string"
}
],
"limit": 42,
"next_cursor": "string",
"offset": 42,
"total": 42
}
{
"deployments": [
{
"aer_http_endpoint": "string",
"agent_http_endpoint": "string",
"agent_stack_name": "string",
"app_id": "string",
"branch": "string",
"build_id": "string",
"commit_sha": "string",
"completed_at": "string",
"component_images": {
"aer": "string",
"agent": "string",
"memory_server": "string",
"oe": "string",
"tool": "string"
},
"components": [
{
"available": true,
"failure_message": "string",
"failure_reason": "string",
"name": "string",
"ready_replicas": 42,
"replicas": 42,
"sandbox": "string",
"type": "string"
}
],
"conditions": [
{
"last_transition_time": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"created_at": "string",
"deployment_id": "string",
"duration_ms": 42,
"error_message": "string",
"executor_type": "string",
"first_deploy": true,
"health": {
"available": true,
"checked_at": "string",
"components": [
{
"name": "string",
"ready": true,
"ready_replicas": 42,
"sandbox": "string"
}
]
},
"image_uri": "string",
"language": "string",
"last_event_seq": 42,
"memory_enabled": true,
"missing_secrets": [
"string"
],
"operator_namespace": "string",
"org_id": "string",
"post_deploy_error_message": "string",
"previous_image_uri": "string",
"project_deleted": true,
"project_id": "string",
"release_number": 42,
"requested_images": [
{
"component": "string",
"digest": "string",
"sandbox": "string"
}
],
"requested_target_id": "string",
"rollback_error": "string",
"rollback_from_id": "string",
"rollback_of": "string",
"shipped_in_release": "string",
"source_build_id": "string",
"source_project_id": "string",
"source_promotion_id": "string",
"source_workspace_id": "string",
"started_at": "string",
"status": "string",
"target_namespace": "string",
"trigger": "string",
"updated_at": "string",
"version": "string"
}
],
"limit": 42,
"next_cursor": "string",
"offset": 42,
"total": 42
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}