JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/pipe0-com/json-schema/pipe0-com-pipe-payload-schema.json",
"title": "PipePayload",
"x-generated": "2026-11-21",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_original/pipe0-com-openapi-openapi.json#/components/schemas/PipePayload",
"oneOf": [
{
"type": "object",
"properties": {
"pipe_id": {
"type": "string",
"enum": [
"prompt:run@1"
]
},
"connector": {
"type": [
"object",
"null"
],
"properties": {
"strategy": {
"type": "string",
"enum": [
"first"
],
"default": "first"
},
"connections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"vault"
]
},
"connection": {
"type": "string"
}
},
"required": [
"type",
"connection"
]
}
}
},
"required": [
"connections"
]
},
"run_if": {
"type": [
"object",
"null"
],
"properties": {
"action": {
"type": "string",
"enum": [
"run"
],
"default": "run",
"description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
},
"when": {
"type": "object",
"properties": {
"logic": {
"type": "string",
"enum": [
"and",
"or"
],
"description": "\"and\" = all conditions must match. \"or\" = any condition matches."
},
"conditions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"property": {
"type": "string",
"enum": [
"value"
],
"description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
},
"field_name": {
"type": "string",
"minLength": 1,
"description": "Name of a field from the input data or produced by another pipe in the payload."
},
"operator": {
"type": "string",
"enum": [
"eq",
"neq",
"gt",
"gte",
"lt",
"lte",
"contains",
"not_contains",
"matches",
"older_than_days",
"within_last_days"
],
"description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
}
},
"required": [
"property",
"field_name",
"operator",
"value"
]
},
{
"type": "object",
"properties": {
"property": {
"type": "string",
"enum": [
"status"
],
"description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
},
"field_name": {
"type": "string",
"minLength": 1,
"description": "Name of a field from the input data or produced by another pipe in the payload."
},
"operator": {
"type": "string",
"enum": [
"eq",
"neq"
],
"description": "Status comparison operator: \"eq\" or \"neq\"."
},
"value": {
"type": "string",
"enum": [
"failed",
"no_result",
"completed",
"skipped",
"pending",
"yielded"
],
"description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
}
},
"required": [
"property",
"field_name",
"operator",
"value"
]
}
]
},
"minItems": 1,
"description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
}
},
"required": [
"logic",
"conditions"
],
"description": "Condition block. All conditions are combined with the chosen logic (and/or)."
}
},
"required": [
"when"
],
"description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
},
"config": {
"type": "object",
"properties": {
"prompt": {
"type": "object",
"properties": {
"template": {
"type": "string",
"minLength": 10,
"description": "Liquid prompt with `{{ field }}` input refs, `{{ field | default: \"\" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% output name, type: \"string\", format: \"long_text\", description: \"...\" %}` to declare model outputs. Set `format` on every output where one fits — it is what makes the column render as a link, a date or an expandable text instead of a truncated plain cell; omit it only when none fits. Pick by LENGTH, not sentences: free text that can exceed ~40 characters is long_text. Formats by type: string → address_line_1 (a street address), email (an email address), url (any link), website_url (a company homepage), markdown (only when the prompt asks the model to write markdown), long_text (any free text that can run past ~40 characters, even on one line — headlines, bios, summaries, descriptions, rationales; the cell truncates and opens in a side panel), zip_code (a postal code), date (a calendar date), datetime (a timestamp), phone (a phone number), text (only values that always fit a narrow cell (under ~40 characters) — names, job titles, labels, categories), profile_url (a social profile link), domain (a bare domain like acme.com); json → json_object (a single object), json_list (a list); number → int (whole numbers — counts, scores), decimal (fractional numbers); boolean → no format; unknown → no format. Supports `{% if %}` / `{% for %}` control flow. Example: \"Assess {{ name }}. {% output is_fit, type: \\\"boolean\\\", description: \\\"Whether they fit\\\" %} {% output fit_reason, type: \\\"string\\\", format: \\\"long_text\\\", description: \\\"Why they do or do not fit\\\" %} {% output source_url, type: \\\"string\\\", format: \\\"url\\\", description: \\\"Page the assessment came from\\\" %}\""
},
"json_schemas": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": {}
},
"description": "JSON schemas for output fields with type=\"json\". Keys are referenced via schema=\"<name>\" in output tags."
}
},
"required": [
"template"
]
},
"model": {
"type": "string",
"enum": [
"google-medium",
"google-low",
"openai-high",
"openai-medium",
"anthropic-high",
"anthropic-medium",
"anthropic-low"
],
"default": "openai-medium"
}
},
"required": [
"prompt"
]
}
},
"required": [
"pipe_id",
"config"
]
},
{
"type": "object",
"properties": {
"pipe_id": {
"type": "string",
"enum": [
"classify:boolean@1"
]
},
"connector": {
"type": [
"object",
"null"
],
"properties": {
"strategy": {
"type": "string",
"enum": [
"first"
],
"default": "first"
},
"connections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"vault"
]
},
"connection": {
"type": "string"
}
},
"required": [
"type",
"connection"
]
},
"maxItems": 0
}
},
"required": [
"connections"
]
},
"run_if": {
"type": [
"object",
"null"
],
"properties": {
"action": {
"type": "string",
"enum": [
"run"
],
"default": "run",
"description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
},
"when": {
"type": "object",
"properties": {
"logic": {
"type": "string",
"enum": [
"and",
"or"
],
"description": "\"and\" = all conditions must match. \"or\" = any condition matches."
},
"conditions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"property": {
"type": "string",
"enum": [
"value"
],
"description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
},
"field_name": {
"type": "string",
"minLength": 1,
"description": "Name of a field from the input data or produced by another pipe in the payload."
},
"operator": {
"type": "string",
"enum": [
"eq",
"neq",
"gt",
"gte",
"lt",
"lte",
"contains",
"not_contains",
"matches",
"older_than_days",
"within_last_days"
],
"description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
}
},
"required": [
"property",
"field_name",
"operator",
"value"
]
},
{
"type": "object",
"properties": {
"property": {
"type": "string",
"enum": [
"status"
],
"description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
},
"field_name": {
"type": "string",
"minLength": 1,
"description": "Name of a field from the input data or produced by another pipe in the payload."
},
"operator": {
"type": "string",
"enum": [
"eq",
"neq"
],
"description": "Status comparison operator: \"eq\" or \"neq\"."
},
"value": {
"type": "string",
"enum": [
"failed",
"no_result",
"completed",
"skipped",
"pending",
"yielded"
],
"description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
}
},
"required": [
"property",
"field_name",
"operator",
"value"
]
}
]
},
"minItems": 1,
"description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
}
},
"required": [
"logic",
"conditions"
],
"description": "Condition block. All conditions are combined with the chosen logic (and/or)."
}
},
"required": [
"when"
],
"description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
},
"config": {
"type": "object",
"properties": {
"prompt": {
"type": "object",
"properties": {
"template": {
"type": "string",
"minLength": 10,
"description": "Liquid prompt with `{{ field }}` input refs, `{{ field | default: \"\" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% output name, type: \"string\", format: \"long_text\", description: \"...\" %}` to declare model outputs. Set `format` on every output where one fits — it is what makes the column render as a link, a date or an expandable text instead of a truncated plain cell; omit it only when none fits. Pick by LENGTH, not sentences: free text that can exceed ~40 characters is long_text. Formats by type: string → address_line_1 (a street address), email (an email address), url (any link), website_url (a company homepage), markdown (only when the prompt asks the model to write markdown), long_text (any free text that can run past ~40 characters, even on one line — headlines, bios, summaries, descriptions, rationales; the cell truncates and opens in a side panel), zip_code (a postal code), date (a calendar date), datetime (a timestamp), phone (a phone number), text (only values that always fit a narrow cell (under ~40 characters) — names, job titles, labels, categories), profile_url (a social profile link), domain (a bare domain like acme.com); json → json_object (a single object), json_list (a list); number → int (whole numbers — counts, scores), decimal (fractional numbers); boolean → no format; unknown → no format. Supports `{% if %}` / `{% for %}` control flow. Example: \"Assess {{ name }}. {% output is_fit, type: \\\"boolean\\\", description: \\\"Whether they fit\\\" %} {% output fit_reason, type: \\\"string\\\", format: \\\"long_text\\\", description: \\\"Why they do or do not fit\\\" %} {% output source_url, type: \\\"string\\\", format: \\\"url\\\", description: \\\"Page the assessment came from\\\" %}\""
},
"json_schemas": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": {}
},
"description": "JSON schemas for output fields with type=\"json\". Keys are referenced via schema=\"<name>\" in output tags."
}
},
"required": [
"template"
]
},
"model": {
"type": "string",
"enum": [
"typesafe-medium"
],
"default": "typesafe-medium"
},
"output_fields": {
"type": "object",
"properties": {
"boolean_classification": {
"type": "object",
"properties": {
"alias": {
"type": "string",
"default": "",
"description": "Rename this output field. Leave empty to use default name."
},
"enabled": {
"type": "boolean",
"default": true,
"description": "Whether to include this field in the output."
}
},
"default": {
"alias": "",
"enabled": true
},
"description": "Output field 'boolean_classification'"
},
"boolean_classification_confidence": {
"type": "object",
"properties": {
"alias": {
"type": "string",
"default": "",
"description": "Rename this output field. Leave empty to use default name."
},
"enabled": {
"type": "boolean",
"default": true,
"description": "Whether to include this field in the output."
}
},
"default": {
"alias": "",
"enabled": true
},
"description": "Output field 'boolean_classification_confidence'"
}
}
}
},
"required": [
"prompt"
]
}
},
"required": [
"pipe_id",
"config"
]
},
{
"type": "object",
"properties": {
"pipe_id": {
"type": "string",
"enum": [
"classify:choice@1"
]
},
"connector": {
"type": [
"object",
"null"
],
"properties": {
"strategy": {
"type": "string",
"enum": [
"first"
],
"default": "first"
},
"connections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"vault"
]
},
"connection": {
"type": "string"
}
},
"required": [
"type",
"connection"
]
},
"maxItems": 0
}
},
"required": [
"connections"
]
},
"run_if": {
"type": [
"object",
"null"
],
"properties": {
"action": {
"type": "string",
"enum": [
"run"
],
"default": "run",
"description": "What to do when conditions match. Defaults to \"run\" (run the pipe only on matching records). Reserved for future extension."
},
"when": {
"type": "object",
"properties": {
"logic": {
"type": "string",
"enum": [
"and",
"or"
],
"description": "\"and\" = all conditions must match. \"or\" = any condition matches."
},
"conditions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"property": {
"type": "string",
"enum": [
"value"
],
"description": "Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, not_contains, matches, older_than_days, within_last_days."
},
"field_name": {
"type": "string",
"minLength": 1,
"description": "Name of a field from the input data or produced by another pipe in the payload."
},
"operator": {
"type": "string",
"enum": [
"eq",
"neq",
"gt",
"gte",
"lt",
"lte",
"contains",
"not_contains",
"matches",
"older_than_days",
"within_last_days"
],
"description": "Comparison operator: \"eq\", \"neq\", \"gt\", \"gte\", \"lt\", \"lte\", \"contains\", \"not_contains\", \"matches\" (regex), \"older_than_days\" / \"within_last_days\" (relative to now, evaluated at run time — for date/datetime fields)."
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "The value to compare the field against. Must be a primitive (string, number, boolean, or null). For older_than_days/within_last_days it is the number of days."
}
},
"required": [
"property",
"field_name",
"operator",
"value"
]
},
{
"type": "object",
"properties": {
"property": {
"type": "string",
"enum": [
"status"
],
"description": "Compare the field resolution status instead of its value. Use operators: eq, neq."
},
"field_name": {
"type": "string",
"minLength": 1,
"description": "Name of a field from the input data or produced by another pipe in the payload."
},
"operator": {
"type": "string",
"enum": [
"eq",
"neq"
],
"description": "Status comparison operator: \"eq\" or \"neq\"."
},
"value": {
"type": "string",
"enum": [
"failed",
"no_result",
"completed",
"skipped",
"pending",
"yielded"
],
"description": "Field status to compare against: \"completed\", \"no_result\", \"failed\", \"skipped\", \"pending\" (never ran), or \"yielded\" (paused until its pipe resumes the row)."
}
},
"required": [
"property",
"field_name",
"operator",
"value"
]
}
]
},
"minItems": 1,
"description": "Array of conditions to evaluate. Each condition checks either a field value or its resolution status."
}
},
"required": [
"logic",
"conditions"
],
"description": "Condition block. All conditions are combined with the chosen logic (and/or)."
}
},
"required": [
"when"
],
"description": "Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { \"when\": { \"logic\": \"and\", \"conditions\": [{ \"property\": \"status\", \"field_name\": \"work_email\", \"operator\": \"neq\", \"value\": \"no_result\" }] } }"
},
"config": {
"type": "object",
"properties": {
"prompt": {
"type": "object",
"properties": {
"template": {
"type": "string",
"minLength": 10,
"description": "Liquid prompt with `{{ field }}` input refs, `{{ field | default: \"\" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% output name, type: \"string\", format: \"long_text\", description: \"...\" %}` to declare model outputs. Set `format` on every output where one fits — it is what makes the column render as a link, a date or an expandable text instead of a truncated plain cell; omit it only when none fits. Pick by LENGTH, not sentences: free text that can exceed ~40 characters is long_text. Formats by type: string → address_line_1 (a street address), email (an email address), url (any link), website_url (a company homepage), markdown (only when the prompt asks the model to write markdown), long_text (any free text that can run past ~40 characters, even on one line — headlines, bios, summaries, descriptions, rationales; the cell truncates and opens in a side panel), zip_code (a postal code), date (a calendar date), datetime (a timestamp), phone (a phone number), text (only values that always fit a narrow cell (under ~40 characters) — names, job titles,
# --- truncated at 32 KB (1823 KB total) ---
# Full source: https://artifacts.apis.io/pipe0-com/json-schema/pipe0-com-pipe-payload-schema.json
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/pipe0-com-pipe-payload"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.