Zaira Labs Versions API
The Versions API from Zaira Labs, for versions.
The Versions API from Zaira Labs, for versions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/zairalabs-ai:zairalabs-ai-versions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Zaira Labs Versions API
version: 1.0.0
description: 'Agent-ready developer tool guide. Search, filter, and compare tools evaluated against the Zaira Standard.
**Test mode.** The API is read-only — the production endpoint is the sandbox. Append `?test=true` to any read endpoint to mark a request as a dry-run from the caller''s perspective. The response shape is identical except `meta.testMode` is set to `true`, so integrations can verify request shape and response parsing without ambiguity. There is no separate sandbox URL or test credentials because none are needed.'
contact:
name: Zaira Labs
url: https://zairalabs.ai
servers:
- url: https://zairalabs.ai/guide/api/v1
tags:
- name: Versions
paths:
/versions:
get:
operationId: listVersions
x-risk-tier: read-only
summary: Machine-readable API version registry
description: 'Returns the current API version, all known version lifecycle states, and the versioning policy. Poll this for programmatic lifecycle awareness — when a version is deprecated, its `deprecated_at` and `sunset_at` fields reflect the timeline, and deprecated endpoints emit `Deprecation`, `Sunset`, and `Link` (rel="successor-version") headers.
The policy commits to a minimum 365-day notice between a version''s `deprecated_at` and `sunset_at`.'
responses:
'200':
description: Version registry + policy
content:
application/json:
schema:
type: object
properties:
data:
type: object
required:
- current
- versions
- policy
properties:
current:
type: string
description: Slug of the currently-recommended version
versions:
type: array
items:
$ref: '#/components/schemas/VersionInfo'
policy:
$ref: '#/components/schemas/VersioningPolicy'
meta:
$ref: '#/components/schemas/BaseMeta'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
tags:
- Versions
components:
schemas:
VersioningPolicy:
type: object
description: Commitments this API makes about version lifecycle management.
required:
- deprecation_notice_days
- sunset_after_deprecation_days
- headers_emitted_on_deprecated_endpoints
- lts_overlap_days
properties:
deprecation_notice_days:
type: integer
description: Minimum days between a version's deprecated_at date and its sunset_at date.
sunset_after_deprecation_days:
type: integer
description: Additional grace period after sunset before the version stops responding. 0 means a sunset-dated version stops serving on the sunset date.
headers_emitted_on_deprecated_endpoints:
type: array
items:
type: string
lts_overlap_days:
type: integer
description: Minimum days an LTS version stays active after a successor's release — the overlap window during which both versions serve traffic.
BaseMeta:
type: object
properties:
apiVersion:
type: string
testMode:
type: boolean
description: Set to `true` when the request included `?test=true`. The API is read-only and has no destructive surface, so the production endpoint is the sandbox; this flag echoes the caller's dry-run intent so integrations can verify request shape and response parsing without ambiguity. Absent on non-test requests.
Problem:
type: object
description: Error response following RFC 9457 (Problem Details for HTTP APIs) with Zaira extensions for machine-actionable recovery.
required:
- type
- title
- status
- detail
- documentationUrl
- category
- is_retriable
- recovery
properties:
type:
type: string
format: uri
title:
type: string
status:
type: integer
detail:
type: string
documentationUrl:
type: string
format: uri
category:
type: string
enum:
- validation
- not_found
- rate_limit
- service_unavailable
- server_error
description: Abstract error family. Intentionally tech-agnostic so responses never signal the service's internal stack.
is_retriable:
type: boolean
description: True when the caller can safely retry the same request after a delay.
retry_after_seconds:
type: integer
description: Suggested delay before retrying, in seconds. Present when is_retriable is true. Mirrors the Retry-After header for rate-limit and service-unavailable responses.
recovery:
type: array
items:
type: string
description: Ordered, generic recovery steps the caller can take. Numbered/ordered by their position in the array.
errors:
type: array
description: Field-level validation issues (only present on validation errors).
items:
type: object
properties:
path:
type: string
message:
type: string
VersionInfo:
type: object
required:
- version
- status
- lts
- released_at
- base_url
- compatible_schema_versions
properties:
version:
type: string
example: v1
status:
type: string
enum:
- active
- deprecated
- sunset
lts:
type: boolean
description: '`true` when this version is designated long-term-support — it remains active for at least `lts_overlap_days` after a successor is released. Production integrations should pin to an LTS version.'
released_at:
type: string
format: date-time
deprecated_at:
type:
- string
- 'null'
format: date-time
description: Non-null when status is deprecated or sunset. Also emitted as the `Deprecation` response header on affected endpoints.
sunset_at:
type:
- string
- 'null'
format: date-time
description: Non-null when status is deprecated or sunset. Emitted as the `Sunset` response header on affected endpoints.
replaced_by:
type:
- string
- 'null'
description: Version slug of the successor. Emitted as `Link rel="successor-version"` on deprecated endpoints.
base_url:
type: string
format: uri
compatible_schema_versions:
type: array
items:
type: string
description: Tool-entry `schema_version` ranges this API version serves. Machine-readable compatibility matrix.
responses:
RateLimited:
description: 'Rate limit exceeded. Two buckets per client IP: a global 60/min cap on all endpoints, plus a 20/min cap on expensive endpoints (/search, /compare, /tools/{slug}). Either bucket can trigger a 429. `Problem.is_retriable` is true; honor the Retry-After header.'
headers:
Retry-After:
schema:
type: integer
description: Seconds to wait before retrying
RateLimit-Limit:
schema:
type: integer
description: Maximum requests allowed per window
RateLimit-Policy:
schema:
type: string
description: Rate limit policy. On expensive endpoints includes both buckets, e.g. '60;w=60, 20;w=60'.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
ServerError:
description: Unexpected server error. `Problem.is_retriable` is true; retry after a brief delay. If persistent, narrow the request scope.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
x-rateLimit:
buckets:
- scope: all endpoints
limit: 60
window: 60
unit: requests per minute per IP
- scope: expensive endpoints (/search, /compare, /tools/{slug})
limit: 20
window: 60
unit: requests per minute per IP
note: Consumed in addition to the global 60/min bucket.
description: Two rate-limit buckets keyed on client IP. A global cheap bucket caps overall request rate. An expensive bucket adds a tighter cap on full-text search, side-by-side comparison, and full tool-detail reads — these touch FTS or parse complete records. Responses include RateLimit-Limit and RateLimit-Policy headers; 429 responses also carry Retry-After.