Kuehne+Nagel KAI Document Extract API

Published in the developer portal as B2B-OldKAIExtractAPI — extract structured information from documents, with workspace management, synchronous and asynchronous file and zip processing, prompt-driven extraction and per-workspace API keys. The largest published surface at 92 paths.

OpenAPI Specification

kuehne-nagel-kai-document-extract-v0-1-0-openapi.json Raw ↑
{
  "openapi" : "3.1.0",
  "info" : {
    "title" : "B2B-OldKAIExtractAPI",
    "description" : "Extract structured information from documents.\n\n## Using the API\n\n### Optional Parameters\nWhen using the 'Try it out' feature in Swagger UI, optional parameters with empty values can be left as-is. The API handles empty strings and will treat them as if the parameter was omitted. You don't need to remove empty optional fields from requests.\n\n**Tip:** In generated curl commands, you may see flags like `-F 'tag='` or `-F 'tools='`. These empty optional fields are safe to include or remove - the API treats them identically.",
    "version" : "0.1.0"
  },
  "servers" : [ {
    "url" : "https://gateway.api.kuehne-nagel.com/oldkaiextractapi/0.1.0"
  }, {
    "url" : "http://gateway.api.kuehne-nagel.com:8280/oldkaiextractapi/0.1.0"
  } ],
  "security" : [ {
    "default" : [ ]
  } ],
  "tags" : [ {
    "name" : "process-file",
    "description" : "Process individual files using LLM extraction with prompt templates."
  }, {
    "name" : "process-zip",
    "description" : "Process ZIP archives containing multiple files using LLM extraction."
  }, {
    "name" : "jobs",
    "description" : "Operations for monitoring and managing asynchronous extraction jobs."
  }, {
    "name" : "api-keys",
    "description" : "Management of API keys for workspace authentication."
  }, {
    "name" : "schemas",
    "description" : "Manage schemas for workspaces."
  }, {
    "name" : "prompts",
    "description" : "Manage prompts for workspaces."
  }, {
    "name" : "quotas",
    "description" : "Manage workspace processing quotas and limits."
  }, {
    "name" : "workspaces",
    "description" : "Manage workspaces."
  }, {
    "name" : "test-cases",
    "description" : "Manage test cases for prompt evaluation."
  }, {
    "name" : "tags",
    "description" : "Manage tags for workspaces and prompts."
  }, {
    "name" : "prompt-tags",
    "description" : "Assign and manage tags for specific prompt versions."
  }, {
    "name" : "tools",
    "description" : "Manage and discover available LLM tools for function calling. Includes both local tools and tools from registered MCP servers."
  }, {
    "name" : "background-tasks",
    "description" : "Monitor and manage background scheduled tasks."
  }, {
    "name" : "config",
    "description" : "API configuration and metadata endpoints."
  } ],
  "paths" : {
    "/metrics" : {
      "get" : {
        "summary" : "Metrics",
        "description" : "Endpoint that serves Prometheus metrics.",
        "operationId" : "metrics_metrics_get",
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : { }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      }
    },
    "/v2/process-file/" : {
      "post" : {
        "tags" : [ "process-file" ],
        "summary" : "Post Process File V2",
        "operationId" : "post_process_file_v2_v2_process_file__post",
        "parameters" : [ {
          "name" : "x-api-key",
          "in" : "header",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "anyOf" : [ {
              "type" : "string"
            }, {
              "type" : "null"
            } ],
            "title" : "X-Api-Key"
          }
        }, {
          "name" : "x-auth-request-email",
          "in" : "header",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "anyOf" : [ {
              "type" : "string"
            }, {
              "type" : "null"
            } ],
            "title" : "X-Auth-Request-Email"
          }
        } ],
        "requestBody" : {
          "content" : {
            "multipart/form-data" : {
              "schema" : {
                "$ref" : "#/components/schemas/Body_post_process_file_v2_v2_process_file__post"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ExtractFileResponse"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      }
    },
    "/v2/process-zip/" : {
      "post" : {
        "tags" : [ "process-zip" ],
        "summary" : "Post Process Zip V2",
        "operationId" : "post_process_zip_v2_v2_process_zip__post",
        "parameters" : [ {
          "name" : "x-api-key",
          "in" : "header",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "anyOf" : [ {
              "type" : "string"
            }, {
              "type" : "null"
            } ],
            "title" : "X-Api-Key"
          }
        }, {
          "name" : "x-auth-request-email",
          "in" : "header",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "anyOf" : [ {
              "type" : "string"
            }, {
              "type" : "null"
            } ],
            "title" : "X-Auth-Request-Email"
          }
        } ],
        "requestBody" : {
          "content" : {
            "multipart/form-data" : {
              "schema" : {
                "$ref" : "#/components/schemas/Body_post_process_zip_v2_v2_process_zip__post"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ExtractZipResponse"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      }
    },
    "/v2/async/process-file/" : {
      "post" : {
        "tags" : [ "process-file" ],
        "summary" : "Post Process File Async V2",
        "operationId" : "post_process_file_async_v2_v2_async_process_file__post",
        "parameters" : [ {
          "name" : "x-api-key",
          "in" : "header",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "anyOf" : [ {
              "type" : "string"
            }, {
              "type" : "null"
            } ],
            "title" : "X-Api-Key"
          }
        }, {
          "name" : "x-auth-request-email",
          "in" : "header",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "anyOf" : [ {
              "type" : "string"
            }, {
              "type" : "null"
            } ],
            "title" : "X-Auth-Request-Email"
          }
        } ],
        "requestBody" : {
          "content" : {
            "multipart/form-data" : {
              "schema" : {
                "$ref" : "#/components/schemas/Body_post_process_file_async_v2_v2_async_process_file__post"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ExtractAsyncResponse"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      }
    },
    "/v2/async/process-zip/" : {
      "post" : {
        "tags" : [ "process-zip" ],
        "summary" : "Post Process Zip Async V2",
        "operationId" : "post_process_zip_async_v2_v2_async_process_zip__post",
        "parameters" : [ {
          "name" : "x-api-key",
          "in" : "header",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "anyOf" : [ {
              "type" : "string"
            }, {
              "type" : "null"
            } ],
            "title" : "X-Api-Key"
          }
        }, {
          "name" : "x-auth-request-email",
          "in" : "header",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "anyOf" : [ {
              "type" : "string"
            }, {
              "type" : "null"
            } ],
            "title" : "X-Auth-Request-Email"
          }
        } ],
        "requestBody" : {
          "content" : {
            "multipart/form-data" : {
              "schema" : {
                "$ref" : "#/components/schemas/Body_post_process_zip_async_v2_v2_async_process_zip__post"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ExtractAsyncResponse"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      }
    },
    "/v2/usage-statistics/" : {
      "get" : {
        "tags" : [ "usage-statistics" ],
        "summary" : "Get Usage Statistics",
        "operationId" : "get_usage_statistics_v2_usage_statistics__get",
        "parameters" : [ {
          "name" : "workspace",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "title" : "Workspace"
          }
        }, {
          "name" : "start_date",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "anyOf" : [ {
              "type" : "string",
              "format" : "date-time"
            }, {
              "type" : "null"
            } ],
            "title" : "Start Date"
          }
        }, {
          "name" : "end_date",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "anyOf" : [ {
              "type" : "string",
              "format" : "date-time"
            }, {
              "type" : "null"
            } ],
            "title" : "End Date"
          }
        }, {
          "name" : "timeframe",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "$ref" : "#/components/schemas/TimeFrame",
            "default" : "month"
          }
        }, {
          "name" : "x-api-key",
          "in" : "header",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "anyOf" : [ {
              "type" : "string"
            }, {
              "type" : "null"
            } ],
            "title" : "X-Api-Key"
          }
        }, {
          "name" : "x-auth-request-email",
          "in" : "header",
          "required" : false,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "anyOf" : [ {
              "type" : "string"
            }, {
              "type" : "null"
            } ],
            "title" : "X-Auth-Request-Email"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/UsageStatisticsResponse"
                  },
                  "title" : "Response Get Usage Statistics V2 Usage Statistics  Get"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      }
    },
    "/v2/workspaces/api-keys/" : {
      "get" : {
        "tags" : [ "api-keys" ],
        "summary" : "List Api Keys",
        "description" : "List all API keys for a workspace.",
        "operationId" : "list_api_keys_v2_workspaces_api_keys__get",
        "parameters" : [ {
          "name" : "workspace",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "title" : "Workspace"
          }
        }, {
          "name" : "x-api-key",
          "in" : "header",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "title" : "X-Api-Key"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/ApiKeyResponse"
                  },
                  "title" : "Response List Api Keys V2 Workspaces Api Keys  Get"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      },
      "post" : {
        "tags" : [ "api-keys" ],
        "summary" : "Create Api Key",
        "operationId" : "create_api_key_v2_workspaces_api_keys__post",
        "parameters" : [ {
          "name" : "x-api-key",
          "in" : "header",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "title" : "X-Api-Key"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/x-www-form-urlencoded" : {
              "schema" : {
                "$ref" : "#/components/schemas/Body_create_api_key_v2_workspaces_api_keys__post"
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ApiKeyResponse"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      }
    },
    "/v2/workspaces/api-keys/{key_id}" : {
      "get" : {
        "tags" : [ "api-keys" ],
        "summary" : "Get Api Key",
        "description" : "Get details of a specific API key by ID.",
        "operationId" : "get_api_key_v2_workspaces_api_keys__key_id__get",
        "parameters" : [ {
          "name" : "key_id",
          "in" : "path",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid",
            "title" : "Key Id"
          }
        }, {
          "name" : "x-api-key",
          "in" : "header",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "title" : "X-Api-Key"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/x-www-form-urlencoded" : {
              "schema" : {
                "$ref" : "#/components/schemas/Body_get_api_key_v2_workspaces_api_keys__key_id__get"
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ApiKeyResponse"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      },
      "delete" : {
        "tags" : [ "api-keys" ],
        "summary" : "Delete Api Key",
        "description" : "Delete an API key from the workspace by ID.",
        "operationId" : "delete_api_key_v2_workspaces_api_keys__key_id__delete",
        "parameters" : [ {
          "name" : "key_id",
          "in" : "path",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid",
            "title" : "Key Id"
          }
        }, {
          "name" : "x-api-key",
          "in" : "header",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "title" : "X-Api-Key"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/x-www-form-urlencoded" : {
              "schema" : {
                "$ref" : "#/components/schemas/Body_delete_api_key_v2_workspaces_api_keys__key_id__delete"
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/DeleteApiKeyResponse"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      },
      "patch" : {
        "tags" : [ "api-keys" ],
        "summary" : "Update Api Key",
        "description" : "Update API key description by ID.",
        "operationId" : "update_api_key_v2_workspaces_api_keys__key_id__patch",
        "parameters" : [ {
          "name" : "key_id",
          "in" : "path",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid",
            "title" : "Key Id"
          }
        }, {
          "name" : "x-api-key",
          "in" : "header",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "title" : "X-Api-Key"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/x-www-form-urlencoded" : {
              "schema" : {
                "$ref" : "#/components/schemas/Body_update_api_key_v2_workspaces_api_keys__key_id__patch"
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ApiKeyResponse"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      }
    },
    "/v2/workspaces/id/{workspace_id}" : {
      "get" : {
        "tags" : [ "workspaces" ],
        "summary" : "Get Workspace By Id",
        "description" : "Get workspace by ID.",
        "operationId" : "get_workspace_by_id_v2_workspaces_id__workspace_id__get",
        "parameters" : [ {
          "name" : "workspace_id",
          "in" : "path",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid",
            "title" : "Workspace Id"
          }
        }, {
          "name" : "x-api-key",
          "in" : "header",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "title" : "X-Api-Key"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/WorkspaceResponse"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      }
    },
    "/v2/workspaces/name/{workspace_name}" : {
      "get" : {
        "tags" : [ "workspaces" ],
        "summary" : "Get Workspace By Name",
        "description" : "Get workspace by name.",
        "operationId" : "get_workspace_by_name_v2_workspaces_name__workspace_name__get",
        "parameters" : [ {
          "name" : "workspace_name",
          "in" : "path",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "title" : "Workspace Name"
          }
        }, {
          "name" : "x-api-key",
          "in" : "header",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "title" : "X-Api-Key"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/WorkspaceResponse"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      }
    },
    "/v3/workspaces" : {
      "get" : {
        "tags" : [ "workspaces" ],
        "summary" : "List Workspaces V3",
        "description" : "List all workspaces available for the authenticated user.",
        "operationId" : "list_workspaces_v3_v3_workspaces_get",
        "parameters" : [ {
          "name" : "x-auth-request-email",
          "in" : "header",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "title" : "X-Auth-Request-Email"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/WorkspaceListResponse"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      },
      "post" : {
        "tags" : [ "workspaces" ],
        "summary" : "Create Workspace V3",
        "description" : "Create a new workspace.",
        "operationId" : "create_workspace_v3_v3_workspaces_post",
        "parameters" : [ {
          "name" : "x-auth-request-email",
          "in" : "header",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "title" : "X-Auth-Request-Email"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/x-www-form-urlencoded" : {
              "schema" : {
                "$ref" : "#/components/schemas/Body_create_workspace_v3_v3_workspaces_post"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "201" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/WorkspaceResponse"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      }
    },
    "/v3/workspaces/{workspace_id}" : {
      "get" : {
        "tags" : [ "workspaces" ],
        "summary" : "Get Workspace V3",
        "description" : "Get detailed information about a specific workspace identified by UUID.",
        "operationId" : "get_workspace_v3_v3_workspaces__workspace_id__get",
        "parameters" : [ {
          "name" : "workspace_id",
          "in" : "path",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid",
            "title" : "Workspace Id"
          }
        }, {
          "name" : "x-auth-request-email",
          "in" : "header",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "title" : "X-Auth-Request-Email"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/WorkspaceResponse"
                }
              }
            }
          },
          "422" : {
            "description" : "Validation Error",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security" : [ {
          "default" : [ ]
        } ],
        "x-auth-type" : "Application & Application User",
        "x-throttling-tier" : "Unlimited"
      },
      "delete" : {
        "tags" : [ "workspaces" ],
        "summary" : "Delete Workspace V3",
        "description" : "Delete a workspace identified by UUID. By default, performs soft delete, set hard_delete=True for permanent deletion.",
        "operationId" : "delete_workspace_v3_v3_workspaces__workspace_id__delete",
        "parameters" : [ {
          "name" : "workspace_id",
          "in" : "path",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "format" : "uuid",
            "title" : "Workspace Id"
          }
        }, {
          "name" : "x-auth-request-email",
          "in" : "header",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string",
            "title" : "X-Auth-Request-Email"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/x-www-form-urlencoded" : {
              "schema" : {
                "$ref" : "#/components/schemas/Body_delete_workspace_v3_v3_workspaces__workspace_id__delete"
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "description" : "Successful Response",
            "content" : {
              "appl

# --- truncated at 32 KB (464 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/kuehne-nagel/refs/heads/main/openapi/kuehne-nagel-kai-document-extract-v0-1-0-openapi.json