Unified.to Kms API

The kms API from Unified.to — 6 operation(s) for kms.

GitHub OpenAPI
Business capability
Knowledge Management BC-830

Operations 18

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /kms/{connection_id}/comment List comments on a knowledge base connection · List All Comments #
Ask an LLM
“How do I read the comments on a knowledge base connection?”
“Can I list only the comments on one page of a connection?”
Tell an agent
List comments on knowledge base connection {connection_id}.
Show {type} comments on connection {connection_id} matching {query}.
POST /kms/{connection_id}/comment Add a comment to a knowledge base connection · Create a Comment #
Ask an LLM
“How do I post a comment on a knowledge base connection?”
“Can I set the content type when adding a comment to a connection?”
Tell an agent
Add comment {content} to knowledge base connection {connection_id}.
Post a {content_type} comment {content} on connection {connection_id} by user {user_id}.
DELETE /kms/{connection_id}/comment/{id} Delete a comment from a knowledge base connection · Remove a Comment #
Ask an LLM
“How do I delete a comment from a knowledge base connection?”
“Can I remove a single comment by its ID?”
Tell an agent destructive · confirm first
Delete comment {id} from knowledge base connection {connection_id}.
Remove comment {id} on connection {connection_id}.
GET /kms/{connection_id}/comment/{id} Retrieve a comment on a knowledge base connection · Retrieve a Comment #
Ask an LLM
“How do I read one comment on a knowledge base connection?”
“What content does a specific comment on a connection contain?”
Tell an agent
Get comment {id} on knowledge base connection {connection_id}.
Show the text of comment {id} on connection {connection_id}.
PATCH /kms/{connection_id}/comment/{id} Edit a comment on a knowledge base connection · Update a Comment #
Ask an LLM
“How do I edit just the content of a comment on a knowledge base connection?”
“Can I change a comment's type without resending its content?”
Tell an agent
Edit comment {id} on connection {connection_id} to {content}.
Patch comment {id} on connection {connection_id} to type {content_type}.
PUT /kms/{connection_id}/comment/{id} Replace a comment on a knowledge base connection · Update a Comment #
Ask an LLM
“How do I overwrite a comment on a knowledge base connection?”
“Can I change both the content and type of an existing comment?”
Tell an agent
Replace comment {id} on connection {connection_id} with {content}.
Overwrite comment {id} on connection {connection_id} as {content} of type {content_type}.
GET /kms/{connection_id}/page List pages in a knowledge base connection · List All Pages #
Ask an LLM
“How do I list the pages in a knowledge base connection?”
“Can I list only the pages in one space of a connection?”
Tell an agent
List pages in knowledge base connection {connection_id}.
Show pages in connection {connection_id} under space {space_id}.
POST /kms/{connection_id}/page Create a page in a knowledge base connection · Create a Page #
Ask an LLM
“How do I create a page in a knowledge base connection?”
“Can I create a page under a specific parent page?”
Tell an agent
Create a {type} page titled {title} in knowledge base connection {connection_id}.
Add page {title} of type {type} under parent {parent_id} in connection {connection_id}.
DELETE /kms/{connection_id}/page/{id} Delete a page from a knowledge base connection · Remove a Page #
Ask an LLM
“How do I delete a page from a knowledge base connection?”
“Can I remove a single page by its ID?”
Tell an agent destructive · confirm first
Delete page {id} from knowledge base connection {connection_id}.
Remove page {id} on connection {connection_id}.
GET /kms/{connection_id}/page/{id} Retrieve a page in a knowledge base connection · Retrieve a Page #
Ask an LLM
“How do I read one page in a knowledge base connection?”
“What title and type does a specific page have?”
Tell an agent
Get page {id} in knowledge base connection {connection_id}.
Show the title and type of page {id} on connection {connection_id}.
PATCH /kms/{connection_id}/page/{id} Edit a page in a knowledge base connection · Update a Page #
Ask an LLM
“How do I edit just the title of a page in a knowledge base connection?”
“Can I change a page's type without resending its title?”
Tell an agent
Edit page {id} in connection {connection_id} to title {title}.
Patch page {id} on connection {connection_id} to type {type}.
PUT /kms/{connection_id}/page/{id} Replace a page in a knowledge base connection · Update a Page #
Ask an LLM
“How do I overwrite a page in a knowledge base connection?”
“Can I change both the title and type of an existing page?”
Tell an agent
Replace page {id} in connection {connection_id} with title {title} and type {type}.
Overwrite page {id} on connection {connection_id} as {title} of type {type}.
GET /kms/{connection_id}/space List spaces in a knowledge base connection · List All Spaces #
Ask an LLM
“How do I list the spaces in a knowledge base connection?”
“Can I list only the spaces under one parent space?”
Tell an agent
List spaces in knowledge base connection {connection_id}.
Show spaces in connection {connection_id} under parent {parent_id}.
POST /kms/{connection_id}/space Create a knowledge space · Create a Space #
Ask an LLM
“How do I create a new knowledge space like a workspace?”
“Can a new space be a sub-space of an existing page?”
Tell an agent
Create a space named {name} under knowledge connection {connection_id}.
Create space {name} on connection {connection_id} under page {parent_page_id}.
DELETE /kms/{connection_id}/space/{id} Delete a space from a knowledge base connection · Remove a Space #
Ask an LLM
“How do I delete a space from a knowledge base connection?”
“Can I remove a single space by its ID?”
Tell an agent destructive · confirm first
Delete space {id} from knowledge base connection {connection_id}.
Remove space {id} on connection {connection_id}.
GET /kms/{connection_id}/space/{id} Retrieve a space in a knowledge base connection · Retrieve a Space #
Ask an LLM
“How do I read one space in a knowledge base connection?”
“What name and description does a specific space have?”
Tell an agent
Get space {id} in knowledge base connection {connection_id}.
Show the name of space {id} on connection {connection_id}.
PATCH /kms/{connection_id}/space/{id} Edit a space in a knowledge base connection · Update a Space #
Ask an LLM
“How do I edit just the name of a space in a knowledge base connection?”
“Can I change a space's description without resending its name?”
Tell an agent
Edit space {id} in connection {connection_id} to name {name}.
Patch space {id} on connection {connection_id} to description {description}.
PUT /kms/{connection_id}/space/{id} Replace a space in a knowledge base connection · Update a Space #
Ask an LLM
“How do I overwrite a space in a knowledge base connection?”
“Can I change both the name and description of an existing space?”
Tell an agent
Replace space {id} in connection {connection_id} with name {name}.
Overwrite space {id} on connection {connection_id} as {name} with description {description}.

