API reference
Automation objects
The Object Repository: named screen elements (a button, a field, a menu entry) your automations' Browser Use steps find by name, each with the ways to find it on a page and a description the AI uses when those fail. List, read, create, change and delete them, or create many at once. 6 endpoints. Add your API key in the authentication panel to send test requests from this page.
List automation objects
/api/external/v1/automations/objectsYour objects, by app and name, and apps (every app you have objects in). Filters: app (only that app's), q (words in the name, app or description).
An object: id, app (the application or site it belongs to, e.g. "billing.example.com"; objects are grouped by it), name (unique within its app), description (how it looks and where - what the AI and the picture search use when the locators find nothing), locators (ways to find it, tried in order: [{by: TEXT|ROLE|LABEL|PLACEHOLDER|CSS, role (for ROLE: button, link, textbox ...), value, exact, nth}], at most 10), pageUrl (where it is: part of an address, a * pattern or /regex/), pictureUrl (a crop of it, one of your uploads), uses, misses, lastFoundBy (LOCATOR 1, LOCATOR 2 ..., AI, PICTURE), lastUsedAt, createdAt, updatedAt. A Browser Use step uses one as its target: {"by": "OBJECT", "objectId": "<id>"}.
Parameters
appstringqueryOnly the objects of this app.
qstringqueryOnly objects whose name, app or description contains this.
Responses
200OK
Create an automation object
/api/external/v1/automations/objectsCreates an object (201) and answers it. Body: app, name (required, up to 160 characters, unique within the app), description (up to 2000), locators (at most 10; a ROLE locator needs its role), pageUrl, pictureUrl (one of your uploads, /api/uploads/...). An object needs a locator or a description. (pictureFrom - a crop of the app's learning browser - works only while that browser is open in the app.)
An object: id, app (the application or site it belongs to, e.g. "billing.example.com"; objects are grouped by it), name (unique within its app), description (how it looks and where - what the AI and the picture search use when the locators find nothing), locators (ways to find it, tried in order: [{by: TEXT|ROLE|LABEL|PLACEHOLDER|CSS, role (for ROLE: button, link, textbox ...), value, exact, nth}], at most 10), pageUrl (where it is: part of an address, a * pattern or /regex/), pictureUrl (a crop of it, one of your uploads), uses, misses, lastFoundBy (LOCATOR 1, LOCATOR 2 ..., AI, PICTURE), lastUsedAt, createdAt, updatedAt. A Browser Use step uses one as its target: {"by": "OBJECT", "objectId": "<id>"}.
Errors: 400 INVALID_OBJECT (the message says what: no name, a name the app has already, a locator that cannot be read, 5000 objects already, ...).
Request body application/json
object
Responses
200OK
Read an automation object
/api/external/v1/automations/objects/{objectId}One object and usedBy: where your automations use it ([{automationId, automationName, nodeId, stepIds}]) - a step that uses a deleted object fails, so read this before deleting one.
An object: id, app (the application or site it belongs to, e.g. "billing.example.com"; objects are grouped by it), name (unique within its app), description (how it looks and where - what the AI and the picture search use when the locators find nothing), locators (ways to find it, tried in order: [{by: TEXT|ROLE|LABEL|PLACEHOLDER|CSS, role (for ROLE: button, link, textbox ...), value, exact, nth}], at most 10), pageUrl (where it is: part of an address, a * pattern or /regex/), pictureUrl (a crop of it, one of your uploads), uses, misses, lastFoundBy (LOCATOR 1, LOCATOR 2 ..., AI, PICTURE), lastUsedAt, createdAt, updatedAt. A Browser Use step uses one as its target: {"by": "OBJECT", "objectId": "<id>"}.
Errors: 404 OBJECT_NOT_FOUND.
Parameters
objectIdstringpathRequired
Responses
200OK
Change an automation object
/api/external/v1/automations/objects/{objectId}Changes the fields you send (the fields of POST /automations/objects; one you leave out keeps its value; locators replaces the list) and answers the object. Errors: 404 OBJECT_NOT_FOUND; 400 INVALID_OBJECT.
Parameters
objectIdstringpathRequired
Request body application/json
object
Responses
200OK
Delete an automation object
/api/external/v1/automations/objects/{objectId}Deletes the object (204). Steps that still use it fail from then on ("The object ... no longer exists"): GET /automations/objects/{objectId} says where it is used. Errors: 404 OBJECT_NOT_FOUND.
Parameters
objectIdstringpathRequired
Responses
200OK
Create many automation objects
/api/external/v1/automations/objects/bulkCreates up to 200 objects at once and answers items: [{key, id, reused}], one per object sent, in order. An object with the same app and the same name, or the same first locator, as one you have is not made again: that one's id is answered with reused: true (and it is not changed). A new object whose name its app has already is given a free one ("Save button 2").
Body: objects - each {key (yours, to match the answer), app, name, description, locators, pageUrl}. Errors: 400 INVALID_OBJECT (none sent, more than 200, more than 5000 in all, or one that cannot be read: nothing is created then).
Request body application/json
object
Responses
200OK