> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usepatchwork.co/llms.txt
> Use this file to discover all available pages before exploring further.

# List schema types



## OpenAPI

````yaml /openapi.yaml get /v1/schema_types
openapi: 3.1.0
info:
  title: Patchwork API
  version: 1.0.0
  description: >
    Public data-plane API. Two products today: Identify (bare account
    resolution) and Loom (threads, runs, and outcomes). Every response is a JSON
    envelope — `status: success` with `data`, or `status: error` with `error`.
  contact:
    url: https://usepatchwork.co
servers:
  - url: https://api.usepatchwork.co
security:
  - bearerAuth: []
tags:
  - name: Identify
    description: Resolve an account or wallet to the institution and rails behind it.
  - name: Extract
    description: >-
      Turn a document into structured data, and manage the schema types that
      shape it.
  - name: Loom
    description: Threads, messages, runs, and outcomes for an embedded agent.
  - name: Files
    description: Upload bytes once, get a durable handle, reference it from any product.
  - name: Voice
    description: Transcribe an utterance, speak a reply, list the available voices.
  - name: MCP
    description: >-
      The grants your users hold when they reach an agent from their own AI
      client.
paths:
  /v1/schema_types:
    get:
      tags:
        - Extract
      summary: List schema types
      operationId: listSchemaTypes
      parameters:
        - $ref: '#/components/parameters/Cursor'
        - $ref: '#/components/parameters/Limit'
      responses:
        '200':
          description: The workspace's schema types, newest first.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvelopeSchemaTypeList'
components:
  parameters:
    Cursor:
      name: cursor
      in: query
      required: false
      description: >
        Opaque pagination cursor. Pass back the `next_cursor` from the previous
        page verbatim; do not construct one.
      schema:
        type: string
    Limit:
      name: limit
      in: query
      required: false
      description: Page size. Clamped to 100.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 25
  schemas:
    EnvelopeSchemaTypeList:
      type: object
      required:
        - status
        - data
      properties:
        status:
          type: string
          const: success
        data:
          type: array
          items:
            $ref: '#/components/schemas/SchemaType'
        pagination:
          $ref: '#/components/schemas/Pagination'
    SchemaType:
      type: object
      required:
        - id
        - name
        - schema
      properties:
        id:
          type: string
          description: Schema type id (`sch_…`).
        name:
          type: string
        description:
          type: string
        schema:
          type: object
          description: The restricted JSON Schema.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Pagination:
      type: object
      required:
        - has_more
        - limit
      properties:
        next_cursor:
          type: string
          nullable: true
          description: Pass to `cursor` for the next page. Null on the last page.
        has_more:
          type: boolean
        limit:
          type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >
        Identify accepts a workspace API key (`sk_…`). Loom accepts either a
        short-lived session token (direct) or a workspace API key (relay).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.