Skip to main content
POST
List an app's known screens

Authorizations

X-Api-Key
string
header
required

Workspace API key, created in the dashboard under Settings → API Keys.

Headers

Idempotency-Key
string

Makes a retry of this map safe from a second charge. Send a fresh key (for example a UUID) per call and the same key when you retry it.

  • The first answered request with a key is charged and its result is kept for 24 hours.
  • A repeat with the same key and the same request returns that result unchanged, without reading or charging again, with the header Idempotent-Replayed: true.
  • A refused or failed request (validation, access, 402 credits_exhausted, 503 map_timeout) is not charged and does not use up the key: a retry with it runs.
  • A repeat while the first is still running returns 409 idempotency_key_in_use; if the first never finished, 409 idempotency_outcome_unknown (it is not run again: use a new key).
  • The same key with a different request (path, query or body) returns 422 idempotency_key_reused.
  • A key that is not 1 to 255 visible ASCII characters returns 400 invalid_idempotency_key. Without the header, or with an empty one, nothing is deduplicated and every answered call is charged.

Keys are scoped to the workspace and the operation. If the key cannot be recorded nothing runs and the response is 503 idempotency_unavailable.

Required string length: 1 - 255
Pattern: ^[\x21-\x7E]+$

Body

application/json
url
string
required

The app, app://<app>: a Lusor app name (settings), which is the app on either platform, or a raw package or bundle id, which is that app on its own platform only. A path (app://settings/general) keeps only the links under it.

Maximum string length: 2048
Example:

"app://settings"

Keeps the links whose name or address contains these words, best match first: a name that is the search, then one that starts with it, then one that contains it.

Maximum string length: 500
limit
integer
default:5000

The most links to return.

Required range: 1 <= x <= 5000
device
string

The phone whose platform's map to read. Optional; without it, the platform every phone of the workspace shares, otherwise both platforms.

workspaceId
string<uuid>

The workspace, for a key that can reach several.

Response

The app's known screens

success
boolean
required

The known screens, the app's first screen first.

coverage
object
required

Where the links came from. A map is never complete.

checkedAt
string<date-time> | null
required

When a run of this workspace last read one of the app's mapped screens; null when nothing of the app is recorded.

message
string

Why links is empty. For an app no run has passed through, run scrape or agent on it first.