Changes to the Rasen Developer API, newest first.
The API version moves from 1.16.0 to 1.19.0. Version 1.17.0 adds the Enterprise API: organisation
keys and 10 organisation operations. Version 1.18.0 adds getLimits. Version 1.19.0 adds the full
link to a hosted test call. The answers to a workspace key do not change. Webhook payloads stay at
api_version 1.15.0.
Version 1.19.0: the full test-call link
AgentShareLink adds the required, nullable field url: the full link to the hosted test-call
page that holds token. Like token, it is in the first successful answer of
setAgentShareLink (PUT /agents/{agent_id}/share-link) with enabled: true, and of
rotateAgentShareLink (POST /agents/{agent_id}/share-link/rotate). It is null on
getAgentShareLink (GET /agents/{agent_id}/share-link), on an idempotent replay, and when Rasen
issues no token. A replay of a request first answered before 1.19.0 also answers url: null.
What to do: Nothing for existing integrations: token does not change. To give a tester the
link, store url from the first answer. See Share a test-call link.
Version 1.18.0: read your rate limits
New operation: GET /limits (getLimits). It returns the rate limits of the caller, for each
minute: tier, switch, scope, active and pending. A workspace key gets the numbers of its
workspace and of the key. It needs usage.read, which every key has. The new schemas are Limits,
LimitNumbers, LimitPair and PendingLimits.
What to do: Nothing for existing integrations. To size a client, read getLimits instead of
copying the numbers from Rate limits.
Version 1.17.0: the Enterprise API
The Enterprise API is for Enterprise customers. To turn it on for your organisation, contact Rasen
at team@rasen.ai.
A second key family, the organisation key, has a secret that starts ra_org_ (security scheme
OrganisationKey). The Owner or an Admin of the organisation makes it in the Rasen app. On a
workspace operation, an organisation key names the workspace in the new header Rasen-Workspace.
A workspace key ignores the header and acts in its own workspace, as before.
Ten new organisation operations, below /organisations/{organisation_id}:
A workspace key gets 403 forbidden on each of them. New error codes: organisation_api_not_enabled
(403, on every operation, only for an organisation key of an organisation that does not have the
Enterprise API), workspace_limit_reached (402, create and restore), workspace_busy (409,
archive) and caller_region_unavailable (409, create). New conflict reasons on
setOrganisationWorkspaceConcurrency: concurrency_not_open, share_above_free and stale_share.
The API reference shows the workspace API. The
Enterprise API reference shows the organisation operations and every
workspace operation with Rasen-Workspace.
What to do: Nothing for a workspace key. To use the Enterprise API, contact Rasen, then see Enterprise API and Manage the workspaces of an organisation.