---
title: "Get app by name"
description: "Resolve an app using its name and owner."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.stackmachine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get app by name

```javascript
// MY_APP_JSON =
// {
//   "id": "da_abc123",
//   "name": "my-app",
//   "url": "https://my-app.stackmachine.app",
//   "adminUrl": "https://stackmachine.com/app/da_abc123",
//   "willPerishAt": null,
//   "favicon": null,
//   "screenshot": null,
//   "activeVersion": { "id": "dv_xyz789" }
// }

const app = await client.apps.retrieveByName("my-app", "stackmachine");
// Should return: MY_APP_JSON
console.log(app.id, app.name, app.url);
```

```python
# MY_APP_JSON =
# {
#   "id": "da_abc123",
#   "name": "my-app",
#   "url": "https://my-app.stackmachine.app",
#   "admin_url": "https://stackmachine.com/app/da_abc123",
#   "will_perish_at": null,
#   "favicon": null,
#   "screenshot": null,
#   "active_version": { "id": "dv_xyz789" }
# }

app = client.apps.retrieve_by_name("my-app", "stackmachine")
# Should return: MY_APP_JSON
print(app.id, app.name, app.url)
```

> Source: [stackmachine/sdks](https://github.com/stackmachine/sdks/tree/main) examples.

Source: https://docs.stackmachine.com/apps/get-by-name/index.mdx
