Certifyos · Schema

DirectoryRequest

Request body for starting a directory export job

CompanyHealthcareProvider DataCredentialingLicensingPayer EnrollmentPrimary Source VerificationProvider Network ManagementRoster ManagementCompliance MonitoringHealthcare APIWebhook

Properties

Name Type Description
responseFormat string Output format for the exported file. Supported values: `ndjson` (Newline Delimited JSON) or `csv` (Comma Separated Values), the default is `ndjson`. If not specified, defaults to 'ndjson'.
templateId string Optional egress template ID for a template-driven export. When provided, the export uses the template's column mappings instead of the legacy pipeline. The template must belong to the tenant and have
mappingsCsvUrl string Optional GCS URL to column mappings CSV for template pipeline
filters object Optional NPI and/or TIN filters. When provided, only matching entities are exported and both fields are combined with OR logic. TIN-only filters are rejected for practitioners exports (400).
from string Start of the export window as a UTC calendar date (`yyyy-MM-dd`, inclusive). Required together with `to` when `templateId` is a Manual Change File template; rejected with 400 for Scheduled Change File
to string End of the export window as a UTC calendar date (`yyyy-MM-dd`, inclusive); must not precede `from`. See `from`.
View JSON Schema on GitHub

JSON Schema

certifyos-directory-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-directory-request-schema.json",
  "title": "DirectoryRequest",
  "description": "Request body for starting a directory export job",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/certifyos-directory-api-openapi.yml#/components/schemas/DirectoryRequest",
  "type": "object",
  "properties": {
    "responseFormat": {
      "$ref": "#/$defs/DirectoryExportOutputFormat",
      "type": "string",
      "enum": [
        "ndjson",
        "csv"
      ],
      "description": "Output format for the exported file. Supported values: `ndjson` (Newline Delimited JSON) or `csv` (Comma Separated Values), the default is `ndjson`. If not specified, defaults to 'ndjson'."
    },
    "templateId": {
      "type": "string",
      "description": "Optional egress template ID for a template-driven export. When provided, the export uses the template's column mappings instead of the legacy pipeline. The template must belong to the tenant and have status=active, or the request fails with 400. If `responseFormat` is also supplied, it must match the template's configured output format or the request fails with 400."
    },
    "mappingsCsvUrl": {
      "type": "string",
      "description": "Optional GCS URL to column mappings CSV for template pipeline"
    },
    "filters": {
      "$ref": "#/$defs/Filters1",
      "type": "object",
      "description": "Optional NPI and/or TIN filters. When provided, only matching entities are exported and both fields are combined with OR logic. TIN-only filters are rejected for practitioners exports (400)."
    },
    "from": {
      "type": "string",
      "description": "Start of the export window as a UTC calendar date (`yyyy-MM-dd`, inclusive). Required together with `to` when `templateId` is a Manual Change File template; rejected with 400 for Scheduled Change File templates and for full roster exports."
    },
    "to": {
      "type": "string",
      "description": "End of the export window as a UTC calendar date (`yyyy-MM-dd`, inclusive); must not precede `from`. See `from`."
    }
  },
  "$defs": {
    "DirectoryExportOutputFormat": {
      "type": "string",
      "enum": [
        "ndjson",
        "csv"
      ]
    },
    "Filters1": {
      "type": "object",
      "description": "NPI and/or TIN filter criteria",
      "properties": {
        "npi": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of NPIs to filter by (each must be exactly 10 digits). Capped at 100 entries by default; omit to export all NPIs."
        },
        "tin": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of TINs to filter by (each must be exactly 9 digits). Capped at 100 entries by default; omit to export all TINs. Not supported for practitioners exports when npi is absent."
        }
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/certifyos-directory-request"
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.