Getting started

What Adlass gives an agent and the fastest path to a first call.

Raw Markdown for agents: getting_started.md. MCP: read_docs("getting_started").

Adlass is an agent-centric data room. Every capability is an operation in one registry, reachable over MCP or REST. The API host is https://api.adlass.io; the operations endpoint is https://api.adlass.io/api/v1/operations/. MCP tool names come first, the REST equivalent follows in parentheses, relative to the operations endpoint. It takes Authorization: Bearer <token>: an OAuth token (adlass login, MCP clients) for every path, or an API key for POST <key>/invoke/ only (read_docs("api_keys")).

What the platform does for you

  • Tenant and permissions are resolved server-side from your token: no tenant id, space filter or role check in your arguments.
  • Every write is idempotent: it takes an idempotency_key, and replaying the same key returns the original result instead of acting twice. Integration writes about one business object also take a business_key (<authority:type:id>#<action>), which holds across new requests and runs.
  • Every change lands in an audit chain; reversible operations can be taken back (risk_level tells you which).
  • Results that are too large come back with truncated: true and a result_hint that says how to narrow the request.
  • Errors name the exact invalid argument path (path: reason), the operation, a hint and a request_id.
  • report_feedback (POST feedback/) reaches the Adlass team: a missing operation, an unclear contract or an error without a way forward gets fixed.

Fastest path

  1. get_context (GET context/) once per session: your Spaces, connected integrations, docs (the docs topics), rules, and essentials, the keys of the first operations you usually need with their required arguments.
  2. search_operations (GET ?q=&domain=&provider=&include_schema=1) for a full contract. With include_schema each match carries input_schema, constraints, examples and large_result_hint, so the result is enough to invoke. Narrow with domain or provider; truncated: true means narrow further. Only connected providers are searched unless connected_only=false.
  3. describe_operation (GET <key>/, or GET describe/?keys=a,b,c for up to 20 at once) only for a key whose contract you do not have yet. It leaves out output_schema unless you pass include_output_schema=1 (MCP: include_output_schema=true).
  4. invoke_read for an operation of mode: read, invoke_write for one of mode: write (both POST <key>/invoke/, for example POST https://api.adlass.io/api/v1/operations/spaces.list/invoke/) with the arguments as JSON body; an idempotency_key on writes. The other tool answers operation_mode_mismatch. A described operation carries this path in rest.path.
  5. read_docs(<domain>) (GET docs/<domain>/) pays off before the first write in a domain you have not used yet, for example records, routines, guides, scripts, workflows: it carries the rules the schema alone cannot. Every operation names its docs topic in docs; read_docs without a topic lists them all.

What to build

  • A guide is what people also call a skill, Anleitung or instructivo: instructions an agent follows. Create or update one with guides.push (space_id, name, summary, instructions as text); never write it as a document.
  • A routine is work Adlass runs, once or repeatedly. It runs as an agent (a model follows the instructions), as a script only (entry of kind script: one pinned script, no model call, deterministic and cheap) or as a script with the agent as fallback (escalate). Its schedule lives in routines.automation.set; webhooks and platform events reach it through a queue with the routine as consumer (queues.*). A recurring import or sync of integration data is a routine with a pinned script and a schedule whose entry is that script.
  • A workflow only chains several published routines: items pass from one routine to the next, a person approves between steps, or routines run in a fixed order. Never create a workflow for one routine with a trigger.
  • An import source (imports) only copies files from a drive, SharePoint or mailbox into a folder.

Plan and credits

  • An operation whose plan feature the workspace lacks answers billing_feature_required (403). get_context lists the plan's features under plan; search marks such operations available_on_plan: false. In a Space the plan of the workspace that holds the Space decides.
  • Work costs credits: 1 credit = 0.001 USD (1,000 credits = 1 USD). The workspace that holds the Space pays; outside a Space, the workspace of the call. Without enough credits an operation answers billing_credits_exhausted (402); people top up in the Adlass app.
  • Current rates: GET https://api.adlass.io/api/v1/billing/rates/ with an OAuth token (?space=<uuid> for the workspace paying in that Space). Each of rates has key, unit, mode and effective_micro_credits_per_unit (100,000 micro-credits = 1 credit); mode cost instead charges the provider's cost times multiplier. Prices of provider operations are in read_docs("integrations"), of standard tools in read_docs("tools").

Rules

  1. Prefer *_many operations over repeated single calls when you change several entities: every operation call costs one credit.
  2. Reuse the same idempotency_key to retry the same write safely; use a new key only for a new action. Never send parallel writes against the same draft; wait for each result before the next write.
  3. On validation_error, fix exactly the paths listed and retry.
  4. On truncated: true, narrow the request as result_hint describes instead of repeating the same call.
  5. Publishing operations such as records.types.publish and routines.save are allowed for agents.
  6. Operations with access set to human or human_approval are reserved for people in the Adlass app. Do not call them; tell the user what to do there instead.

En esta página