Properties
| Name | Type | Description |
|---|---|---|
| links | object | Pagination links. |
| meta | object | Pagination metadata. |
| data | array | The page of resources. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/clarifymedical/main/json-schema/clarifymedical-list-of-activities-response-schema.json",
"title": "ListOfActivitiesResponse",
"x-generated": "2026-10-09",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/clarifymedical-openapi.json#/components/schemas/ListOfActivitiesResponse",
"type": "object",
"properties": {
"links": {
"type": "object",
"properties": {
"next": {
"type": [
"string",
"null"
],
"description": "URL of the next page, or `null` on the last page."
},
"prev": {
"type": [
"string",
"null"
],
"description": "URL of the previous page, or `null` on the first page."
}
},
"required": [
"next",
"prev"
],
"description": "Pagination links."
},
"meta": {
"type": "object",
"properties": {
"total_records": {
"type": "number",
"description": "Total number of records across all pages."
},
"total_pages": {
"type": "number",
"description": "Total number of pages at the current page size."
}
},
"required": [
"total_records",
"total_pages"
],
"description": "Pagination metadata."
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"activity"
],
"description": "The resource type; matches the `object` path parameter."
},
"id": {
"type": "string",
"description": "The unique ID of the resource."
},
"attributes": {
"type": "object",
"properties": {
"_id": {
"type": "string",
"description": "The ID of the earliest event in the grouped activity."
},
"_created_at": {
"type": "string",
"format": "date-time",
"description": "The time the earliest event in the group was created."
},
"aggKey": {
"type": "string",
"description": "The key the events were grouped by, combining the record and change type."
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"_id": {
"type": "string",
"minLength": 1,
"description": "The unique ID of the event."
},
"_created_at": {
"type": "string",
"format": "date-time",
"description": "When the event occurred."
},
"type": {
"type": "string",
"enum": [
"clarify:create",
"ClarifyCreate",
"clarify:update",
"ClarifyUpdate",
"clarify:merge",
"ClarifyMerge",
"clarify:delete",
"ClarifyDelete",
"clarify:add-to-list",
"ClarifyAddToList",
"clarify:remove-from-list",
"ClarifyRemoveFromList",
"clarify:set-relationship",
"ClarifySetRelationship",
"clarify:unset-relationship",
"ClarifyUnsetRelationship",
"clarify:grant-access",
"ClarifyGrantAccess",
"clarify:update-access",
"ClarifyUpdateAccess",
"clarify:revoke-access",
"ClarifyRevokeAccess",
"clarify:access-request-created",
"ClarifyAccessRequestCreated",
"clarify:access-request-decided",
"ClarifyAccessRequestDecided",
"clarify:meeting",
"ClarifyMeeting"
],
"description": "The kind of change the event represents."
},
"actor": {
"type": "object",
"properties": {
"_id": {
"type": [
"string",
"null"
],
"description": "The ID of the record this item refers to, or `null` if anonymous."
},
"anonymous_id": {
"type": [
"string",
"null"
],
"description": "The anonymous identifier for the item when no record ID is known, or `null`."
},
"entity": {
"type": "string",
"description": "The object type of the item, e.g. `person`."
},
"data": {
"type": "object",
"additionalProperties": {},
"description": "A snapshot of the item’s field values at the time of the event."
},
"diff": {
"type": "array",
"items": {
"type": "object",
"properties": {
"op": {
"type": "string",
"enum": [
"add",
"update",
"delete"
],
"description": "The kind of change: `add`, `update`, or `delete`."
},
"path": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"description": "The path to the changed field within the record, as a list of keys and array indices."
},
"val": {
"description": "The new value at the path."
},
"oldVal": {
"description": "The previous value at the path, if the change replaced an existing value."
}
},
"required": [
"op",
"path"
]
},
"description": "The list of field-level changes the event applied to the item."
},
"source_id": {
"type": [
"string",
"null"
],
"description": "The identifier of the source that produced the event (e.g. an integration), or `null`."
}
},
"required": [
"_id",
"anonymous_id",
"entity",
"source_id"
],
"description": "Who or what triggered the change."
},
"object": {
"type": "object",
"properties": {
"_id": {
"type": [
"string",
"null"
],
"description": "The ID of the record this item refers to, or `null` if anonymous."
},
"anonymous_id": {
"type": [
"string",
"null"
],
"description": "The anonymous identifier for the item when no record ID is known, or `null`."
},
"entity": {
"type": "string",
"description": "The object type of the item, e.g. `person`."
},
"data": {
"type": "object",
"additionalProperties": {},
"description": "A snapshot of the item’s field values at the time of the event."
},
"diff": {
"type": "array",
"items": {
"type": "object",
"properties": {
"op": {
"type": "string",
"enum": [
"add",
"update",
"delete"
],
"description": "The kind of change: `add`, `update`, or `delete`."
},
"path": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"description": "The path to the changed field within the record, as a list of keys and array indices."
},
"val": {
"description": "The new value at the path."
},
"oldVal": {
"description": "The previous value at the path, if the change replaced an existing value."
}
},
"required": [
"op",
"path"
]
},
"description": "The list of field-level changes the event applied to the item."
}
},
"required": [
"_id",
"anonymous_id",
"entity"
],
"description": "The record the change was applied to; may be absent on partial stored events."
},
"relationship": {
"type": "string",
"description": "The relationship field involved, for relationship-change events."
},
"ref": {
"type": "object",
"properties": {
"_id": {
"type": [
"string",
"null"
],
"description": "The ID of the record this item refers to, or `null` if anonymous."
},
"anonymous_id": {
"type": [
"string",
"null"
],
"description": "The anonymous identifier for the item when no record ID is known, or `null`."
},
"entity": {
"type": "string",
"description": "The object type of the item, e.g. `person`."
},
"data": {
"type": "object",
"additionalProperties": {},
"description": "A snapshot of the item’s field values at the time of the event."
},
"diff": {
"type": "array",
"items": {
"type": "object",
"properties": {
"op": {
"type": "string",
"enum": [
"add",
"update",
"delete"
],
"description": "The kind of change: `add`, `update`, or `delete`."
},
"path": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"description": "The path to the changed field within the record, as a list of keys and array indices."
},
"val": {
"description": "The new value at the path."
},
"oldVal": {
"description": "The previous value at the path, if the change replaced an existing value."
}
},
"required": [
"op",
"path"
]
},
"description": "The list of field-level changes the event applied to the item."
}
},
"required": [
"_id",
"anonymous_id",
"entity"
],
"description": "The related record referenced by the change, for relationship events."
},
"refs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"_id": {
"type": [
"string",
"null"
],
"description": "The ID of the record this item refers to, or `null` if anonymous."
},
"anonymous_id": {
"type": [
"string",
"null"
],
"description": "The anonymous identifier for the item when no record ID is known, or `null`."
},
"entity": {
"type": "string",
"description": "The object type of the item, e.g. `person`."
},
"data": {
"type": "object",
"additionalProperties": {},
"description": "A snapshot of the item’s field values at the time of the event."
},
"diff": {
"type": "array",
"items": {
"type": "object",
"properties": {
"op": {
"type": "string",
"enum": [
"add",
"update",
"delete"
],
"description": "The kind of change: `add`, `update`, or `delete`."
},
"path": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"description": "The path to the changed field within the record, as a list of keys and array indices."
},
"val": {
"description": "The new value at the path."
},
"oldVal": {
"description": "The previous value at the path, if the change replaced an existing value."
}
},
"required": [
"op",
"path"
]
},
"description": "The list of field-level changes the event applied to the item."
}
},
"required": [
"_id",
"anonymous_id",
"entity"
]
},
"description": "The related records referenced by the change, for relationship events."
},
"origin": {
"type": "object",
"properties": {
"_id": {
"type": [
"string",
"null"
],
"description": "The ID of the record this item refers to, or `null` if anonymous."
},
"anonymous_id": {
"type": [
"string",
"null"
],
"description": "The anonymous identifier for the item when no record ID is known, or `null`."
},
"entity": {
"type": "string",
"description": "The object type of the item, e.g. `person`."
},
"data": {
"type": "object",
"additionalProperties": {},
"description": "A snapshot of the item’s field values at the time of the event."
},
"diff": {
"type": "array",
"items": {
"type": "object",
"properties": {
"op": {
"type": "string",
"enum": [
"add",
"update",
"delete"
],
"description": "The kind of change: `add`, `update`, or `delete`."
},
"path": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"description": "The path to the changed field within the record, as a list of keys and array indices."
},
"val": {
"description": "The new value at the path."
},
"oldVal": {
"description": "The previous value at the path, if the change replaced an existing value."
}
},
"required": [
"op",
"path"
]
},
"description": "The list of field-level changes the event applied to the item."
}
},
"required": [
"_id",
"anonymous_id",
"entity"
],
"description": "The origin record, for merge events."
},
"target": {
"type": "object",
"properties": {
"_id": {
"type": [
"string",
"null"
],
"description": "The ID of the record this item refers to, or `null` if anonymous."
},
"anonymous_id": {
"type": [
"string",
"null"
],
"description": "The anonymous identifier for the item when no record ID is known, or `null`."
},
"entity": {
"type": "string",
"description": "The object type of the item, e.g. `person`."
},
"data": {
"type": "object",
"additionalProperties": {},
"description": "A snapshot of the item’s field values at the time of the event."
},
"diff": {
"type": "array",
"items": {
"type": "object",
"properties": {
"op": {
"type": "string",
"enum": [
"add",
"update",
"delete"
],
"description": "The kind of change: `add`, `update`, or `delete`."
},
"path": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"description": "The path to the changed field within the record, as a list of keys and array indices."
},
"val": {
"description": "The new value at the path."
},
"oldVal": {
"description": "The previous value at the path, if the change replaced an existing value."
}
},
"required": [
"op",
"path"
]
},
"description": "The list of field-level changes the event applied to the item."
}
},
"required": [
"_id",
"anonymous_id",
"entity"
],
"description": "The target record, for merge events."
}
},
"required": [
"_id",
"_created_at",
"type",
"actor"
]
},
"description": "The change events that make up this activity."
}
},
"required": [
"_id",
"_created_at",
"aggKey",
"data"
],
"description": "Field values keyed by field name; available fields depend on the object’s schema."
},
"relationships": {
"type": "object",
"properties": {},
"description": "Related resources keyed by relationship name, present when requested via `include`."
}
},
"required": [
"type",
"id",
"attributes"
]
},
"description": "The page of resources."
}
},
"required": [
"links",
"meta",
"data"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/clarifymedical-list-of-activities-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.