---
title: "Test a CMDB table"
method: GET
path: "/enrichment/integrations/servicenow/{integration_id}/tables/{table_id}/test"
tags: ["Enrichment Integrations"]
---

# Test a CMDB table

`GET /enrichment/integrations/servicenow/{integration_id}/tables/{table_id}/test`

Validates a ServiceNow CMDB table configuration by running a live query against ServiceNow and returning up to 10 sample records. Use this before enabling synchronization to confirm that the credentials, table name, query filter, and mapped fields are correct. Records are returned keyed by ServiceNow field name.

<!-- theme: warning -->

> ### Early Access
> This API is in Early Access and may change at any time. Contact your PagerDuty account team to request access.

Scoped OAuth requires: `contextual_data.read`

## Path parameters

- `integration_id` string, required
- `table_id` string, required

## Headers

- `Accept` string, required

## Response `200`

Up to 10 sample records returned from a live query against ServiceNow. The records are keyed by ServiceNow field name (not the mapped `event_field` names), so you can verify that the correct ServiceNow fields are configured.

- object
  - `enrichment_data` object[] — Sample records retrieved from ServiceNow, each keyed by ServiceNow field name.

## Other responses

- `400` — Caller provided invalid arguments. Please review the response for error details. Retrying with the same arguments will *not* work.
- `401` — Caller did not supply credentials or did not provide the correct credentials. If you are using an API key, it may be invalid or your Authorization header may be malformed.
- `403` — Caller is not authorized to view the requested resource. While your authentication is valid, the authenticated user or token does not have permission to perform this action.
- `404` — The requested resource was not found.
- `429` — Too many requests have been made, the rate limit has been reached.
- `500` — Internal Server Error the PagerDuty server experienced an error.

---

[API](https://skmtc.net/pagerduty/apis/rest-api.md) · [All operations](https://skmtc.net/pagerduty/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pagerduty/rest-api/versions/b679a8f3f02c/schema)
