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 abusiness_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_leveltells you which). - Results that are too large come back with
truncated: trueand aresult_hintthat says how to narrow the request. - Errors name the exact invalid argument path (
path: reason), the operation, a hint and arequest_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
get_context(GET context/) once per session: your Spaces, connected integrations,docs(the docs topics),rules, andessentials, the keys of the first operations you usually need with their required arguments.search_operations(GET ?q=&domain=&provider=&include_schema=1) for a full contract. Withinclude_schemaeach match carriesinput_schema,constraints,examplesandlarge_result_hint, so the result is enough to invoke. Narrow withdomainorprovider;truncated: truemeans narrow further. Only connected providers are searched unlessconnected_only=false.describe_operation(GET <key>/, orGET describe/?keys=a,b,cfor up to 20 at once) only for a key whose contract you do not have yet. It leaves outoutput_schemaunless you passinclude_output_schema=1(MCP:include_output_schema=true).invoke_readfor an operation ofmode: read,invoke_writefor one ofmode: write(bothPOST <key>/invoke/, for examplePOST https://api.adlass.io/api/v1/operations/spaces.list/invoke/) with the arguments as JSON body; anidempotency_keyon writes. The other tool answersoperation_mode_mismatch. A described operation carries this path inrest.path.read_docs(<domain>)(GET docs/<domain>/) pays off before the first write in a domain you have not used yet, for examplerecords,routines,guides,scripts,workflows: it carries the rules the schema alone cannot. Every operation names its docs topic indocs;read_docswithout 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,instructionsas 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 (
entryof kindscript: one pinned script, no model call, deterministic and cheap) or as a script with the agent as fallback (escalate). Its schedule lives inroutines.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_contextlists the plan'sfeaturesunderplan; search marks such operationsavailable_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 ofrateshaskey,unit,modeandeffective_micro_credits_per_unit(100,000 micro-credits = 1 credit);modecostinstead charges the provider's cost timesmultiplier. Prices of provider operations are in read_docs("integrations"), of standard tools in read_docs("tools").
Rules
- Prefer
*_manyoperations over repeated single calls when you change several entities: every operation call costs one credit. - Reuse the same
idempotency_keyto 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. - On
validation_error, fix exactly the paths listed and retry. - On
truncated: true, narrow the request asresult_hintdescribes instead of repeating the same call. - Publishing operations such as
records.types.publishandroutines.saveare allowed for agents. - Operations with
accessset tohumanorhuman_approvalare reserved for people in the Adlass app. Do not call them; tell the user what to do there instead.