Skip to navigation

Read hosted test-call link metadata

Returns metadata only. The bearer token and the full link (url) are null because they are revealed only by the first successful issue or rotation. The ETag covers agent lifecycle, live publication, and the latest link capability identity and state.

Authentication

AuthorizationBearer

An organisation-owned key whose secret starts ra_org_. The Owner or an Admin of an organisation that Rasen has invited makes it in the app; no API operation makes, changes, rotates or revokes a key. On a workspace operation send the workspace ID in the Rasen-Workspace header; without it the answer is 400 invalid_request with details.field Rasen-Workspace. A workspace outside the organisation or outside the key’s workspace list is 404 not_found. An organisation that is not invited gets 403 organisation_api_not_enabled.

Path parameters

agent_idstringRequired1-128 characters
Resource identity within the authenticated workspace.

Headers

Rasen-WorkspacestringRequired

The ID of the workspace that this operation acts in. It must be a workspace of the key’s organisation and in the key’s workspace list. A missing, empty or malformed value is 400 invalid_request with details.field Rasen-Workspace; a workspace outside the organisation or the key’s workspace list is the hidden 404 not_found.

Response headers

X-Request-IdstringOptional
Safe server request correlation ID.
ETagstringOptional

Strong hosted share-link revision. Use it as If-Match for enable, disable or rotate.

RateLimit-LimitintegerOptional
Requests allowed in the current window for the tightest applicable limit.
RateLimit-RemainingintegerOptional
Requests left in the current window.
RateLimit-ResetintegerOptional
Seconds until the current window resets.

Response

Read hosted test-call link metadata.

enabledboolean
can_shareboolean
tokenstring or null=52 characters

One-time bearer value. Null on reads and idempotent replays. It is the last path segment of url.

urlstring or nullformat: "uri"<=2048 characters

The full hosted test-call link that contains token. Open it in a browser or send it to a tester. Present exactly when token is present; null on reads and idempotent replays.

token_prefixstring or null<=12 characters
expires_atdatetime or null
max_usesinteger or null>=1
use_countinteger>=0
rate_limit_per_hourinteger or null>=1

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error