Sensible · Arazzo Workflow

Sensible Create Document Type And Configuration

Version 1.0.0

Create a new document type and then add a SenseML configuration to it in one pass.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub ArazzoWorkflows

Provider

sensible-so

Workflows

create-document-type-and-configuration
Create a document type and add a configuration to it.
Creates a document type, then creates a SenseML configuration within the new type and returns the configuration name and version id.
2 steps inputs: apiKey, configName, configuration, documentTypeName, publishAs, schema outputs: configurationName, documentTypeId, versionId
1
createDocumentType
Create the document type with the supplied name and schema and capture the returned document type id.
2
createConfiguration
Create a SenseML configuration inside the new document type using the supplied stringified configuration JSON.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Sensible Create Document Type And Configuration
  summary: Create a new document type and then add a SenseML configuration to it in one pass.
  description: >-
    The bootstrap flow for a new extraction target. The workflow creates a
    document type with the supplied name and schema, captures the returned
    document type id, and then creates a SenseML configuration inside that
    document type using the supplied stringified configuration JSON, optionally
    publishing it to an environment. This produces a ready-to-extract document
    type and config in a single sequence. Every step spells out its request
    inline, including the Bearer authorization.
  version: 1.0.0
sourceDescriptions:
- name: configurationApi
  url: ../openapi/sensible-so-configuration-api-openapi.yml
  type: openapi
- name: documentTypeApi
  url: ../openapi/sensible-so-document-type-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-document-type-and-configuration
  summary: Create a document type and add a configuration to it.
  description: >-
    Creates a document type, then creates a SenseML configuration within the
    new type and returns the configuration name and version id.
  inputs:
    type: object
    required:
    - apiKey
    - documentTypeName
    - configName
    - configuration
    properties:
      apiKey:
        type: string
        description: Sensible API key used as the Bearer token.
      documentTypeName:
        type: string
        description: Unique user-friendly name for the new document type.
      schema:
        type: object
        description: Document type schema (fingerprint_mode, ocr_engine, validations, etc.).
      configName:
        type: string
        description: Unique user-friendly name for the new configuration.
      configuration:
        type: string
        description: The configuration as JSON-stringified SenseML.
      publishAs:
        type: string
        description: Optional environment to publish the configuration to.
        enum:
        - production
        - development
  steps:
  - stepId: createDocumentType
    description: >-
      Create the document type with the supplied name and schema and capture
      the returned document type id.
    operationId: create-document-type
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.apiKey"
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.documentTypeName
        schema: $inputs.schema
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      documentTypeId: $response.body#/id
      documentTypeName: $response.body#/name
  - stepId: createConfiguration
    description: >-
      Create a SenseML configuration inside the new document type using the
      supplied stringified configuration JSON.
    operationId: create-configuration
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.apiKey"
    - name: type-id
      in: path
      value: $steps.createDocumentType.outputs.documentTypeId
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.configName
        configuration: $inputs.configuration
        publish_as: $inputs.publishAs
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      configurationName: $response.body#/name
      versionId: $response.body#/version_id
  outputs:
    documentTypeId: $steps.createDocumentType.outputs.documentTypeId
    configurationName: $steps.createConfiguration.outputs.configurationName
    versionId: $steps.createConfiguration.outputs.versionId

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow 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 workflow
curl "https://apis.io/api/v1/arazzo/sensible-so-create-document-type-and-configuration-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.