# Custom Applications

> Custom Applications - A DataRobot Custom Application with detailed resource information.

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-05-06T18:17:09.823032+00:00` (UTC).

## Primary page

- [Custom Applications](https://docs.datarobot.com/en/docs/api/reference/sdk/custom-applications.html): Full documentation for this topic (HTML).

## Sections on this page

- [classdatarobot.CustomApplication](https://docs.datarobot.com/en/docs/api/reference/sdk/custom-applications.html#datarobot.CustomApplication): In-page section heading.
- [classmethodlist(offset=None, limit=None)](https://docs.datarobot.com/en/docs/api/reference/sdk/custom-applications.html#datarobot.CustomApplication.list): In-page section heading.
- [classmethodget(application_id)](https://docs.datarobot.com/en/docs/api/reference/sdk/custom-applications.html#datarobot.CustomApplication.get): In-page section heading.
- [get_resources()](https://docs.datarobot.com/en/docs/api/reference/sdk/custom-applications.html#datarobot.CustomApplication.get_resources): In-page section heading.
- [get_resource_summary()](https://docs.datarobot.com/en/docs/api/reference/sdk/custom-applications.html#datarobot.CustomApplication.get_resource_summary): In-page section heading.
- [propertyis_running: bool](https://docs.datarobot.com/en/docs/api/reference/sdk/custom-applications.html#datarobot.CustomApplication.is_running): In-page section heading.
- [get_details()](https://docs.datarobot.com/en/docs/api/reference/sdk/custom-applications.html#datarobot.CustomApplication.get_details): In-page section heading.
- [classmethodget_by_name(name)](https://docs.datarobot.com/en/docs/api/reference/sdk/custom-applications.html#datarobot.CustomApplication.get_by_name): In-page section heading.
- [delete(hard_delete=False)](https://docs.datarobot.com/en/docs/api/reference/sdk/custom-applications.html#datarobot.CustomApplication.delete): In-page section heading.
- [get_logs()](https://docs.datarobot.com/en/docs/api/reference/sdk/custom-applications.html#datarobot.CustomApplication.get_logs): In-page section heading.

## Related documentation

- [Developer documentation](https://docs.datarobot.com/en/docs/api/index.html): Linked from this page.
- [API reference](https://docs.datarobot.com/en/docs/api/reference/index.html): Linked from this page.

## Documentation content

### class datarobot.CustomApplication

A DataRobot Custom Application with detailed resource information.

This class provides access to the customApplications/ API endpoint which contains
more detailed information than the basic applications/ endpoint, including
resource allocation, status, and configuration details.

- Variables:

#### classmethod list(offset=None, limit=None)

Retrieve a list of custom applications.

- Parameters:
- Returns: applications – The requested list of custom applications.
- Return type: List[CustomApplication]

#### classmethod get(application_id)

Retrieve a single custom application with full details including resources.

- Parameters: application_id ( str ) – The ID of the custom application to retrieve.
- Returns: application – The requested custom application with resource details.
- Return type: CustomApplication

#### get_resources()

Get resource allocation details for this custom application.

- Returns: resources – Resource allocation including CPU, memory, replicas, and other settings.
  Returns None if no resources are allocated.
- Return type: Optional[Dict[str , Any]]

#### get_resource_summary()

Get a human-readable summary of resource allocation.

- Returns: summary – A summary of resource allocation with readable units.
  Returns None if no resources are allocated.
- Return type: Optional[Dict[str , Any]]

#### property is_running : bool

Check if the custom application is currently running.

- Returns: True if the application status is ‘running’, False otherwise.
- Return type: bool

#### get_details()

Get comprehensive details about this custom application.

- Returns: details – Comprehensive application details including metadata and resources.
- Return type: Dict[str , Any]

#### classmethod get_by_name(name)

Find a custom application by name.

- Parameters: name ( str ) – The name of the custom application to find.
- Returns: application – The custom application if found, None otherwise.
- Return type: Optional[CustomApplication]

#### delete(hard_delete=False)

Delete this custom application.

- Parameters: hard_delete ( bool , optional ) – If True, permanently delete the application and all its data.
  If False (default), soft delete the application (can be recovered).
- Return type: None

> [!NOTE] Examples
> ```
> from datarobot import CustomApplication
> 
> app = CustomApplication.get("app_id")
> app.delete()  # Soft delete
> app.delete(hard_delete=True)  # Permanent delete
> ```

#### get_logs()

Retrieve logs and build information for this custom application.

- Returns: logs_info – Dictionary containing:
- Return type: Dict[str , Any]

> [!NOTE] Examples
> ```
> from datarobot import CustomApplication
> 
> app = CustomApplication.get("app_id")
> logs_info = app.get_logs()
> 
> # Print runtime logs
> for log_line in logs_info['logs']:
>     print(log_line)
> 
> # Check build status
> if 'build_status' in logs_info:
>     print(f"Build status: {logs_info['build_status']}")
> 
> # Check for build errors
> if 'build_error' in logs_info:
>     print(f"Build error: {logs_info['build_error']}")
> ```
