Skip to content
HomeAPI v2 migration

Arkova API v1 to v2 migration guide

Last updated: October 19, 2026

API v2 is the current version. v1 stays supported until 23 April 2027. This guide lists the dates, the endpoint mapping and the steps to move an integration across before then. The v2 base URL is https://api.arkova.ai/api/v2, and the v2 OpenAPI document is public.

Deprecation calendar

MilestoneDateWhat it means for you
API v2 general availability24 April 2026New integrations should use /api/v2 and scoped API keys.
v1 deprecation headers begin24 April 2026Every /api/v1 response includes a Deprecation header.
v1 schema freeze24 April 2026No breaking changes to /api/v1. Additive, backward-compatible fields and routes can still appear in v1. The agent-facing read surface lands in v2.
v1 sunset23 April 2027Move v1 traffic to v2 before this date.
v1 hard cutoff23 April 2027, 00:00 GMT/api/v1 routes may be disabled after the cutoff window.

What v1 responses say

Every v1 response carries the deprecation and sunset headers. We checked them against api.arkova.ai on 19 October 2026. The Sunset header carries the same date as the calendar above, and the link in the Deprecation header points to this page.

http
Deprecation: Sun, 23 Apr 2027 00:00:00 GMT; link="<https://arkova.ai/docs/v2-migration>; rel=successor-version"
Sunset: Sun, 23 Apr 2027 00:00:00 GMT

Authentication and scopes

v2 accepts the same API key formats as v1:

http
Authorization: Bearer ak_live_...
X-API-Key: ak_live_...

v2 keys are scope-aware. Ask your Arkova admin for only the scopes your integration needs.

ScopeUse
read:searchSearch records, organizations, fingerprints and documents.
read:recordsVerify fingerprints and fetch public anchors.
read:orgsList organization context for agent workflows.
write:anchorsSubmit anchors. POST /api/v1/anchor already accepts it alongside the older v1 anchor-write scope name. The v2 surface published today is read-only, so there is no /api/v2 write endpoint yet.
admin:rulesManage rule workflows when admin endpoints become generally available.

Endpoint mapping

v1 patternv2 replacementNotes
GET /api/v1/verify/{publicId}GET /api/v2/anchors/{public_id}Returns redacted public anchor metadata. Keep using v1 verify while you still need the verification contract fields confidence_scores, sub_type and description.
Fingerprint lookup through v1 search flowsGET /api/v2/verify/{fingerprint}Accepts a 64-character SHA-256 fingerprint in hex.
Search-oriented v1 endpointsGET /api/v2/search?q=...Cursor pagination and typed result rows.
Agent organization bootstrapGET /api/v2/orgsReturns organization context for the API key.

Rate limits

v1 stays at its published limits. v2 uses a quota per scope.

ScopeDefault quota
read:search1,000 requests per minute per API key
read:records500 requests per minute per API key
read:orgs500 requests per minute per API key
write:anchors100 requests per minute per API key
admin:rules50 requests per minute per API key

A 429 response includes Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset.

Error handling

v2 returns RFC 7807 problem details for every error, with the content type application/problem+json.

json
{
  "type": "https://arkova.ai/problems/invalid-scope",
  "title": "Insufficient Scope",
  "status": 403,
  "detail": "This API key does not have the required scope: read:records.",
  "instance": "/api/v2/anchors/ARK-DOC-ABC"
}
Branch on fields, not text
Write client logic against status and type. The detail text is for people and can change.

SDKs

  • TypeScript: npm install arkova
  • Python: pip install arkova

Both SDKs cover v2 search, fingerprint verification, anchor lookup, organization listing, retry handling and problem detail errors. The Python package also has verify(public_id) for the fuller v1 verification response while you move public-ID verification to the v2 anchor detail call. REST responses use snake_case, such as confidence_scores and sub_type. The SDK models use each language's native style: confidenceScores and subType in TypeScript, confidence_scores and sub_type in Python.

Cutover checklist

  1. Create a v2-scoped API key.
  2. Replace v1 verification calls using the endpoint mapping above.
  3. Update error handling for application/problem+json.
  4. Honor Retry-After on 429 and 5xx retries.
  5. Run a one-day shadow comparison against production data.
  6. Remove v1 traffic before 23 April 2027.

Questions about a migration? Email founders@arkova.ai.