generated: '2026-10-19' method: derived generator: derive-data-model.py source: - openapi/superglue-openapi.yml notation: has_one = property $ref; has_many = array of $ref; belongs_to = _id field summary: entities: 20 entities_in_spec: 20 relationships: 19 entities: - name: Connection fields: 15 - name: ConnectionAuthentication fields: 10 - name: ConnectionUpdate fields: 11 - name: ConnectionWrite fields: 9 - name: CreateToolRequest fields: 8 description: Request body for creating a new tool - name: Error fields: 1 - name: ExecutionFileEnvelope fields: 8 - name: FileArtifact fields: 5 description: A file promoted as downloadable output by a tool step. - name: HttpResponseMetadata fields: 3 description: Response metadata for an HTTP request step. Header names are lowercase; `set-cookie` values are arrays. - name: OAuthApp fields: 9 - name: Pagination fields: 4 description: Pagination configuration (HTTP/HTTPS only, not applicable to Postgres/FTP) - name: RequestStepConfig fields: 9 description: 'Configuration for a request step. Protocol is detected from URL scheme:' - name: Run fields: 16 - name: RunRequest fields: 7 - name: RunResults fields: 8 description: Full (non-truncated) run results fetched from storage - name: StepResult fields: 6 description: Execution result for a single tool step - name: Tool fields: 14 description: A saved integration tool containing request and transformation steps. - name: ToolStep fields: 7 description: A single execution step containing either a request configuration (API call) - name: TransformStepConfig fields: 2 description: Configuration for a transform step. Transform steps execute JavaScript code - name: UpdateToolRequest fields: 8 description: Request body for updating an existing tool. All fields are optional — only provided fields are updated. relationships: - from: ConnectionWrite to: ConnectionAuthentication type: has_one via: authentication - from: ConnectionWrite to: OAuthApp type: belongs_to via: oauthAppId - from: ConnectionUpdate to: ConnectionAuthentication type: has_one via: authentication - from: ConnectionUpdate to: OAuthApp type: belongs_to via: oauthAppId - from: Connection to: ConnectionAuthentication type: has_one via: authentication - from: OAuthApp to: ConnectionAuthentication type: has_one via: authentication - from: Tool to: ToolStep type: has_many via: steps - from: RequestStepConfig to: Pagination type: has_one via: pagination - from: RunRequest to: Run type: belongs_to via: runId - from: Run to: Tool type: belongs_to via: toolId - from: Run to: Tool type: has_one via: tool - from: Run to: StepResult type: has_many via: stepResults - from: Run to: FileArtifact type: has_many via: fileArtifacts - from: StepResult to: HttpResponseMetadata type: has_one via: http - from: CreateToolRequest to: ToolStep type: has_many via: steps - from: UpdateToolRequest to: ToolStep type: has_many via: steps - from: RunResults to: Run type: belongs_to via: runId - from: RunResults to: StepResult type: has_many via: stepResults - from: RunResults to: FileArtifact type: has_many via: fileArtifacts