Documentation

Specifications

Schemas & Data

Other Resources

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/unified-to:unified-to-kms-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

unified-to-kms-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: hello@unified.to
    url: https://unified.to/contact
  description: One API to Rule Them All
  termsOfService: https://unified.to/tos
  title: Unified.to Kms API
  version: '1.0'
servers:
- description: North American data region
  url: https://api.unified.to
- description: European data region
  url: https://api-eu.unified.to
- description: Australian data region
  url: https://api-au.unified.to
security:
- jwt: []
tags:
- name: KMS
paths:
  /kms/{connection_id}/comment:
    get:
      operationId: listKmsComments
      parameters:
      - in: query
        name: limit
        required: false
        schema:
          type: number
      - in: query
        name: offset
        required: false
        schema:
          type: number
      - description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
        in: query
        name: updated_gte
        required: false
        schema:
          type: string
      - in: query
        name: sort
        required: false
        schema:
          type: string
      - in: query
        name: order
        required: false
        schema:
          type: string
      - description: Query string to search. eg. email address or name
        in: query
        name: query
        required: false
        schema:
          type: string
      - description: The page ID to filter by (reference to KmsPage)
        in: query
        name: page_id
        required: false
        schema:
          type: string
      - description: The type to filter by
        in: query
        name: type
        required: false
        schema:
          type: string
      - description: The parent ID to filter by
        in: query
        name: parent_id
        required: false
        schema:
          type: string
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - type
            - content_type
            - content
            - user_id
            - page_id
            - parent_id
            - raw
            type: string
          type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsComments'
          description: Successful
      security:
      - jwt: []
      summary: List All Comments
      tags:
      - KMS
    post:
      operationId: createKmsComment
      parameters:
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - type
            - content_type
            - content
            - user_id
            - page_id
            - parent_id
            - raw
            type: string
          type: array
        type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KmsComment'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsComment'
          description: Successful
      security:
      - jwt: []
      summary: Create a Comment
      tags:
      - KMS
  /kms/{connection_id}/comment/{id}:
    delete:
      operationId: removeKmsComment
      parameters:
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      - description: ID of the Comment
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful
        default:
          content: {}
          description: Successful
          headers:
            Content-Type:
              required: false
              schema:
                type: string
      security:
      - jwt: []
      summary: Remove a Comment
      tags:
      - KMS
    get:
      operationId: getKmsComment
      parameters:
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - type
            - content_type
            - content
            - user_id
            - page_id
            - parent_id
            - raw
            type: string
          type: array
        type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      - description: ID of the Comment
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsComment'
          description: Successful
      security:
      - jwt: []
      summary: Retrieve a Comment
      tags:
      - KMS
    patch:
      operationId: patchKmsComment
      parameters:
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - type
            - content_type
            - content
            - user_id
            - page_id
            - parent_id
            - raw
            type: string
          type: array
        type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      - description: ID of the Comment
        in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KmsComment'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsComment'
          description: Successful
      security:
      - jwt: []
      summary: Update a Comment
      tags:
      - KMS
    put:
      operationId: updateKmsComment
      parameters:
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - type
            - content_type
            - content
            - user_id
            - page_id
            - parent_id
            - raw
            type: string
          type: array
        type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      - description: ID of the Comment
        in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KmsComment'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsComment'
          description: Successful
      security:
      - jwt: []
      summary: Update a Comment
      tags:
      - KMS
  /kms/{connection_id}/page:
    get:
      operationId: listKmsPages
      parameters:
      - in: query
        name: limit
        required: false
        schema:
          type: number
      - in: query
        name: offset
        required: false
        schema:
          type: number
      - description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
        in: query
        name: updated_gte
        required: false
        schema:
          type: string
      - in: query
        name: sort
        required: false
        schema:
          type: string
      - in: query
        name: order
        required: false
        schema:
          type: string
      - description: Query string to search. eg. email address or name
        in: query
        name: query
        required: false
        schema:
          type: string
      - description: The space ID to filter by (reference to KmsSpace)
        in: query
        name: space_id
        required: false
        schema:
          type: string
      - description: The parent ID to filter by
        in: query
        name: parent_id
        required: false
        schema:
          type: string
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - title
            - type
            - space_id
            - parent_id
            - is_active
            - user_id
            - download_url
            - metadata
            - has_children
            - web_url
            - raw
            type: string
          type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsPages'
          description: Successful
      security:
      - jwt: []
      summary: List All Pages
      tags:
      - KMS
    post:
      operationId: createKmsPage
      parameters:
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - title
            - type
            - space_id
            - parent_id
            - is_active
            - user_id
            - download_url
            - metadata
            - has_children
            - web_url
            - raw
            type: string
          type: array
        type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KmsPage'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsPage'
          description: Successful
      security:
      - jwt: []
      summary: Create a Page
      tags:
      - KMS
  /kms/{connection_id}/page/{id}:
    delete:
      operationId: removeKmsPage
      parameters:
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      - description: ID of the Page
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful
        default:
          content: {}
          description: Successful
          headers:
            Content-Type:
              required: false
              schema:
                type: string
      security:
      - jwt: []
      summary: Remove a Page
      tags:
      - KMS
    get:
      operationId: getKmsPage
      parameters:
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - title
            - type
            - space_id
            - parent_id
            - is_active
            - user_id
            - download_url
            - metadata
            - has_children
            - web_url
            - raw
            type: string
          type: array
        type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      - description: ID of the Page
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsPage'
          description: Successful
      security:
      - jwt: []
      summary: Retrieve a Page
      tags:
      - KMS
    patch:
      operationId: patchKmsPage
      parameters:
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - title
            - type
            - space_id
            - parent_id
            - is_active
            - user_id
            - download_url
            - metadata
            - has_children
            - web_url
            - raw
            type: string
          type: array
        type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      - description: ID of the Page
        in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KmsPage'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsPage'
          description: Successful
      security:
      - jwt: []
      summary: Update a Page
      tags:
      - KMS
    put:
      operationId: updateKmsPage
      parameters:
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - title
            - type
            - space_id
            - parent_id
            - is_active
            - user_id
            - download_url
            - metadata
            - has_children
            - web_url
            - raw
            type: string
          type: array
        type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      - description: ID of the Page
        in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KmsPage'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsPage'
          description: Successful
      security:
      - jwt: []
      summary: Update a Page
      tags:
      - KMS
  /kms/{connection_id}/space:
    get:
      operationId: listKmsSpaces
      parameters:
      - in: query
        name: limit
        required: false
        schema:
          type: number
      - in: query
        name: offset
        required: false
        schema:
          type: number
      - description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
        in: query
        name: updated_gte
        required: false
        schema:
          type: string
      - in: query
        name: sort
        required: false
        schema:
          type: string
      - in: query
        name: order
        required: false
        schema:
          type: string
      - description: Query string to search. eg. email address or name
        in: query
        name: query
        required: false
        schema:
          type: string
      - description: The parent ID to filter by
        in: query
        name: parent_id
        required: false
        schema:
          type: string
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - name
            - description
            - parent_id
            - is_active
            - user_id
            - parent_page_id
            - raw
            type: string
          type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsSpaces'
          description: Successful
      security:
      - jwt: []
      summary: List All Spaces
      tags:
      - KMS
    post:
      operationId: createKmsSpace
      parameters:
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - name
            - description
            - parent_id
            - is_active
            - user_id
            - parent_page_id
            - raw
            type: string
          type: array
        type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KmsSpace'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsSpace'
          description: Successful
      security:
      - jwt: []
      summary: Create a Space
      tags:
      - KMS
  /kms/{connection_id}/space/{id}:
    delete:
      operationId: removeKmsSpace
      parameters:
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      - description: ID of the Space
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful
        default:
          content: {}
          description: Successful
          headers:
            Content-Type:
              required: false
              schema:
                type: string
      security:
      - jwt: []
      summary: Remove a Space
      tags:
      - KMS
    get:
      operationId: getKmsSpace
      parameters:
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - name
            - description
            - parent_id
            - is_active
            - user_id
            - parent_page_id
            - raw
            type: string
          type: array
        type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      - description: ID of the Space
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsSpace'
          description: Successful
      security:
      - jwt: []
      summary: Retrieve a Space
      tags:
      - KMS
    patch:
      operationId: patchKmsSpace
      parameters:
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - name
            - description
            - parent_id
            - is_active
            - user_id
            - parent_page_id
            - raw
            type: string
          type: array
        type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      - description: ID of the Space
        in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KmsSpace'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsSpace'
          description: Successful
      security:
      - jwt: []
      summary: Update a Space
      tags:
      - KMS
    put:
      operationId: updateKmsSpace
      parameters:
      - description: Fields to return
        in: query
        name: fields
        required: false
        schema:
          items:
            enum:
            - id
            - created_at
            - updated_at
            - name
            - description
            - parent_id
            - is_active
            - user_id
            - parent_page_id
            - raw
            type: string
          type: array
        type: array
      - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        in: query
        name: raw
        required: false
        schema:
          type: string
      - description: ID of the connection
        in: path
        name: connection_id
        required: true
        schema:
          type: string
      - description: ID of the Space
        in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KmsSpace'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KmsSpace'
          description: Successful
      security:
      - jwt: []
      summary: Update a Space
      tags:
      - KMS
