Base44
App · 12 actions
Read apps, records, assets and backend configuration from your Base44 workspace.
Actions
| Action | What it does |
|---|---|
| Count entity records | Count entity records. |
| Get an app | Get an app. |
| Get an entity record | Get an entity record. |
| Get an entity schema | Get an entity schema. |
| List app branches | List app branches. |
| List app checkpoints | List app checkpoints. |
| List app collaborators | List app collaborators. |
| List apps | List apps. |
| List backend functions | List backend functions. |
| List entity records | List entity records. |
| List entity schemas | List entity schemas. |
| List media assets | List media assets. |
Count entity records
Count entity records.
Inputs
- Entity name
entity_nametextRequired - Entity name.
- App
app_idtextRequired - ID of the app that owns the entity.
- Q
qtext - Optional filter, a JSON object in the same form as `q` on List entity records.
Outputs
dataobject- The response from Base44.
Example output
{
"data": {
"count": 1
}
}Get an app
Get an app.
Inputs
- App
app_idtextRequired - ID of the app.
Outputs
dataobject- The response from Base44.
Example output
{
"data": {
"app_type": "example",
"auth_config": {
"enable_apple_login": true,
"enable_facebook_login": true,
"enable_google_login": true,
"enable_microsoft_login": true,
"enable_username_password": true
},
"cover_url": "example",
"created_by": "example",
"created_date": "example",
"dev_environment_enabled": true,
"hide_entity_created_by": true,
"id": "example",
"is_remixable": true,
"is_unpublished": true,
"last_deployed_at": "example",
"logo_url": "example",
"main_branch_protected": true,
"name": "example",
"organization_id": "example",
"owner_id": "example",
"preview_screenshot_url": "example",
"public_settings": "private_with_login",
"screenshot_url": "example",
"slug": "example",
"social_image_url": "example",
"status": {
"details": "example",
"error_source": "example",
"last_updated_date": "example",
"paywall_context": {
"billing_organization_id": "example",
"evaluated_at": "example",
"user_id": "example"
},
"request_id": "example",
"state": "ready"
},
"updated_date": "example",
"user_description": "example"
}
}Get an entity record
Get an entity record.
Inputs
- Entity ID
entity_idtextRequired - ID of the record, as `id` in the response of [List entity records](/api-reference/list-entity-records).
- App
app_idtextRequired - ID of the app that owns the entity.
- Entity name
entity_nametextRequired - Entity name.
Outputs
dataobject- The response from Base44.
Example output
{
"data": {
"created_by": "example",
"created_by_id": "example",
"created_date": "example",
"id": "example",
"is_sample": true,
"updated_date": "example"
}
}Get an entity schema
Get an entity schema.
Inputs
- Entity name
entity_nametextRequired - Name of the entity, as returned by [List entity schemas](/api-reference/list-entity-schemas). Pass `User` for the built-in user entity.
- App
app_idtextRequired - ID of the app whose entity schemas you want to work with.
- Branch ID
branch_idtext - ID of the branch to work on, as returned by [List branches](/api-reference/list-branches). Omit it to work on the app's main branch.
Outputs
dataobject- The response from Base44.
Example output
{
"data": {
"name": "example",
"properties": {
"amount": {
"description": "example",
"type": "example"
},
"status": {
"enum": [
"example"
],
"type": "example"
}
},
"required": [
"example"
],
"rls": {
"read": {
"created_by": "example"
}
},
"type": "example"
}
}List app branches
List app branches.
Inputs
- App
app_idtextRequired - ID of the app whose branches to read.
- Include merged
include_mergedtrue/false - Set to `true` to also return branches already merged into main.
- Mine
minetrue/false - Set to `true` for only the caller's branches; merged ones are capped to the newest 30 (the rest page through `GET /branches/merged`).
Outputs
datalist- The response from Base44.
Example output
{
"data": [
{
"id": "example",
"status": "active"
}
]
}List app checkpoints
List app checkpoints.
Inputs
- App
app_idtextRequired - ID of the app.
- Limit
limitnumber - Maximum number of checkpoints to return, between 1 and 10000. Omit to return all of them.
- Skip
skipnumber - Number of checkpoints to skip before the page starts, 0 or greater. Combine with `limit` to page through results.
- Branch ID
branch_idtext - ID of the branch to work on, as returned by [List branches](/api-reference/list-branches). Omit it to work on the app's main branch.
Outputs
datalist- The response from Base44.
Example output
{
"data": [
{
"id": "example",
"name": "example"
}
]
}List app collaborators
List app collaborators.
Inputs
- App
app_idtextRequired - ID of the app whose collaborators to list.
Outputs
datalist- The response from Base44.
Example output
{
"data": [
{
"email": "example",
"id": "example"
}
]
}List apps
List apps.
Inputs
- Workspace ID
workspace_idtext - Workspace id.
- Sort
sorttext - Single field to sort by, prefixed with `-` for descending. For example, `-created_date` returns newest first.
- Limit
limitnumber - Maximum number of apps to return. Omit to return all the apps you can access.From 1 to 10000.
- Skip
skipnumber - Number of apps to skip before the page starts. Combine with `limit` to page through results.At least 0.
- Filter mode
filter_modetext - Filter mode.One of:
all_apps_workspace(All apps workspace),my_apps_workspace(My apps workspace). - Search
searchtext - Text to match, case-insensitively, in the app's name, description, or creator's email. An app ID matches that app exactly, and a full email address matches the apps that person created or owns.
- Folder ID
folder_idtext - Folder id.
- Exclude foldered
exclude_folderedtext - Set to `true` to leave out apps that are in a folder you can see. Ignored when `folder_id` is set.One of:
true. - Include folder IDs
include_folder_idstext - Set to `true` to add `folder_ids` to each app: the IDs of the folders you can see that hold it. For agents, also pass `app_type=user_agent`, or agent folders are left out.One of:
true.
Outputs
datalist- The response from Base44.
Example output
{
"data": [
{
"id": "example",
"name": "example",
"status": {
"details": "example",
"error_source": "example",
"last_updated_date": "example",
"paywall_context": {
"billing_organization_id": "example",
"evaluated_at": "example",
"user_id": "example"
},
"request_id": "example",
"state": "ready"
}
}
]
}List backend functions
List backend functions.
Inputs
- App
app_idtextRequired - ID of the app the functions belong to.
- Branch ID
branch_idtext - ID of the branch to work on, as returned by [List branches](/api-reference/list-branches). Omit it to work on the app's main branch.
Outputs
dataobject- The response from Base44.
Example output
{
"data": {
"functions": [
{
"automations": [
{}
],
"entry": "example",
"files": [
{}
],
"name": "example"
}
]
}
}List entity records
List entity records.
Inputs
- App
app_idtextRequired - ID of the app that owns the entity.
- Entity name
entity_nametextRequired - Entity name.
- Q
qtext - Q.
- Limit
limitnumber - Number of records on each page, from 1 to 5000, or up to 1000 with `distinct`. Defaults to 100, and a higher value is treated as the maximum.
- Sort
sorttext - Sort.
- Cursor
cursortext - Pagination cursor from previous response. Leave it out for the first page.
- Distinct
distincttext - Field whose distinct values to return instead of records, in ascending order.
Outputs
dataobject- The response from Base44.
Example output
{
"data": {
"has_more": true,
"items": [
{
"id": "example"
}
],
"next_cursor": "example"
}
}List entity schemas
List entity schemas.
Inputs
- App
app_idtextRequired - ID of the app whose entity schemas you want to work with.
- Branch ID
branch_idtext - ID of the branch to work on, as returned by [List branches](/api-reference/list-branches). Omit it to work on the app's main branch.
Outputs
dataobject- The response from Base44.
Example output
{
"data": {
"schemas": [
{
"entity_name": "example",
"entity_schema": {}
}
],
"total": 1
}
}List media assets
List media assets.
Inputs
- App
app_idtextRequired - ID of the app whose media library to read.
- Search
searchtext - Text to match, ignoring case, anywhere in the file name. For example, `logo` matches `Logo-dark.png`.
- Sort
sorttext - Order of the list. Either `newest`, `oldest`, or `a-z` for file name order, where uppercase letters come before lowercase ones. Defaults to `newest`, and any other value also sorts newest first.
- Source type
source_typetext - Keep only files with this `source_type`, either `upload` or `generated`.
- File type
file_typetext - Keep only files with this `file_type`, matched exactly. For example, `png`.
Outputs
datalist- The response from Base44.
Example output
{
"data": [
{
"id": "example"
}
]
}