Get record
GET /v1/organisations/{organisation_id}/spaces/{space_id}/collections/{name}/records/{record_id}
One record.
Authentication
Send an API key, or an access token from your organisation’s identity provider, in the Authorization header. How API keys work
Scope the API key needs: records:read
Security schemes in the OpenAPI document: session_cookie (cookie __Host-ivy_session)bearer (bearer)api_key (bearer)
Parameters
-
organisation_idpathstringrequired -
space_idpathstringrequired -
namepathstringrequired -
record_idpathstringrequired
Responses
-
The record;
ETag: "r{revision}" -
unauthenticated -
workspace_content_restricted,insufficient_scope -
No such space,
collection_missing,record_missing, or collections are off -
collection_detached -
rate_limited: the API key's requests per minute are used up; retry afterRetry-Afterseconds -
internal -
unavailable: the database is briefly unavailable; retry afterRetry-Afterseconds
Error codes
Errors come back as an ErrorBody whose code is one of these.
- 401
unauthenticated - 403
workspace_content_restrictedinsufficient_scope - 404
collection_missingrecord_missing - 409
collection_detached - 429
rate_limited - 500
internal - 503
unavailable
Examples
curl "$IVY_API_URL/v1/organisations/$ORGANISATION_ID/spaces/$SPACE_ID/collections/$NAME/records/$RECORD_ID" \
-H "Authorization: Bearer $IVY_API_KEY" import { client, getRecord } from "@spacivapp/ivy-sdk";
client.setConfig({
baseUrl: process.env.IVY_API_URL,
headers: { Authorization: `Bearer ${process.env.IVY_API_KEY}` },
});
const { data, error, response } = await getRecord({
path: { organisation_id: organisationId, space_id: spaceId, name, record_id: recordId },
}); {
"collection": "string",
"collection_id": "collection_123",
"created_at": "2026-01-15T09:30:00Z",
"created_by": {
"id": "id_123",
"type": "user"
},
"fields": {},
"id": "id_123",
"origin": {
"ask_id": "ask_123",
"index": 0,
"kind": "ask",
"run_id": "run_123"
},
"problems": [
{
"code": "not_found",
"field": "string"
}
],
"ranks": {},
"revision": 0,
"schema": "string",
"source": {
"provider": "ivy"
},
"sync": {
"conflict": {
"at": "2026-01-15T09:30:00Z",
"by": {},
"fields": []
},
"error": {
"at": "2026-01-15T09:30:00Z",
"code": "not_found"
},
"pending": {
"at": "2026-01-15T09:30:00Z",
"base_remote_updated_at": "2026-01-15T09:30:00Z",
"before": {},
"by": {},
"fields": {},
"write_id": "write_123"
},
"remote_updated_at": "2026-01-15T09:30:00Z"
},
"updated_at": "2026-01-15T09:30:00Z",
"updated_by": {
"id": "id_123",
"type": "user"
}
}