---
title: Get a single application by id
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/python)

[Containers](https://developers.cloudflare.com/api/python/resources/containers)

[Applications](https://developers.cloudflare.com/api/python/resources/containers/subresources/applications)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Get a single application by id

containers.applications.get(strapplication\_id, ApplicationGetParams\*\*kwargs) -> [ApplicationGetResponse](<https://developers.cloudflare.com/api/python/resources/containers#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/containers/applications/{application\_id}

Returns a single application by id.

##### Security

<details>

<summary>API Token</summary>



The preferred authorization scheme for interacting with the Cloudflare API. <a href="https://developers.cloudflare.com/fundamentals/api/get-started/create-token/">Create a token</a>.

**Example:**<code>Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY</code>

</details>

<details>

<summary>API Email + API Key</summary>



The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

**Example:**<code>X-Auth-Email: user@example.com</code>

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

**Example:**<code>X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194</code>

</details>

##### Accepted Permissions (at least one required)

`Workers Containers Write``Workers Containers Read`

##### ParametersExpand Collapse

account\_id: str

[Link to this property](<#(resource)%20containers.applications%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20account_id%20%3E%20(schema)>)

application\_id: str

An Application ID represents an identifier of an application.

[Link to this property](<#(resource)%20containers.applications%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20application_id%20%3E%20(schema)>)

##### ReturnsExpand Collapse

<details>

<summary>

<a href="https://developers.cloudflare.com/api/python/resources/containers#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)">ApplicationGetResponse</a>

The public Containers API returns an application.

</summary>

One of the following:

<details>

<summary>

class CcScheduledApplication: …

Describes an application and the parameters that govern how it places its instances.

</summary>

id: str

An Application ID represents an identifier of an application.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20id">Link to this property</a>

account\_id: str

A unique identifier for the user’s account.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20account_id">Link to this property</a>

<details>

<summary>

configuration: CcScheduledApplicationConfiguration

User-specified container configuration.

</summary>

image: str

Image url.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20image">Link to this property</a>

<details>

<summary>

authorized\_keys: Optional\[List\[CcScheduledApplicationConfigurationAuthorizedKey]]

</summary>

public\_key: str

An SSH public key.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20authorized_keys%20%3E%20(items)%20%3E%20(property)%20public_key">Link to this property</a>

name: Optional\[str]

Optional human readable name for this key.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20authorized_keys%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20authorized_keys">Link to this property</a>

command: Optional\[List\[str]]

The command that runs when the container starts, passed to the entrypoint. You can override this at run-time. If you override only the command, it gets passed to the default entrypoint specified in the image.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20command">Link to this property</a>

entrypoint: Optional\[List\[str]]

The entry point for the container, specifying the executable to run when the container starts. You can override this at run-time. If you do, the default command from the image is ignored. Specify both entrypoint and command at run-time to completely replace the image defaults.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20entrypoint">Link to this property</a>

<details>

<summary>

environment\_variables: Optional\[List\[CcScheduledApplicationConfigurationEnvironmentVariable]]

Container environment variables.

</summary>

name: str

An environment variable name.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20environment_variables%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

value: str

An environment variable value.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20environment_variables%20%3E%20(items)%20%3E%20(property)%20value">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20environment_variables">Link to this property</a>

<details>

<summary>

instance\_type: Optional\[Literal\["lite", "basic", "standard-1", 3 more]]

The instance type configures vCPU, memory, and disk.

- “lite”: 1/16 vCPU, 256 MiB memory, 2 GB disk
- “basic”: 1/4 vCPU, 1 GiB memory, 4 GB disk
- “standard-1”: 1/2 vCPU, 4 GiB memory, 8 GB disk
- “standard-2”: 1 vCPU, 6 GiB memory, 12 GB disk
- “standard-3”: 2 vCPU, 8 GiB memory, 16 GB disk
- “standard-4”: 4 vCPU, 12 GiB memory, 20 GB disk

</summary>

One of the following:

"lite"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20instance_type%20%3E%20(member)%200">Link to this property</a>

"basic"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20instance_type%20%3E%20(member)%201">Link to this property</a>

"standard-1"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20instance_type%20%3E%20(member)%202">Link to this property</a>

"standard-2"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20instance_type%20%3E%20(member)%203">Link to this property</a>

"standard-3"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20instance_type%20%3E%20(member)%204">Link to this property</a>

"standard-4"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20instance_type%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20instance_type">Link to this property</a>

<details>

<summary>

observability: Optional\[CcScheduledApplicationConfigurationObservability]

Settings for deployment observability such as logging.

</summary>

<details>

<summary>

logs: Optional\[CcScheduledApplicationConfigurationObservabilityLogs]

Observability logging settings.

</summary>

enabled: Optional\[bool]

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20observability%20%3E%20(property)%20logs">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20observability">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration">Link to this property</a>

created\_at: str

UTC timestamp string in ISO 8601 format.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20created_at">Link to this property</a>

instances: int

Number of deployments to create.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20instances">Link to this property</a>

name: str

The application name.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

scheduling\_policy: Literal\["default", "durable\_object"]

The scheduling policy to use for an application.

</summary>

One of the following:

"default"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20scheduling_policy%20%3E%20(member)%200">Link to this property</a>

"durable\_object"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20scheduling_policy%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20scheduling_policy">Link to this property</a>

updated\_at: str

UTC timestamp string in ISO 8601 format.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20updated_at">Link to this property</a>

version: int

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20version">Link to this property</a>

active\_rollout\_id: Optional\[str]

An identifier for a specific rollout within an application.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20active_rollout_id">Link to this property</a>

<details>

<summary>

constraints: Optional\[CcScheduledApplicationConstraints]

</summary>

jurisdiction: Optional\[str]

Restricts placement to datacenters in the selected jurisdiction. Choose “eu”, “fedramp”, or “us”. When combined with regions, EU supports EEUR and WEUR while FedRAMP and US support ENAM and WNAM.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20constraints%20%3E%20(property)%20jurisdiction">Link to this property</a>

regions: Optional\[List\[str]]

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20constraints%20%3E%20(property)%20regions">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20constraints">Link to this property</a>

<details>

<summary>

durable\_objects: Optional\[CcScheduledApplicationDurableObjects]

Durable object configuration stored on and returned from a Cloudchamber application.

</summary>

namespace\_id: str

The namespace ID of the durable object namespace to use for this application.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20durable_objects%20%3E%20(property)%20namespace_id">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20durable_objects">Link to this property</a>

<details>

<summary>

health: Optional\[CcScheduledApplicationHealth]

</summary>

<details>

<summary>

errors: List\[CcScheduledApplicationHealthError]

</summary>

<details>

<summary>

event: CcScheduledApplicationHealthErrorEvent

An event within a Placement or a Job.

</summary>

id: str

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20id">Link to this property</a>

details: Dict\[str, object]

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20details">Link to this property</a>

message: str

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20message">Link to this property</a>

<details>

<summary>

name: Literal\["SchedulerPlaced", "NetworkingIPAssigned", "VMStarted", 14 more]

Name of the event that describes the kind event that happened.

- SchedulerPlaced: It’s the first event that creates a container placement. It happens when the Containers runtime was able to retrieve deployment resources and start verifying everything is correct.
- NetworkingIPAssigned: It’s sent when the Containers runtime maps the IP to the container.
- VMStarted: It’s sent when the Containers runtime starts the VM. The container might remain unhealthy at this point.
- ImagePulled: It’s sent when the Containers runtime pulls the image successfully.
- ImagePullError: It’s sent when the Containers runtime is having issues pulling the image. The message and details have more information on what happened for debugging.
- VMFailedToStart: It’s sent when the Containers runtime was unable to boot the VM.
- VMStopping: It’s sent when the scheduler is stopping the VM.
- VMStopped: It’s sent when the VM finally exits.
- VMFailed: It’s sent when the scheduling of the VM failed in the current location.
- RuntimeStartFailed: It’s sent when the runtime hits an internal error.
- SSHStarted: It’s sent when the container gains network connectivity and opens the SSH port. Containers only send this event when SSH keys exist.
- CheckUpdate: Sent when the status of a health or readiness check changes. This may also affect the health status of the placement.
- DurableObjectConnected: Sent when a durable object instance connects and gains control of the deployment. This event is only sent for durable object deployments. It is sent after VMStarted.
- ContainerStarted: It’s sent when the container starts running.

</summary>

One of the following:

"SchedulerPlaced"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%200">Link to this property</a>

"NetworkingIPAssigned"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%201">Link to this property</a>

"VMStarted"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%202">Link to this property</a>

"ImagePulled"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%203">Link to this property</a>

"ImagePullError"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%204">Link to this property</a>

"VMFailedToStart"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%205">Link to this property</a>

"NetworkingIPAssignmentFailed"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%206">Link to this property</a>

"VMRunning"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%207">Link to this property</a>

"VMStopping"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%208">Link to this property</a>

"VMStopped"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%209">Link to this property</a>

"VMFailed"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%2010">Link to this property</a>

"RuntimeStartFailed"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%2011">Link to this property</a>

"SSHStarted"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%2012">Link to this property</a>

"ServiceHealthUpdates"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%2013">Link to this property</a>

"CheckUpdate"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%2014">Link to this property</a>

"DurableObjectConnected"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%2015">Link to this property</a>

"ContainerStarted"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%2016">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name">Link to this property</a>

status\_change: Dict\[str, object]

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20statusChange">Link to this property</a>

time: str

UTC timestamp string in ISO 8601 format.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20time">Link to this property</a>

<details>

<summary>

type: Literal\["Info", "Error", "Warn", 2 more]

</summary>

One of the following:

"Info"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"Error"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

"Warn"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

"UserError"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20type%20%3E%20(member)%203">Link to this property</a>

"SystemError"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20type%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event">Link to this property</a>

instance\_id: str

An instance ID represents an identifier of an instance configuration that maintains an underlying placement.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20instance_id">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors">Link to this property</a>

<details>

<summary>

instances: CcScheduledApplicationHealthInstances

Shows a count of application instance states.

</summary>

active: int

Number of instances whose runtime reports the container as running (container\_status = “running”). This is a subset of the placements that remain up: an instance that is already bound to a Durable Object and serving traffic is counted under “assigned” until its container\_status catches up to “running”, so container\_status can briefly lag Durable Object attachment under churn. To estimate running, Durable-Object-bound instances, sum “active” + “assigned” rather than reading “active” alone.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20instances%20%3E%20(property)%20active">Link to this property</a>

assigned: int

Number of instances bound to a Durable Object with a running placement whose container\_status remains behind “running”. These count as live, serving instances; “active” + “assigned” approximates the running, Durable-Object-bound count.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20instances%20%3E%20(property)%20assigned">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20instances">Link to this property</a>

<details>

<summary>

summary: Optional\[Literal\["healthy", "degraded", "unhealthy", "pending"]]

High-level health assessment. Only populated for “new\_instances” strategy. Based on a sample of target-version instances rather than a full count.

- “pending”: Zero target-version instances exist yet.
- “healthy”: Every sampled target-version instance reports running or active.
- “degraded”: Some sampled instances remain starting or scheduling.
- “unhealthy”: One or more sampled instances have failed.

</summary>

One of the following:

"healthy"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20summary%20%3E%20(member)%200">Link to this property</a>

"degraded"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20summary%20%3E%20(member)%201">Link to this property</a>

"unhealthy"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20summary%20%3E%20(member)%202">Link to this property</a>

"pending"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20summary%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20summary">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health">Link to this property</a>

max\_instances: Optional\[int]

Maximum number of instances the application allows. This is relevant for applications that auto-scale.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20max_instances">Link to this property</a>

<details>

<summary>

observability: Optional\[CcScheduledApplicationObservability]

Top-level observability settings for the application. This field is mutually exclusive with configuration.observability.

</summary>

<details>

<summary>

logs: Optional\[CcScheduledApplicationObservabilityLogs]

Observability logging settings.

</summary>

enabled: Optional\[bool]

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20observability%20%3E%20(property)%20logs">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20observability">Link to this property</a>

rollout\_active\_grace\_period: Optional\[int]

Grace period for active instances to stay alive before becoming eligible for shutdown signal due to a rollout, in seconds. Defaults to 0.

maximum604800

minimum0

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rollout_active_grace_period">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class CcDurableObjectApplication: …

Each Durable Object creates and manages the lifecycle of its container instance.

</summary>

id: str

An Application ID represents an identifier of an application.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20id">Link to this property</a>

account\_id: str

A unique identifier for the user’s account.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20account_id">Link to this property</a>

created\_at: str

UTC timestamp string in ISO 8601 format.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

durable\_objects: CcDurableObjectApplicationDurableObjects

Durable object configuration using a namespace ID.

</summary>

namespace\_id: str

The namespace ID of the durable object namespace to use for this application.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20durable_objects%20%3E%20(property)%20namespace_id">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20durable_objects">Link to this property</a>

name: str

The application name.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20name">Link to this property</a>

scheduling\_policy: Literal\["durable\_object"]

Selects a Durable Object-managed application. Each Durable Object creates and manages the lifecycle of its container instance. Configure application-wide observability settings here. Deployment configuration, scaling, placement constraints, versions, and rollouts do not apply.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20scheduling_policy">Link to this property</a>

updated\_at: str

UTC timestamp string in ISO 8601 format.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

configuration: Optional\[CcDurableObjectApplicationConfiguration]

Application-wide settings for a Durable Object-managed application.

</summary>

<details>

<summary>

authorized\_keys: Optional\[List\[CcDurableObjectApplicationConfigurationAuthorizedKey]]

</summary>

public\_key: str

An SSH public key.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20configuration%20%3E%20(property)%20authorized_keys%20%3E%20(items)%20%3E%20(property)%20public_key">Link to this property</a>

name: Optional\[str]

Optional human readable name for this key.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20configuration%20%3E%20(property)%20authorized_keys%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20configuration%20%3E%20(property)%20authorized_keys">Link to this property</a>

<details>

<summary>

wrangler\_ssh: Optional\[CcDurableObjectApplicationConfigurationWranglerSSH]

Configuration properties for connecting with SSH to a container using Wrangler.

</summary>

enabled: Optional\[bool]

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20configuration%20%3E%20(property)%20wrangler_ssh%20%3E%20(property)%20enabled">Link to this property</a>

port: Optional\[int]

maximum65535

minimum1

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20configuration%20%3E%20(property)%20wrangler_ssh%20%3E%20(property)%20port">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20configuration%20%3E%20(property)%20wrangler_ssh">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20configuration">Link to this property</a>

<details>

<summary>

health: Optional\[CcDurableObjectApplicationHealth]

Aggregate current activity for the latest observed placement of each instance. Runtime snapshots feed periodic background sweeps. Counts refresh after each complete sweep. Instance listings retain their separate three-month history for failure discovery.

</summary>

<details>

<summary>

instances: CcDurableObjectApplicationHealthInstances

Counts of observed non-terminal instances.

</summary>

active: int

Number of instances whose runtime reports running or stopping.

minimum0

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20health%20%3E%20(property)%20instances%20%3E%20(property)%20active">Link to this property</a>

starting: int

Number of instances whose runtime reports starting.

minimum0

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20health%20%3E%20(property)%20instances%20%3E%20(property)%20starting">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20health%20%3E%20(property)%20instances">Link to this property</a>

summary: Optional\[Literal\["pending"]]

Present as pending until the first activity sweep completes; omitted afterward.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20health%20%3E%20(property)%20summary">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20health">Link to this property</a>

<details>

<summary>

observability: Optional\[CcDurableObjectApplicationObservability]

Application-wide logging settings for a Durable Object-managed application. The application publishes these settings to its runtime metadata. Updating them does not create a deployment or rollout.

</summary>

<details>

<summary>

logs: Optional\[CcDurableObjectApplicationObservabilityLogs]

Application-wide logging settings.

</summary>

enabled: Optional\[bool]

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20observability%20%3E%20(property)%20logs">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20observability">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20containers.applications%20%3E%20(model)%20application_get_response%20%3E%20(schema)>)

### Get a single application by id

Python

HTTPTypeScriptPythonGoTerraform

```
import os
from cloudflare import Cloudflare

client = Cloudflare(
    api_token=os.environ.get("CLOUDFLARE_API_TOKEN"),  # This is the default and can be omitted
)
application = client.containers.applications.get(
    application_id="application_id",
    account_id="account-123",
)
print(application)
```

200 example

```
{
  "errors": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "messages": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "result": {
    "id": "id",
    "account_id": "account_id",
    "configuration": {
      "image": "image",
      "authorized_keys": [
        {
          "public_key": "public_key",
          "name": "name"
        }
      ],
      "command": [
        "myapp",
        "--default-option"
      ],
      "entrypoint": [
        "/bin/bash"
      ],
      "environment_variables": [
        {
          "name": "name",
          "value": "value"
        }
      ],
      "instance_type": "lite",
      "observability": {
        "logs": {
          "enabled": true
        }
      }
    },
    "created_at": "2021-04-01T12:32:41.488Z",
    "instances": 0,
    "name": "name",
    "scheduling_policy": "default",
    "updated_at": "2021-04-01T12:32:41.488Z",
    "version": 0,
    "active_rollout_id": "active_rollout_id",
    "constraints": {
      "jurisdiction": "jurisdiction",
      "regions": [
        "WNAM"
      ]
    },
    "durable_objects": {
      "namespace_id": "14758f1afd44c09b7992073ccf00b43d"
    },
    "health": {
      "errors": [
        {
          "event": {
            "id": "id",
            "details": {
              "foo": "bar"
            },
            "message": "message",
            "name": "SchedulerPlaced",
            "statusChange": {
              "foo": "bar"
            },
            "time": "2021-04-01T12:32:41.488Z",
            "type": "Info"
          },
          "instance_id": "instance_id"
        }
      ],
      "instances": {
        "active": 0,
        "assigned": 0
      },
      "summary": "healthy"
    },
    "max_instances": 0,
    "observability": {
      "logs": {
        "enabled": true
      }
    },
    "rollout_active_grace_period": 0
  },
  "success": true
}
```

##### Returns Examples

200 example

```
{
  "errors": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "messages": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "result": {
    "id": "id",
    "account_id": "account_id",
    "configuration": {
      "image": "image",
      "authorized_keys": [
        {
          "public_key": "public_key",
          "name": "name"
        }
      ],
      "command": [
        "myapp",
        "--default-option"
      ],
      "entrypoint": [
        "/bin/bash"
      ],
      "environment_variables": [
        {
          "name": "name",
          "value": "value"
        }
      ],
      "instance_type": "lite",
      "observability": {
        "logs": {
          "enabled": true
        }
      }
    },
    "created_at": "2021-04-01T12:32:41.488Z",
    "instances": 0,
    "name": "name",
    "scheduling_policy": "default",
    "updated_at": "2021-04-01T12:32:41.488Z",
    "version": 0,
    "active_rollout_id": "active_rollout_id",
    "constraints": {
      "jurisdiction": "jurisdiction",
      "regions": [
        "WNAM"
      ]
    },
    "durable_objects": {
      "namespace_id": "14758f1afd44c09b7992073ccf00b43d"
    },
    "health": {
      "errors": [
        {
          "event": {
            "id": "id",
            "details": {
              "foo": "bar"
            },
            "message": "message",
            "name": "SchedulerPlaced",
            "statusChange": {
              "foo": "bar"
            },
            "time": "2021-04-01T12:32:41.488Z",
            "type": "Info"
          },
          "instance_id": "instance_id"
        }
      ],
      "instances": {
        "active": 0,
        "assigned": 0
      },
      "summary": "healthy"
    },
    "max_instances": 0,
    "observability": {
      "logs": {
        "enabled": true
      }
    },
    "rollout_active_grace_period": 0
  },
  "success": true
}
```