components:
  schemas:
    KmsSpace:
      properties:
        created_at:
          format: date-time
          type: string
        description:
          type: string
        id:
          type: string
        is_active:
          type: boolean
        name:
          type: string
        parent_id:
          type: string
        parent_page_id:
          type: string
        raw:
          additionalProperties: true
          type: object
        updated_at:
          format: date-time
          type: string
        user_id:
          type: string
      required:
      - name
      type: object
    KmsPage:
      properties:
        created_at:
          format: date-time
          type: string
        download_url:
          type: string
        has_children:
          type: boolean
        id:
          type: string
        is_active:
          type: boolean
        metadata:
          $ref: '#/components/schemas/property_KmsPage_metadata'
        parent_id:
          type: string
        raw:
          additionalProperties: true
          type: object
        space_id:
          type: string
        title:
          type: string
        type:
          enum:
          - HTML
          - MARKDOWN
          - TEXT
          - OTHER
          type: string
          x-speakeasy-unknown-values: allow
        updated_at:
          format: date-time
          type: string
        user_id:
          type: string
        web_url:
          type: string
      required:
      - title
      - type
      type: object
    KmsPageMetadata:
      properties:
        extra_data:
          additionalProperties: true
          anyOf:
          - type: object
          - type: string
          - type: number
          - type: boolean
          - items:
              anyOf:
              - type: object
              - type: string
              - type: number
              - type: boolean
            type: array
        format:
          enum:
          - TEXT
          - NUMBER
          - DATE
          - BOOLEAN
          - FILE
          - TEXTAREA
          - SINGLE_SELECT
          - MULTIPLE_SELECT
          - MEASUREMENT
          - PRICE
          - YES_NO
          - CURRENCY
          - URL
          - PERCENT
          - EMAIL
          - PHONE
          - REFERENCE
          - TIME
          type: string
          x-speakeasy-unknown-values: allow
        id:
          type: string
        namespace:
          type: string
        slug:
          type: string
        value:
          additionalProperties: true
          anyOf:
          - type: object
          - type: string
          - type: number
          - type: boolean
          - items:
              anyOf:
              - type: object
              - type: string
              - type: number
              - type: boolean
            type: array
      type: object
    KmsComment:
      properties:
        content:
          type: string
        content_type:
          enum:
          - HTML
          - MARKDOWN
          - TEXT
          - OTHER
          type: string
          x-speakeasy-unknown-values: allow
        created_at:
          format: date-time
          type: string
        id:
          type: string
        page_id:
          type: string
        parent_id:
          type: string
        raw:
          additionalProperties: true
          type: object
        type:
          enum:
          - PAGE_INLINE
          - PAGE
          type: string
          x-speakeasy-unknown-values: allow
        updated_at:
          format: date-time
          type: string
        user_id:
          type: string
      required:
      - content
      type: object
    KmsComments:
      items:
        $ref: '#/components/schemas/KmsComment'
      type: array
    property_KmsPage_metadata:
      items:
        $ref: '#/components/schemas/KmsPageMetadata'
      type: array
    KmsPages:
      items:
        $ref: '#/components/schemas/KmsPage'
      type: array
    KmsSpaces:
      items:
        $ref: '#/components/schemas/KmsSpace'
      type: array
  securitySchemes:
    jwt:
      in: header
      name: authorization
      type: apiKey
externalDocs:
  description: API Documentation
  url: https://docs.unified.to