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
| Milestone | Date | What it means for you |
|---|---|---|
| API v2 general availability | 24 April 2026 | New integrations should use /api/v2 and scoped API keys. |
| v1 deprecation headers begin | 24 April 2026 | Every /api/v1 response includes a Deprecation header. |
| v1 schema freeze | 24 April 2026 | No 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 sunset | 23 April 2027 | Move v1 traffic to v2 before this date. |
| v1 hard cutoff | 23 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.
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 GMTAuthentication and scopes
v2 accepts the same API key formats as v1:
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.
| Scope | Use |
|---|---|
read:search | Search records, organizations, fingerprints and documents. |
read:records | Verify fingerprints and fetch public anchors. |
read:orgs | List organization context for agent workflows. |
write:anchors | Submit 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:rules | Manage rule workflows when admin endpoints become generally available. |
Endpoint mapping
| v1 pattern | v2 replacement | Notes |
|---|---|---|
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 flows | GET /api/v2/verify/{fingerprint} | Accepts a 64-character SHA-256 fingerprint in hex. |
| Search-oriented v1 endpoints | GET /api/v2/search?q=... | Cursor pagination and typed result rows. |
| Agent organization bootstrap | GET /api/v2/orgs | Returns organization context for the API key. |
Rate limits
v1 stays at its published limits. v2 uses a quota per scope.
| Scope | Default quota |
|---|---|
read:search | 1,000 requests per minute per API key |
read:records | 500 requests per minute per API key |
read:orgs | 500 requests per minute per API key |
write:anchors | 100 requests per minute per API key |
admin:rules | 50 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.
{
"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"
}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
- Create a v2-scoped API key.
- Replace v1 verification calls using the endpoint mapping above.
- Update error handling for
application/problem+json. - Honor
Retry-Afteron 429 and 5xx retries. - Run a one-day shadow comparison against production data.
- Remove v1 traffic before 23 April 2027.
Questions about a migration? Email founders@arkova.ai.