TAGLI Universal Commerce Protocol (UCP) API

TAGLI-UCP adapter for the Universal Commerce Protocol (spec 2026-08-25): a discovery profile at /.well-known/ucp, read-only catalog search and product lookup, and checkout sessions that escalate to human approval under the HOLD policy, plus a UCP MCP transport.

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 12

GET /.well-known/ucp UCP Discovery Profile (TAGLI-UCP 1.0.0 / Spec 2026-08-25) #
GET /wp-json/tagli/v1/ucp/profile UCP REST Profile Endpoint #
POST /wp-json/tagli/v1/ucp/catalog/search UCP Catalog Search (POST, Read-Only) #
GET /wp-json/tagli/v1/ucp/catalog/search UCP Catalog Search (GET, Read-Only) #
POST /wp-json/tagli/v1/ucp/catalog/product UCP Single Product Retrieval (POST, Read-Only) #
GET /wp-json/tagli/v1/ucp/catalog/product UCP Single Product Retrieval (GET, Read-Only) #
POST /wp-json/tagli/v1/ucp/checkout-sessions Create UCP Checkout Session / Official Quote (WRITE — HOLD Enforced) #
GET /wp-json/tagli/v1/ucp/checkout-sessions/{id} Get UCP Checkout Session State (Authorized Session / Agent) #
PUT /wp-json/tagli/v1/ucp/checkout-sessions/{id} Update UCP Checkout Session (WRITE — HOLD Enforced) #
POST /wp-json/tagli/v1/ucp/checkout-sessions/{id}/complete Attempt UCP Checkout Completion (Enforces HOLD -> requires_escalation) #
POST /wp-json/tagli/v1/ucp/checkout-sessions/{id}/cancel Cancel UCP Checkout Session #
POST /wp-json/tagli/v1/ucp/mcp UCP MCP Transport Endpoint (JSON-RPC 2.0) #

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/tagli-co-il:tagli-co-il-ucp-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

tagli-co-il-ucp-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: TAGLI Universal Commerce Protocol (UCP) API
  version: 3.4.0
  contact:
    name: TAGLI Machine Support
    email: info@tagli.co.il
    url: https://tagli.co.il/
  x-tagli-components:
    mcp_server_version: 2.0.3
    mcp_protocol_version: '2025-06-18'
    mcp_tools_count: 10
    agentic_commerce_version: 2.0.0
    machine_search_version: '4.0'
    knowledge_graph_version: '6.0'
    quote_builder_version: 2.1.0
  x-tagli-policy:
    catalog_search: ACTIVE
    price_estimate: ACTIVE
    official_quote: ACTIVE
    public_quote_pdf: ACTIVE
    autonomous_ordering: HOLD
    autonomous_payment: HOLD
    human_approval_required: true
  description: 'TAGLI-UCP adapter (Spec 2026-08-25): discovery profile, read-only catalog search/lookup, HOLD-enforced checkout sessions and the UCP MCP transport. Split verbatim from the provider-hosted https://tagli.co.il/openapi.json.'
servers:
- url: https://tagli.co.il
  description: Production Server
tags:
- name: Discovery
  description: Corporate identity, capabilities, and machine discovery endpoints.
- name: Catalog
  description: Machine-readable product catalog and single-product canonical contracts (BuyAction V2 / V3).
- name: Search
  description: Fast machine search engine (v4.0) for resolving product IDs.
- name: MCP
  description: Model Context Protocol (v2.0.3, Streamable HTTP 2025-06-18, JSON-RPC 2.0) discovery and protocol endpoint.
- name: Quotes
  description: Agentic Commerce REST (v2.0.0) handshake, server-validated estimates, official B2B quotes, and status.
- name: Restricted/HOLD
  description: Endpoints currently on operational HOLD (autonomous ordering) or restricted to human OTP verification flows.
- name: UCP
  description: Universal Commerce Protocol (TAGLI-UCP 1.0.0, Spec 2026-08-25) — discovery, catalog, HOLD-governed checkout sessions, and UCP MCP transport.
