-
Notifications
You must be signed in to change notification settings - Fork 53.4k
Open
Labels
status:in-linearIssue or PR is now in LinearIssue or PR is now in Lineartriage:pendingWaiting to be triagedWaiting to be triaged
Description
Summary
The OpenAPI schema at /api/v1/openapi.yml defines execution.workflowId as type: number, but n8n returns alphanumeric string workflow IDs.
Schema Location
components/schemas/execution/properties/workflowId
Current (incorrect)
workflowId:
type: number
example: '1000'Expected (correct)
workflowId:
type: string
example: '2tUt1wbLX592XDdX'Evidence
The same schema correctly types workflowId as string in other locations:
sharedWorkflow.workflowId:type: string, example: 2tUt1wbLX592XDdXworkflowVersion.workflowId:type: stringimportResult.tags.mappings[].workflowId:type: string- Path parameter
workflowId:type: string
Only execution.workflowId is incorrectly typed as number.
Impact
API clients generated from this schema fail to deserialize execution responses because workflow IDs like hykP7o8yHNvRiyOP cannot be parsed as numbers.
n8n Version
Observed in n8n v1.1.1 OpenAPI schema (current public API)
Metadata
Metadata
Assignees
Labels
status:in-linearIssue or PR is now in LinearIssue or PR is now in Lineartriage:pendingWaiting to be triagedWaiting to be triaged