Hightouch API

Hightouch API as documented publicly. Contract generated from the documentation by API Evangelist (2026-12-03); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 16

GET /api/v1/decision-engine/flow/{flowid} GET /api/v1/decision-engine/flow/{flowid} #
POST /api/v1/decision-engine/flow/{flowid}/messages POST /api/v1/decision-engine/flow/{flowid}/messages #
DELETE /api/v1/decision-engine/flow/{flowid}/messages/{messageid} DELETE /api/v1/decision-engine/flow/{flowid}/messages/{messageid} #
PATCH /api/v1/decision-engine/flow/{flowid}/messages/{messageid} PATCH /api/v1/decision-engine/flow/{flowid}/messages/{messageid} #
GET /api/v1/decision-engine/flows GET /api/v1/decision-engine/flows #
GET /api/v1/models/{modelid}/size GET /api/v1/models/{modelid}/size #
POST /api/v1/models/{modelid}/size POST /api/v1/models/{modelid}/size #
GET /api/v1/models/{modelid}/size/{jobid} GET /api/v1/models/{modelid}/size/{jobid} #
GET /api/v1/syncs GET /api/v1/syncs #
PATCH /decision-engine/channels/{channelid} Update a channel. #
GET /decision-engine/flow/{flowid} Retrieve a decision engine flow by ID #
POST /decision-engine/flow/{flowid}/messages Create Decision Engine Message #
DELETE /decision-engine/flow/{flowid}/messages/{messageid} Delete Decision Engine Message #
PATCH /decision-engine/flow/{flowid}/messages/{messageid} Update Decision Engine Message #
POST /models/{modelid}/size Start an audience size job #
GET /models/{modelid}/size/{jobid} Get an audience size #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/hightouch0e87:hightouch0e87-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

hightouch0e87-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Hightouch API
  version: '2026-12-03'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-12-03: 16 operation(s) read from 15 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; Hightouch has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 11
    documentation: 5
    pages-with-code: 11
    pages-read: 15
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-12-03'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://api.hightouch.io/api/swagger.json
  - https://docs.hightouch.com/api-reference
  - https://docs.hightouch.com/api-reference/index.md
  - https://docs.hightouch.com/api-reference/sync-templates/create-sync-template.md
  - https://docs.hightouch.com/api-reference/ai-decisioning/apply-decision-engine-tags.md
  - https://docs.hightouch.com/llms.txt
  - https://docs.hightouch.com/api-reference/audiences/start-an-audience-size-job
  - https://docs.hightouch.com/api-reference/audiences/get-an-audience-size
  - https://docs.hightouch.com/api-reference/ai-decisioning/get-decision-engine-flow
  - https://docs.hightouch.com/api-reference/ai-decisioning/list-decision-engine-flows
  - https://docs.hightouch.com/api-reference/ai-decisioning/list-decision-engine-messages
  - https://docs.hightouch.com/api-reference/ai-decisioning/create-decision-engine-message
  - https://docs.hightouch.com/api-reference/ai-decisioning/get-decision-engine-message
  - https://docs.hightouch.com/api-reference/ai-decisioning/delete-decision-engine-message
  - https://docs.hightouch.com/api-reference/ai-decisioning/update-decision-engine-message