paths:
  /.well-known/ucp:
    get:
      tags:
      - UCP
      - Discovery
      summary: UCP Discovery Profile (TAGLI-UCP 1.0.0 / Spec 2026-08-25)
      description: Canonical UCP discovery document declaring supported services (REST & MCP transports), capabilities (catalog.search, catalog.lookup, checkout), empty payment_handlers, and HOLD policy.
      operationId: getUcpDiscoveryProfile
      responses:
        '200':
          description: UCP discovery JSON document
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UcpGenericJsonObject'
  /wp-json/tagli/v1/ucp/profile:
    get:
      tags:
      - UCP
      - Discovery
      summary: UCP REST Profile Endpoint
      description: Returns the same canonical UCP v2026-08-25 discovery profile via the WP REST namespace.
      operationId: getUcpRestProfile
      responses:
        '200':
          description: UCP discovery JSON document
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UcpGenericJsonObject'
  /wp-json/tagli/v1/ucp/catalog/search:
    post:
      tags:
      - UCP
      - Search
      summary: UCP Catalog Search (POST, Read-Only)
      description: UCP dev.ucp.shopping.catalog.search endpoint connected to TAGLI Machine Search 4.0.
      operationId: ucpCatalogSearchPost
      parameters:
      - $ref: '#/components/parameters/UcpAgentHeader'
      - $ref: '#/components/parameters/UcpRequestIdHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: Search query string
                limit:
                  type: integer
                  minimum: 1
              additionalProperties: true
            example:
              query: עט
              limit: 5
      responses:
        '200':
          description: UCP catalog search results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UcpGenericJsonObject'
        '400':
          description: Missing or invalid UCP-Agent or Request-Id header
    get:
      tags:
      - UCP
      - Search
      summary: UCP Catalog Search (GET, Read-Only)
      description: GET variant of UCP dev.ucp.shopping.catalog.search.
      operationId: ucpCatalogSearchGet
      parameters:
      - $ref: '#/components/parameters/UcpAgentHeader'
      - $ref: '#/components/parameters/UcpRequestIdHeader'
      - name: q
        in: query
        required: false
        schema:
          type: string
      - name: query
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
      responses:
        '200':
          description: UCP catalog search results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UcpGenericJsonObject'
        '400':
          description: Missing or invalid UCP-Agent or Request-Id header
  /wp-json/tagli/v1/ucp/catalog/product:
    post:
      tags:
      - UCP
      - Catalog
      summary: UCP Single Product Retrieval (POST, Read-Only)
      description: UCP dev.ucp.shopping.catalog.lookup single-product contract retrieval.
      operationId: ucpCatalogProductPost
      parameters:
      - $ref: '#/components/parameters/UcpAgentHeader'
      - $ref: '#/components/parameters/UcpRequestIdHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: Product ID
              additionalProperties: true
            example:
              id: '3824'
      responses:
        '200':
          description: UCP product details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UcpGenericJsonObject'
        '400':
          description: Missing or invalid UCP-Agent or Request-Id header
    get:
      tags:
      - UCP
      - Catalog
      summary: UCP Single Product Retrieval (GET, Read-Only)
      description: GET variant of UCP single-product retrieval.
      operationId: ucpCatalogProductGet
      parameters:
      - $ref: '#/components/parameters/UcpAgentHeader'
      - $ref: '#/components/parameters/UcpRequestIdHeader'
      - name: id
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: UCP product details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UcpGenericJsonObject'
        '400':
          description: Missing or invalid UCP-Agent or Request-Id header
  /wp-json/tagli/v1/ucp/checkout-sessions:
    post:
      tags:
      - UCP
      - Quotes
      - Restricted/HOLD
      summary: Create UCP Checkout Session / Official Quote (WRITE — HOLD Enforced)
      description: WRITE operation creating a UCP checkout session backed by a persisted official quote in TAGLI Quote Builder. Autonomous ordering and autonomous payment are strictly ON HOLD (payment_handlers empty); final approval and payment must be completed by a human buyer at continue_url.
      operationId: ucpCreateCheckoutSession
      parameters:
      - $ref: '#/components/parameters/UcpAgentHeader'
      - $ref: '#/components/parameters/UcpRequestIdHeader'
      - $ref: '#/components/parameters/UcpSessionHeader'
      - $ref: '#/components/parameters/UcpIdempotencyKeyHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UcpGenericJsonObject'
      responses:
        '200':
          description: Created checkout session / persisted quote with continue_url (and X-Tagli-Session header)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UcpGenericJsonObject'
        '201':
          description: Created checkout session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UcpGenericJsonObject'
        '400':
          description: Validation or UCP header error
        '409':
          description: Idempotency-Key collision or payload mismatch
  /wp-json/tagli/v1/ucp/checkout-sessions/{id}:
    get:
      tags:
      - UCP
      - Quotes
      summary: Get UCP Checkout Session State (Authorized Session / Agent)
      description: Retrieves an existing UCP checkout session. Requires UCP-Agent, Request-Id, and caller session/agent authentication headers.
      operationId: ucpGetCheckoutSession
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9\-_]+$
      - $ref: '#/components/parameters/UcpAgentHeader'
      - $ref: '#/components/parameters/UcpRequestIdHeader'
      - $ref: '#/components/parameters/UcpSessionHeader'
      responses:
        '200':
          description: Checkout session object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UcpGenericJsonObject'
        '401':
          description: Unauthorized session or agent
        '404':
          description: Checkout session not found
    put:
      tags:
      - UCP
      - Quotes
      summary: Update UCP Checkout Session (WRITE — HOLD Enforced)
      description: Updates an existing UCP checkout session / quote in Quote Builder while enforcing TAGLI HOLD rules.
      operationId: ucpUpdateCheckoutSession
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9\-_]+$
      - $ref: '#/components/parameters/UcpAgentHeader'
      - $ref: '#/components/parameters/UcpRequestIdHeader'
      - $ref: '#/components/parameters/UcpSessionHeader'
      - $ref: '#/components/parameters/UcpIdempotencyKeyHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UcpGenericJsonObject'
      responses:
        '200':
          description: Updated checkout session object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UcpGenericJsonObject'
        '409':
          description: Idempotency-Key collision or payload mismatch
  /wp-json/tagli/v1/ucp/checkout-sessions/{id}/complete:
    post:
      tags:
      - UCP
      - Restricted/HOLD
      summary: Attempt UCP Checkout Completion (Enforces HOLD -> requires_escalation)
      description: 'Enforces TAGLI''s management HOLD policy: does NOT execute autonomous payment or create an unattended paid order. Returns status requires_escalation with a continue_url for human buyer review, approval, and checkout.'
      operationId: ucpCompleteCheckoutSession
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9\-_]+$
      - $ref: '#/components/parameters/UcpAgentHeader'
      - $ref: '#/components/parameters/UcpRequestIdHeader'
      - $ref: '#/components/parameters/UcpSessionHeader'
      - $ref: '#/components/parameters/UcpIdempotencyKeyRequiredHeader'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UcpGenericJsonObject'
      responses:
        '200':
          description: 'HOLD enforced: returns requires_escalation with continue_url for human approval'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UcpGenericJsonObject'
        '409':
          description: Idempotency-Key collision or payload mismatch
  /wp-json/tagli/v1/ucp/checkout-sessions/{id}/cancel:
    post:
      tags:
      - UCP
      - Quotes
      summary: Cancel UCP Checkout Session
      description: Cancels a UCP checkout session and returns status canceled.
      operationId: ucpCancelCheckoutSession
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9\-_]+$
      - $ref: '#/components/parameters/UcpAgentHeader'
      - $ref: '#/components/parameters/UcpRequestIdHeader'
      - $ref: '#/components/parameters/UcpSessionHeader'
      - $ref: '#/components/parameters/UcpIdempotencyKeyHeader'
      responses:
        '200':
          description: 'Checkout session canceled (status: canceled)'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UcpGenericJsonObject'
  /wp-json/tagli/v1/ucp/mcp:
    post:
      tags:
      - UCP
      - MCP
      summary: UCP MCP Transport Endpoint (JSON-RPC 2.0)
      description: UCP v2026-08-25 MCP binding (MCP Server 2.0.3) returning JSON-RPC 2.0 responses with result.structuredContent. Same HOLD enforcement applies.
      operationId: ucpMcpTransportPost
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UcpGenericJsonObject'
      responses:
        '200':
          description: JSON-RPC 2.0 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UcpGenericJsonObject'
