# Create Agent Private Cloud (APC)

**Payload Example**

```python
apc_create_payload = {
    "groc_account_id": "your_account_id",
    "apc_name": "New APC 3",  # Use a unique name
    "apc_category": "private",
    "apc_description": "A new APC for testing",
    "status": "active",
    "apc_tags": "test,apc",
    "gateway_agent_uuid": register_payload["agent_uuid"],  # Use the agent_uuid from the registration payload
    "agentwall_id": "agentwall_123",
    "signing_public_key": "your_signing_public_key",
    "encr_public_key": "your_encr_public_key"
}
```

Example Code

```python
# Create an APC
apc_create_payload = {
    "groc_account_id": "your_account_id",
    "apc_name": "New APC 3",  # Use a unique name
    "apc_category": "private",
    "apc_description": "A new APC for testing",
    "status": "active",
    "apc_tags": "test,apc",
    "gateway_agent_uuid": register_payload["agent_uuid"],  # Use the agent_uuid from the registration payload
    "agentwall_id": "agentwall_123",
    "signing_public_key": "your_signing_public_key",
    "encr_public_key": "your_encr_public_key"
}
apc_create_response = agent.apc_create(apc_create_payload)
print("APC Creation Response:", apc_create_response)
```

Example Response

```python
Agent APC created: {'apc_id': '0a2c8913-88fc-4441-ac7e-ac726d5b8779', 'message': 'APC created successfully!'}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.groclake.ai/lakes/agent-management-and-deployment/agentlake/create-agent-private-cloud-apc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