servers:
- url: https://api.hightouch.com
paths:
  /api/v1/decision-engine/flow/{flowid}:
    get:
      operationId: get_api_v1_decision_engine_flow_flowid
      tags:
      - Api
      summary: GET /api/v1/decision-engine/flow/{flowid}
      x-source: https://docs.hightouch.com/api-reference/ai-decisioning/get-decision-engine-flow
      parameters:
      - name: flowid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1DecisionEngineFlowFlowidResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl curl --request GET  --url https://api.hightouch.com/api/v1/decision-engine/flow/{flowId}  --header ''Authorization: Bearer
          <token>'' import requests

          url = "https://api.hightouch.com/api/v1/decision-engine/flow/{flowId}"

          headers = {"Authorization": "Bearer <token>"}

          response = requests.get(url, headers=headers)

          print(response.text) const options = {method: ''GET'', headers: {Authorization: ''Bearer'
  /api/v1/decision-engine/flow/{flowid}/messages:
    post:
      operationId: post_api_v1_decision_engine_flow_flowid_messages
      tags:
      - Api
      summary: POST /api/v1/decision-engine/flow/{flowid}/messages
      x-source: https://docs.hightouch.com/api-reference/ai-decisioning/create-decision-engine-message
      parameters:
      - name: flowid
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1DecisionEngineFlowFlowidMessagesResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl curl --request POST  --url https://api.hightouch.com/api/v1/decision-engine/flow/{flowId}/messages  --header 'Authorization:\
          \ Bearer <token>'  --header 'Content-Type: application/json'  --data ' \n { \n \"name\": \"<string>\", \n \"channelId\": \"<string>\"\
          , \n \"config\": {}, \n \"tags\": {}, \n \"guardrails\": { \n \"maxSendsPerUser\": 123, \n \"maxSendsPerUserWindowDays\": 123, \n \"\
          minOtherMessagesInBetween\": 123, \n "
  /api/v1/decision-engine/flow/{flowid}/messages/{messageid}:
    delete:
      operationId: delete_api_v1_decision_engine_flow_flowid_messages_messageid
      tags:
      - Api
      summary: DELETE /api/v1/decision-engine/flow/{flowid}/messages/{messageid}
      x-source: https://docs.hightouch.com/api-reference/ai-decisioning/delete-decision-engine-message
      parameters:
      - name: flowid
        in: path
        required: true
        schema:
          type: string
      - name: messageid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteApiV1DecisionEngineFlowFlowidMessagesMessageidResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl curl --request DELETE  --url https://api.hightouch.com/api/v1/decision-engine/flow/{flowId}/messages/{messageId}  --header
          ''Authorization: Bearer <token>'' import requests

          url = "https://api.hightouch.com/api/v1/decision-engine/flow/{flowId}/messages/{messageId}"

          headers = {"Authorization": "Bearer <token>"}

          response = requests.delete(url, headers=headers)

          print(response.text) const options = '
    patch:
      operationId: patch_api_v1_decision_engine_flow_flowid_messages_messageid
      tags:
      - Api
      summary: PATCH /api/v1/decision-engine/flow/{flowid}/messages/{messageid}
      x-source: https://docs.hightouch.com/api-reference/ai-decisioning/update-decision-engine-message
      parameters:
      - name: flowid
        in: path
        required: true
        schema:
          type: string
      - name: messageid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchApiV1DecisionEngineFlowFlowidMessagesMessageidResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl curl --request PATCH  --url https://api.hightouch.com/api/v1/decision-engine/flow/{flowId}/messages/{messageId}  --header\
          \ 'Authorization: Bearer <token>'  --header 'Content-Type: application/json'  --data ' \n { \n \"name\": \"<string>\", \n \"config\"\
          : {}, \n \"tags\": {}, \n \"guardrails\": { \n \"maxSendsPerUser\": 123, \n \"maxSendsPerUserWindowDays\": 123, \n \"minOtherMessagesInBetween\"\
          : 123, \n \"firstEligible"
  /api/v1/decision-engine/flows:
    get:
      operationId: get_api_v1_decision_engine_flows
      tags:
      - Api
      summary: GET /api/v1/decision-engine/flows
      x-source: https://docs.hightouch.com/api-reference/ai-decisioning/list-decision-engine-flows
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1DecisionEngineFlowsResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl curl --request GET  --url https://api.hightouch.com/api/v1/decision-engine/flows  --header ''Authorization: Bearer <token>''
          import requests

          url = "https://api.hightouch.com/api/v1/decision-engine/flows"

          headers = {"Authorization": "Bearer <token>"}

          response = requests.get(url, headers=headers)

          print(response.text) const options = {method: ''GET'', headers: {Authorization: ''Bearer <token>''}};

          fet'
  /api/v1/models/{modelid}/size:
    get:
      operationId: get_api_v1_models_modelid_size
      tags:
      - Api
      summary: GET /api/v1/models/{modelid}/size
      x-source: https://docs.hightouch.com/api-reference/audiences/start-an-audience-size-job
      parameters:
      - name: modelid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1ModelsModelidSizeResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl);\nif ($err) {\n echo \"cURL Error #:\" . $err;\n} else {\n echo $response;\n} package main\nimport (\n \"fmt\"\n \"net/http\"\
          \n \"io\"\n)\nfunc main() {\n url := \"https://api.hightouch.com/api/v1/models/{modelId}/size\"\n req, _ := http.NewRequest(\"POST\"\
          , url, nil)\n req.Header.Add(\"Authorization\", \"Bearer <token>\")\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n\
          \ body, _ := io.ReadAll(res.Body)\n fmt"
    post:
      operationId: post_api_v1_models_modelid_size
      tags:
      - Api
      summary: POST /api/v1/models/{modelid}/size
      x-source: https://docs.hightouch.com/api-reference/audiences/start-an-audience-size-job
      parameters:
      - name: modelid
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1ModelsModelidSizeResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl curl --request POST  --url https://api.hightouch.com/api/v1/models/{modelId}/size  --header ''Authorization: Bearer <token>''
          import requests

          url = "https://api.hightouch.com/api/v1/models/{modelId}/size"

          headers = {"Authorization": "Bearer <token>"}

          response = requests.post(url, headers=headers)

          print(response.text) const options = {method: ''POST'', headers: {Authorization: ''Bearer <token>''}};

          '
  /api/v1/models/{modelid}/size/{jobid}:
    get:
      operationId: get_api_v1_models_modelid_size_jobid
      tags:
      - Api
      summary: GET /api/v1/models/{modelid}/size/{jobid}
      x-source: https://docs.hightouch.com/api-reference/audiences/get-an-audience-size
      parameters:
      - name: modelid
        in: path
        required: true
        schema:
          type: string
      - name: jobid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1ModelsModelidSizeJobidResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl curl --request GET  --url https://api.hightouch.com/api/v1/models/{modelId}/size/{jobId}  --header ''Authorization: Bearer
          <token>'' import requests

          url = "https://api.hightouch.com/api/v1/models/{modelId}/size/{jobId}"

          headers = {"Authorization": "Bearer <token>"}

          response = requests.get(url, headers=headers)

          print(response.text) const options = {method: ''GET'', headers: {Authorization: ''Bearer'
  /api/v1/syncs:
    get:
      operationId: get_api_v1_syncs
      tags:
      - Api
      summary: GET /api/v1/syncs
      x-source: https://docs.hightouch.com/api-reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://api.hightouch.com/api/v1/syncs  -H \"Authorization: Bearer <API_KEY>\" \n Each key belongs to one workspace and\
          \ inherits the permissions of a user group. To create a key and choose what it can do, see API keys and permissions . \n Try a request\
          \ \n Each endpoint page has an API playground. Enter your API key, fill in the parameters, and send the request to see the live response.\
          \ \n Endpoints"
  /decision-engine/channels/{channelid}:
    patch:
      operationId: patch_decision_engine_channels_channelid
      tags:
      - Decision Engine
      summary: Update a channel.
      x-source: https://docs.hightouch.com/llms.txt
      parameters:
      - name: channelid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /decision-engine/flow/{flowid}:
    get:
      operationId: get_decision_engine_flow_flowid
      tags:
      - Decision Engine
      summary: Retrieve a decision engine flow by ID
      x-source: https://docs.hightouch.com/api-reference/ai-decisioning/get-decision-engine-flow
      parameters:
      - name: flowid
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer authentication header of the form Bearer <token>
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDecisionEngineFlowFlowidResponse'
      x-evidence:
        kind: documentation
  /decision-engine/flow/{flowid}/messages:
    post:
      operationId: post_decision_engine_flow_flowid_messages
      tags:
      - Decision Engine
      summary: Create Decision Engine Message
      x-source: https://docs.hightouch.com/api-reference/ai-decisioning/create-decision-engine-message
      parameters:
      - name: flowid
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer authentication header of the form Bearer <token>
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostDecisionEngineFlowFlowidMessagesRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostDecisionEngineFlowFlowidMessagesResponse'
      x-evidence:
        kind: documentation
  /decision-engine/flow/{flowid}/messages/{messageid}:
    delete:
      operationId: delete_decision_engine_flow_flowid_messages_messageid
      tags:
      - Decision Engine
      summary: Delete Decision Engine Message
      x-source: https://docs.hightouch.com/api-reference/ai-decisioning/delete-decision-engine-message
      parameters:
      - name: flowid
        in: path
        required: true
        schema:
          type: string
      - name: messageid
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer authentication header of the form Bearer <token>
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteDecisionEngineFlowFlowidMessagesMessageidResponse'
      x-evidence:
        kind: documentation
    patch:
      operationId: patch_decision_engine_flow_flowid_messages_messageid
      tags:
      - Decision Engine
      summary: Update Decision Engine Message
      x-source: https://docs.hightouch.com/api-reference/ai-decisioning/update-decision-engine-message
      parameters:
      - name: flowid
        in: path
        required: true
        schema:
          type: string
      - name: messageid
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer authentication header of the form Bearer <token>
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchDecisionEngineFlowFlowidMessagesMessageidRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchDecisionEngineFlowFlowidMessagesMessageidResponse'
      x-evidence:
        kind: documentation
  /models/{modelid}/size:
    post:
      operationId: post_models_modelid_size
      tags:
      - Models
      summary: Start an audience size job
      x-source: https://docs.hightouch.com/api-reference/audiences/start-an-audience-size-job
      parameters:
      - name: modelid
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer authentication header of the form Bearer <token>
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostModelsModelidSizeResponse'
      x-evidence:
        kind: documentation
  /models/{modelid}/size/{jobid}:
    get:
      operationId: get_models_modelid_size_jobid
      tags:
      - Models
      summary: Get an audience size
      x-source: https://docs.hightouch.com/api-reference/audiences/get-an-audience-size
      parameters:
      - name: modelid
        in: path
        required: true
        schema:
          type: string
      - name: jobid
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer authentication header of the form Bearer <token>
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetModelsModelidSizeJobidResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetApiV1DecisionEngineFlowFlowidResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Authorization:
              type: string
    PostApiV1DecisionEngineFlowFlowidMessagesResponse:
      type: object
      properties:
        Authorization:
          type: string
        Content-Type:
          type: string
    DeleteApiV1DecisionEngineFlowFlowidMessagesMessageidResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Authorization:
              type: string
    PatchApiV1DecisionEngineFlowFlowidMessagesMessageidResponse:
      type: object
      properties:
        Authorization:
          type: string
        Content-Type:
          type: string
    GetApiV1DecisionEngineFlowsResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Authorization:
              type: string
    GetApiV1ModelsModelidSizeResponse:
      type: object
      properties:
        jobId:
          type: string
    PostApiV1ModelsModelidSizeResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Authorization:
              type: string
    GetApiV1ModelsModelidSizeJobidResponse:
      type: object
      properties:
        method:
          type: string
        headers:
          type: object
          properties:
            Authorization:
              type: string
    GetDecisionEngineFlowFlowidResponse:
      type: object
      properties:
        id:
          type: string
          description: Decision Engine Flow ID
        name:
          type: string
          description: Name of the flow
        workspaceId:
          type: number
          description: Workspace identifier
        decisionEngineId:
          type: string
          description: Decision Engine identifier
        audienceId:
          type: number
          description: Audience identifier
        status:
          type: string
          description: Current status of the flow
        config:
          type: object
          description: Configuration object
        createdAt:
          type: string
          description: Creation timestamp
        updatedAt:
          type: string
          description: Last update timestamp
    PostDecisionEngineFlowFlowidMessagesRequest:
      type: object
      properties:
        name:
          type: string
        channelId:
          type: string
        config:
          type: object
        tags:
          type: object
        guardrails:
          type: object
        variables:
          type: array
          description: Array of variable objects
      required:
      - name
      - channelId
      - config
    PostDecisionEngineFlowFlowidMessagesResponse:
      type: object
      properties:
        id:
          type: string
          description: Message ID
        name:
          type: string
        channelId:
          type: string
        config:
          type: object
        tags:
          type: object
        guardrails:
          type: object
        settings:
          type: object
        state:
          type: object
        content:
          type: string
        variables:
          type: array
        createdAt:
          type: string
          description: date-time
        updatedAt:
          type: string
          description: date-time
    DeleteDecisionEngineFlowFlowidMessagesMessageidResponse:
      type: object
      properties:
        message:
          type: string
          description: Why the request failed.
    PatchDecisionEngineFlowFlowidMessagesMessageidRequest:
      type: object
      properties:
        name:
          type: string
          description: Message name
        config:
          type: object
          description: Configuration object
        tags:
          type: object
          description: Tags object
        guardrails:
          type: object
          description: Guardrail fields on a message (max sends, eligibility dates, etc.)
        variables:
          type: array
          description: Variables array
        content:
          type: string
          description: Message body. Only raw channel messages accept content.
    PatchDecisionEngineFlowFlowidMessagesMessageidResponse:
      type: object
      properties:
        id:
          type: string
          description: Message ID
        name:
          type: string
          description: Message name
        channelId:
          type: string
          description: Channel ID
        config:
          type: object
          description: Configuration object
        tags:
          type: object
          description: Tags object
        guardrails:
          type: object
          description: Guardrail fields on a message
        settings:
          type: object
          description: 'The settings of a message within a flow: eligibility and send limits'
        state:
          type: object
          description: The state of a message within a flow
        content:
          type: string
          description: Message body. Only raw channel messages have content.
        variables:
          type: array
          description: Variables array
        createdAt:
          type: string
          description: Creation timestamp
        updatedAt:
          type: string
          description: Update timestamp
    PostModelsModelidSizeResponse:
      type: object
      properties:
        jobId:
          type: string
          description: Job identifier
    GetModelsModelidSizeJobidResponse:
      type: object
      properties:
        jobId:
          type: string
          description: Job identifier
        status:
          type: string
          description: Job status (pending, success, failed, cancelled)
        size:
          type: number
          description: The size of the audience (set if status is "success")
        evaluatedAt:
          type: string
          description: Timestamp when the job finished (set if status is "success")
        error:
          type: string
          description: Reason the job failed (set if status is "failed")
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Decision Engine
- name: Models