components:
  parameters:
    UcpIdempotencyKeyHeader:
      name: Idempotency-Key
      in: header
      required: false
      description: Optional idempotency key for write or continuation checkout requests (prevents duplicate quote creation and returns HTTP 409 on collision/mismatch).
      schema:
        type: string
    UcpAgentHeader:
      name: UCP-Agent
      in: header
      required: true
      description: RFC 8941 Dictionary containing the calling platform/agent UCP profile URL, e.g. profile="https://example.com/agent" (placeholder only).
      schema:
        type: string
    UcpRequestIdHeader:
      name: Request-Id
      in: header
      required: true
      description: Unique client request identifier (e.g. UUID v4) required on UCP v2026-08-25 REST calls.
      schema:
        type: string
    UcpSessionHeader:
      name: X-Tagli-Session
      in: header
      required: false
      description: 'Session token returned by checkout creation or MCP session (also accepts Mcp-Session-Id, X-Tagli-Agent-Key, X-API-Key, or Authorization: Bearer).'
      schema:
        type: string
    UcpIdempotencyKeyRequiredHeader:
      name: Idempotency-Key
      in: header
      required: true
      description: Required unique idempotency key for checkout completion (prevents duplicate completion and returns HTTP 409 on collision/mismatch).
      schema:
        type: string
  schemas:
    UcpGenericJsonObject:
      type: object
      additionalProperties: true
x-source: https://tagli.co.il/openapi.json
x-provenance:
  method: harvested
  publisher: TAGLI
  source: https://tagli.co.il/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)