get_version
Get the current docs version
Returns the current API contract version (api_version), the versioning and deprecation policy, and the content-hash version of the Laso Finance agent docs (SKILL.md, openapi.json, llms.txt, llms-full.txt, ai-plugin.json). Free, no auth or payment header.
Agents aggressively cache these docs, so use this to detect a stale cache: if the docs_version you last saw differs from the value returned here, refetch the docs. Every API response also carries this value in the X-Laso-Docs-Version response header, alongside X-Laso-Docs-Manifest, which points at the authoritative freshness beacon at https://laso.finance/.well-known/docs-version.json.
This route is also the status target of the API catalog at https://laso.finance/.well-known/api-catalog (RFC 9727), which every response advertises via a Link header with rel="api-catalog".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docs | No | Per-file entries, each with a `url` and a stable `sha256` content identifier. Compare against the values you last saw to tell which file changed. | |
| note | No | ||
| versioning | No | The versioning and deprecation policy in machine-readable form: which header carries the version, what counts as an additive versus a breaking change, and how a retirement is signalled. | |
| api_version | No | Version of the API contract itself (this description's `info.version`). Moves only on a breaking change, unlike `docs_version`. Also sent on every response as `X-Laso-Api-Version`. | |
| docs_version | No | 12-character content hash of the agent docs. Changes only when the docs change. | |
| api_catalog_url | No | URL of the RFC 9727 API catalog (`application/linkset+json`) indexing the OpenAPI description, the agent docs, and this status route. | |
| docs_manifest_url | No | URL of the authoritative freshness beacon, served with no-cache. |