Nylas · Schema

MigrationJob

CalendarCommunicationsContactsEmailMessagingSchedulingA2A

Properties

Name Type Description
job_id string An identifier for the migration job.
type string The type of job.
public_application_id string The ID of v3 application this job is running for.
status string The state of the job. - **Pending**: The job has been created, but not started. Batch clone runs only after the linked snapshot job is completed. - **Running**: The job is currently running. - **Compl
count_all integer A total number of accounts to be migrated. The total is a sum of the successful and failed migrations.
count_success integer The number of accounts that were successfully migrated.
count_failed integer The number of accounts that were unable to migrate.
count_warning integer The number of accounts that were migrated as invalid grants ("placeholder" grant ready for re-authentication).
created_at integer The time when the job was created, in seconds using the Unix timestamp format.
updated_at integer The time the job was updated, in seconds using the Unix timestamp format.
linked_job_id string The bulk migration tool creates two separate jobs that run one after the other. This ID links them together.
View JSON Schema on GitHub

JSON Schema

nylas-migration-job-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nylas/main/json-schema/nylas-migration-job-schema.json",
  "title": "MigrationJob",
  "x-generated": "2026-10-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nylas-app-migration-api-openapi.yml#/components/schemas/MigrationJob",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "job_id",
    "type",
    "public_application_id",
    "status",
    "count_all",
    "count_success",
    "count_failed",
    "count_warning",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "job_id": {
      "type": "string",
      "description": "An identifier for the migration job."
    },
    "type": {
      "type": "string",
      "description": "The type of job.",
      "enum": [
        "snapshot",
        "migration"
      ]
    },
    "public_application_id": {
      "type": "string",
      "description": "The ID of v3 application this job is running for."
    },
    "status": {
      "type": "string",
      "description": "The state of the job.\n\n- **Pending**: The job has been created, but not started. Batch clone runs only after the linked\nsnapshot job is completed.\n- **Running**: The job is currently running.\n- **Completed**: The job has successfully finished all migrations.\n- **Failed**: _All_ migrations failed.\n- **Partial**: The job successfully migrated _some_ accounts, but some could not be migrated or were created as \"placeholder\" grants.",
      "enum": [
        "pending",
        "running",
        "completed",
        "failed",
        "partial"
      ]
    },
    "count_all": {
      "type": "integer",
      "description": "A total number of accounts to be migrated. The total is a sum of the successful and failed migrations."
    },
    "count_success": {
      "type": "integer",
      "description": "The number of accounts that were successfully migrated."
    },
    "count_failed": {
      "type": "integer",
      "description": "The number of accounts that were unable to migrate."
    },
    "count_warning": {
      "type": "integer",
      "description": "The number of accounts that were migrated as invalid grants (\"placeholder\" grant ready for re-authentication)."
    },
    "created_at": {
      "type": "integer",
      "description": "The time when the job was created, in seconds using the Unix timestamp format."
    },
    "updated_at": {
      "type": "integer",
      "description": "The time the job was updated, in seconds using the Unix timestamp format."
    },
    "linked_job_id": {
      "type": "string",
      "description": "The bulk migration tool creates two separate jobs that run one after the other. This ID links them together."
    }
  }
}

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/nylas-migration-job"
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.