Postman · Schema

getSpecFile

Information about the API specification file.

EnvironmentFlowSpecificationWorkspacePostmanAI Agent BuilderAI AgentsAPI CatalogAPI ClientAPI DesignAPI DevelopmentAPI DocumentationAPI GovernanceAPI LifecycleAPI MonitoringAPI NetworkAPI PlatformAPI TestingAudit LogsAutomationCI/CDCollaborationCollectionComplianceDiscoveryGraphQLgRPCHTTPInsightsMCPMCP GeneratorMock ServersMockingMonitorsNewmanOpenAPIPlatformPrivate API NetworkPublic API NetworkSecret ScanningSpec HubSSOTestingVaultWebSocketWorkflows

Properties

Name Type Description
id string The file's ID.
name string The file's name.
path string The file's path.
createdBy integer The user ID of the user that created the file.
updatedBy integer The ID of the user who updated the file.
createdAt string The date and time at which the file was created.
updatedAt string The date and time at which the file was updated.
type object The type of file: - `ROOT` — A file containing the full OpenAPI structure and references other (DEFAULT) spec files. - `DEFAULT` — A file referenced by the `ROOT` file.
content string The file's stringified contents.
View JSON Schema on GitHub

JSON Schema

postman-get-spec-file-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/postman/main/json-schema/postman-get-spec-file-schema.json",
  "title": "getSpecFile",
  "description": "Information about the API specification file.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postman-specs-api-openapi.yml#/components/schemas/getSpecFile",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The file's ID."
    },
    "name": {
      "type": "string",
      "description": "The file's name."
    },
    "path": {
      "type": "string",
      "description": "The file's path."
    },
    "createdBy": {
      "type": "integer",
      "description": "The user ID of the user that created the file."
    },
    "updatedBy": {
      "type": "integer",
      "description": "The ID of the user who updated the file."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time at which the file was created."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time at which the file was updated."
    },
    "type": {
      "$ref": "#/$defs/GetSpecFileType",
      "description": "The type of file:\n- `ROOT` — A file containing the full OpenAPI structure and references other (DEFAULT) spec files.\n- `DEFAULT` — A file referenced by the `ROOT` file.\n"
    },
    "content": {
      "type": "string",
      "description": "The file's stringified contents."
    }
  },
  "$defs": {
    "GetSpecFileType": {
      "type": "string",
      "enum": [
        "ROOT",
        "DEFAULT"
      ],
      "description": "The type of file:\n- `ROOT` — A file containing the full OpenAPI structure and references other (DEFAULT) spec files.\n- `DEFAULT` — A file referenced by the `ROOT` file.\n",
      "title": "GetSpecFileType"
    }
  }
}

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/postman-get-spec-file"
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.