Request body
This operation has no request body.
API REFERENCE · Counterparties
Complete request parameters, body fields, response formats, examples, and errors for GET /counterparties/{id}/history.
Base URL: https://www.sanctionskit.com/api/v1. Documentation examples are saved and require no API key to read.
/counterparties/{id}/historyPage through linked history including truthful expired evidence metadataAuthentication: Authorization: Bearer YOUR_API_KEY (required). Use a server-side key for the intended environment and scopes.
Required API key scope: results:read.
idAuthorization (required)This operation has no request body.
idpathRequiredOpaque resource identifier owned by the authenticated organization.
Format: uuid.
limitqueryOptionalMaximum number of items to return. A response may contain fewer items; use its next cursor to decide whether another page exists.
Minimum: 1. Maximum: 100. Default: 25.
cursorqueryOptionalPass nextCursor from the previous page; omit for the first page. Continue until the response cursor is null. Keep the same filters between pages.
Format: uuid.
kindqueryOptionalSelect which linked resource history to return. The value determines the item response shape.
Values: "screenings", "cases", "monitors". Default: "screenings".
This operation has no request body.
X-Request-IdServer-generated request correlation identifier.
Format: uuid.
application/jsonRequired means present in the containing object. Optional fields may be omitted; null is allowed only where stated. Array item fields apply to every item.
dataRequireddata .itemsRequiredEach array item: CounterpartyScreeningHistory or CounterpartyCaseHistory or CounterpartyMonitorHistory.
Allowed alternatives
See all CounterpartyScreeningHistory fields for the complete structure, required properties and constraints.
See all CounterpartyCaseHistory fields for the complete structure, required properties and constraints.
See all CounterpartyMonitorHistory fields for the complete structure, required properties and constraints.
data .totalRequiredMinimum: 0.
data .nextCursorRequiredMay be null.
Allowed alternatives
May be null.
Recorded from the real application handler against an isolated synthetic database. IDs, times and nonfunctional temporary secrets are normalized. No customer data or live provider request.
{
"data": {
"items": [
{
"id": "00000000-0000-4000-8000-000000000001",
"created_at": "2026-09-17T12:00:00.000Z",
"expires_at": "2026-09-17T12:00:00.000Z",
"status": "potential_match",
"evidence_state": "available"
}
],
"total": 1,
"nextCursor": null
}
}X-Request-IdServer-generated correlation identifier, also returned in error.requestId.
Format: uuid.
application/jsonView Error schemaRequired means present in the containing object. Optional fields may be omitted; null is allowed only where stated. Array item fields apply to every item.
Failure envelope for every documented non-2xx API response. No data property is returned. Switch on error.code; messages may change.
errorRequirederror .codeRequiredMachine-readable failure code. See this operation’s status-specific examples for codes and recovery.
error .messageRequiredHuman-readable explanation. Do not parse this text to control application behavior.
error .requestIdRequiredServer correlation ID, also returned in X-Request-Id. Include this ID in support requests.
Format: uuid.
error .detailsOptionalOptional JSON details for client and validation failures. Validation failures return an array of { path, message } issues; other 4xx codes may return a code-specific object. Server failures omit details. Never assume this key is present.
Allowed alternatives
Maximum items: 50.
Each array item: object.
error .details[] .pathRequiredDot-separated invalid field path, including array indexes.
Maximum length: 160.
error .details[] .messageRequiredValidation problem for this field.
Maximum length: 300.
Additional keys are allowed; their values are not a fixed contract.
May be null.
error .detailsTruncatedOptionalTrue when only the first 50 validation issues are returned. Validation paths and messages are bounded.
Synthetic error example. Correct the request fields, resource identifiers, JSON body or query parameters before retrying.
{
"error": {
"code": "invalid_request",
"message": "The request is invalid.",
"requestId": "01234567-89ab-4cde-8f01-23456789abcd"
}
}X-Request-IdServer-generated correlation identifier, also returned in error.requestId.
Format: uuid.
WWW-AuthenticateBearer authentication challenge.
application/jsonView Error schemaRequired means present in the containing object. Optional fields may be omitted; null is allowed only where stated. Array item fields apply to every item.
Failure envelope for every documented non-2xx API response. No data property is returned. Switch on error.code; messages may change.
errorRequirederror .codeRequiredMachine-readable failure code. See this operation’s status-specific examples for codes and recovery.
error .messageRequiredHuman-readable explanation. Do not parse this text to control application behavior.
error .requestIdRequiredServer correlation ID, also returned in X-Request-Id. Include this ID in support requests.
Format: uuid.
error .detailsOptionalOptional JSON details for client and validation failures. Validation failures return an array of { path, message } issues; other 4xx codes may return a code-specific object. Server failures omit details. Never assume this key is present.
Allowed alternatives
Maximum items: 50.
Each array item: object.
error .details[] .pathRequiredDot-separated invalid field path, including array indexes.
Maximum length: 160.
error .details[] .messageRequiredValidation problem for this field.
Maximum length: 300.
Additional keys are allowed; their values are not a fixed contract.
May be null.
error .detailsTruncatedOptionalTrue when only the first 50 validation issues are returned. Validation paths and messages are bounded.
Synthetic error example. Send Authorization: Bearer with a valid API key. An omitted header can produce authentication_required; invalid supplied credentials produce invalid_api_key.
{
"error": {
"code": "authentication_required",
"message": "Sign in to continue.",
"requestId": "01234567-89ab-4cde-8f01-23456789abcd"
}
}Synthetic error example. Use an active key for the intended environment.
{
"error": {
"code": "invalid_api_key",
"message": "The API key is invalid, expired, or revoked.",
"requestId": "01234567-89ab-4cde-8f01-23456789abcd"
}
}X-Request-IdServer-generated correlation identifier, also returned in error.requestId.
Format: uuid.
application/jsonView Error schemaRequired means present in the containing object. Optional fields may be omitted; null is allowed only where stated. Array item fields apply to every item.
Failure envelope for every documented non-2xx API response. No data property is returned. Switch on error.code; messages may change.
errorRequirederror .codeRequiredMachine-readable failure code. See this operation’s status-specific examples for codes and recovery.
error .messageRequiredHuman-readable explanation. Do not parse this text to control application behavior.
error .requestIdRequiredServer correlation ID, also returned in X-Request-Id. Include this ID in support requests.
Format: uuid.
error .detailsOptionalOptional JSON details for client and validation failures. Validation failures return an array of { path, message } issues; other 4xx codes may return a code-specific object. Server failures omit details. Never assume this key is present.
Allowed alternatives
Maximum items: 50.
Each array item: object.
error .details[] .pathRequiredDot-separated invalid field path, including array indexes.
Maximum length: 160.
error .details[] .messageRequiredValidation problem for this field.
Maximum length: 300.
Additional keys are allowed; their values are not a fixed contract.
May be null.
error .detailsTruncatedOptionalTrue when only the first 50 validation issues are returned. Validation paths and messages are bounded.
Synthetic error example. Ask an organization owner to grant the required role or API-key scope.
{
"error": {
"code": "permission_denied",
"message": "Your role does not allow this action.",
"requestId": "01234567-89ab-4cde-8f01-23456789abcd"
}
}Synthetic error example. Use a key with the scope stated in this operation.
{
"error": {
"code": "insufficient_scope",
"message": "The API key does not grant this action.",
"requestId": "01234567-89ab-4cde-8f01-23456789abcd"
}
}X-Request-IdServer-generated correlation identifier, also returned in error.requestId.
Format: uuid.
application/jsonView Error schemaRequired means present in the containing object. Optional fields may be omitted; null is allowed only where stated. Array item fields apply to every item.
Failure envelope for every documented non-2xx API response. No data property is returned. Switch on error.code; messages may change.
errorRequirederror .codeRequiredMachine-readable failure code. See this operation’s status-specific examples for codes and recovery.
error .messageRequiredHuman-readable explanation. Do not parse this text to control application behavior.
error .requestIdRequiredServer correlation ID, also returned in X-Request-Id. Include this ID in support requests.
Format: uuid.
error .detailsOptionalOptional JSON details for client and validation failures. Validation failures return an array of { path, message } issues; other 4xx codes may return a code-specific object. Server failures omit details. Never assume this key is present.
Allowed alternatives
Maximum items: 50.
Each array item: object.
error .details[] .pathRequiredDot-separated invalid field path, including array indexes.
Maximum length: 160.
error .details[] .messageRequiredValidation problem for this field.
Maximum length: 300.
Additional keys are allowed; their values are not a fixed contract.
May be null.
error .detailsTruncatedOptionalTrue when only the first 50 validation issues are returned. Validation paths and messages are bounded.
Synthetic error example. Check the identifier and selected environment. The resource must belong to your organization and remain available.
{
"error": {
"code": "not_found",
"message": "Counterparty not found.",
"requestId": "01234567-89ab-4cde-8f01-23456789abcd"
}
}X-Request-IdServer-generated correlation identifier, also returned in error.requestId.
Format: uuid.
AllowComma-separated supported HTTP methods.
application/jsonView Error schemaRequired means present in the containing object. Optional fields may be omitted; null is allowed only where stated. Array item fields apply to every item.
Failure envelope for every documented non-2xx API response. No data property is returned. Switch on error.code; messages may change.
errorRequirederror .codeRequiredMachine-readable failure code. See this operation’s status-specific examples for codes and recovery.
error .messageRequiredHuman-readable explanation. Do not parse this text to control application behavior.
error .requestIdRequiredServer correlation ID, also returned in X-Request-Id. Include this ID in support requests.
Format: uuid.
error .detailsOptionalOptional JSON details for client and validation failures. Validation failures return an array of { path, message } issues; other 4xx codes may return a code-specific object. Server failures omit details. Never assume this key is present.
Allowed alternatives
Maximum items: 50.
Each array item: object.
error .details[] .pathRequiredDot-separated invalid field path, including array indexes.
Maximum length: 160.
error .details[] .messageRequiredValidation problem for this field.
Maximum length: 300.
Additional keys are allowed; their values are not a fixed contract.
May be null.
error .detailsTruncatedOptionalTrue when only the first 50 validation issues are returned. Validation paths and messages are bounded.
Synthetic error example. Use a method in the Allow response header. OPTIONS lists supported methods; HEAD follows GET authorization and returns no body.
{
"error": {
"code": "method_not_allowed",
"message": "This method is not supported for this endpoint.",
"requestId": "01234567-89ab-4cde-8f01-23456789abcd"
}
}X-Request-IdServer-generated correlation identifier, also returned in error.requestId.
Format: uuid.
application/jsonView Error schemaRequired means present in the containing object. Optional fields may be omitted; null is allowed only where stated. Array item fields apply to every item.
Failure envelope for every documented non-2xx API response. No data property is returned. Switch on error.code; messages may change.
errorRequirederror .codeRequiredMachine-readable failure code. See this operation’s status-specific examples for codes and recovery.
error .messageRequiredHuman-readable explanation. Do not parse this text to control application behavior.
error .requestIdRequiredServer correlation ID, also returned in X-Request-Id. Include this ID in support requests.
Format: uuid.
error .detailsOptionalOptional JSON details for client and validation failures. Validation failures return an array of { path, message } issues; other 4xx codes may return a code-specific object. Server failures omit details. Never assume this key is present.
Allowed alternatives
Maximum items: 50.
Each array item: object.
error .details[] .pathRequiredDot-separated invalid field path, including array indexes.
Maximum length: 160.
error .details[] .messageRequiredValidation problem for this field.
Maximum length: 300.
Additional keys are allowed; their values are not a fixed contract.
May be null.
error .detailsTruncatedOptionalTrue when only the first 50 validation issues are returned. Validation paths and messages are bounded.
Synthetic error example. Use nextCursor from this counterparty and the same history kind.
{
"error": {
"code": "invalid_cursor",
"message": "This history cursor does not belong to the selected counterparty.",
"requestId": "01234567-89ab-4cde-8f01-23456789abcd"
}
}X-Request-IdServer-generated correlation identifier, also returned in error.requestId.
Format: uuid.
application/jsonView Error schemaRequired means present in the containing object. Optional fields may be omitted; null is allowed only where stated. Array item fields apply to every item.
Failure envelope for every documented non-2xx API response. No data property is returned. Switch on error.code; messages may change.
errorRequirederror .codeRequiredMachine-readable failure code. See this operation’s status-specific examples for codes and recovery.
error .messageRequiredHuman-readable explanation. Do not parse this text to control application behavior.
error .requestIdRequiredServer correlation ID, also returned in X-Request-Id. Include this ID in support requests.
Format: uuid.
error .detailsOptionalOptional JSON details for client and validation failures. Validation failures return an array of { path, message } issues; other 4xx codes may return a code-specific object. Server failures omit details. Never assume this key is present.
Allowed alternatives
Maximum items: 50.
Each array item: object.
error .details[] .pathRequiredDot-separated invalid field path, including array indexes.
Maximum length: 160.
error .details[] .messageRequiredValidation problem for this field.
Maximum length: 300.
Additional keys are allowed; their values are not a fixed contract.
May be null.
error .detailsTruncatedOptionalTrue when only the first 50 validation issues are returned. Validation paths and messages are bounded.
Synthetic error example. Reduce the requested page size or use the documented segmented case archive. No evidence is silently truncated.
{
"error": {
"code": "response_too_large",
"message": "This response exceeds the size limit. Request a smaller page or a segmented export.",
"requestId": "01234567-89ab-4cde-8f01-23456789abcd"
}
}X-Request-IdServer-generated correlation identifier, also returned in error.requestId.
Format: uuid.
Retry-AfterWhen present, a delay in seconds or an HTTP-date before which the client should not retry. Service-unavailable responses default to a one-second delay unless another safe value is supplied. A usage allowance error may require quota recovery instead of retrying.
application/jsonView Error schemaRequired means present in the containing object. Optional fields may be omitted; null is allowed only where stated. Array item fields apply to every item.
Failure envelope for every documented non-2xx API response. No data property is returned. Switch on error.code; messages may change.
errorRequirederror .codeRequiredMachine-readable failure code. See this operation’s status-specific examples for codes and recovery.
error .messageRequiredHuman-readable explanation. Do not parse this text to control application behavior.
error .requestIdRequiredServer correlation ID, also returned in X-Request-Id. Include this ID in support requests.
Format: uuid.
error .detailsOptionalOptional JSON details for client and validation failures. Validation failures return an array of { path, message } issues; other 4xx codes may return a code-specific object. Server failures omit details. Never assume this key is present.
Allowed alternatives
Maximum items: 50.
Each array item: object.
error .details[] .pathRequiredDot-separated invalid field path, including array indexes.
Maximum length: 160.
error .details[] .messageRequiredValidation problem for this field.
Maximum length: 300.
Additional keys are allowed; their values are not a fixed contract.
May be null.
error .detailsTruncatedOptionalTrue when only the first 50 validation issues are returned. Validation paths and messages are bounded.
Synthetic error example. Wait for the request window to reset and retry with backoff.
{
"error": {
"code": "rate_limited",
"message": "The per-minute request limit has been reached.",
"requestId": "01234567-89ab-4cde-8f01-23456789abcd"
}
}X-Request-IdServer-generated correlation identifier, also returned in error.requestId.
Format: uuid.
application/jsonView Error schemaRequired means present in the containing object. Optional fields may be omitted; null is allowed only where stated. Array item fields apply to every item.
Failure envelope for every documented non-2xx API response. No data property is returned. Switch on error.code; messages may change.
errorRequirederror .codeRequiredMachine-readable failure code. See this operation’s status-specific examples for codes and recovery.
error .messageRequiredHuman-readable explanation. Do not parse this text to control application behavior.
error .requestIdRequiredServer correlation ID, also returned in X-Request-Id. Include this ID in support requests.
Format: uuid.
error .detailsOptionalOptional JSON details for client and validation failures. Validation failures return an array of { path, message } issues; other 4xx codes may return a code-specific object. Server failures omit details. Never assume this key is present.
Allowed alternatives
Maximum items: 50.
Each array item: object.
error .details[] .pathRequiredDot-separated invalid field path, including array indexes.
Maximum length: 160.
error .details[] .messageRequiredValidation problem for this field.
Maximum length: 300.
Additional keys are allowed; their values are not a fixed contract.
May be null.
error .detailsTruncatedOptionalTrue when only the first 50 validation issues are returned. Validation paths and messages are bounded.
Synthetic error example. Retry with backoff. For writes reuse the same idempotency key and identical input; include requestId when contacting support.
{
"error": {
"code": "internal_error",
"message": "The request could not be completed.",
"requestId": "01234567-89ab-4cde-8f01-23456789abcd"
}
}X-Request-IdServer-generated correlation identifier, also returned in error.requestId.
Format: uuid.
Retry-AfterWhen present, a delay in seconds or an HTTP-date before which the client should not retry. Service-unavailable responses default to a one-second delay unless another safe value is supplied. A usage allowance error may require quota recovery instead of retrying.
application/jsonView Error schemaRequired means present in the containing object. Optional fields may be omitted; null is allowed only where stated. Array item fields apply to every item.
Failure envelope for every documented non-2xx API response. No data property is returned. Switch on error.code; messages may change.
errorRequirederror .codeRequiredMachine-readable failure code. See this operation’s status-specific examples for codes and recovery.
error .messageRequiredHuman-readable explanation. Do not parse this text to control application behavior.
error .requestIdRequiredServer correlation ID, also returned in X-Request-Id. Include this ID in support requests.
Format: uuid.
error .detailsOptionalOptional JSON details for client and validation failures. Validation failures return an array of { path, message } issues; other 4xx codes may return a code-specific object. Server failures omit details. Never assume this key is present.
Allowed alternatives
Maximum items: 50.
Each array item: object.
error .details[] .pathRequiredDot-separated invalid field path, including array indexes.
Maximum length: 160.
error .details[] .messageRequiredValidation problem for this field.
Maximum length: 300.
Additional keys are allowed; their values are not a fixed contract.
May be null.
error .detailsTruncatedOptionalTrue when only the first 50 validation issues are returned. Validation paths and messages are bounded.
Synthetic error example. Honor Retry-After when present and retry with bounded backoff. Follow this endpoint’s retry contract; preserve the same key and input for idempotent writes. Contact support with requestId if the failure persists.
{
"error": {
"code": "temporarily_unavailable",
"message": "The service is temporarily unavailable. Retry shortly.",
"requestId": "01234567-89ab-4cde-8f01-23456789abcd"
}
}