repowise-dev · Schema

ChatSessionOpenRequest

Open a session, or resume the one ``(namespace, external_ref)`` names.

Code IntelligenceArtificial IntelligenceOpen SourceDeveloper ToolsMCP

Properties

Name Type Description
repo_id string
scope string
namespace string
external_ref object
title object
policy object
View JSON Schema on GitHub

JSON Schema

repowise-dev-chat-session-open-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/repowise-dev/json-schema/repowise-dev-chat-session-open-request-schema.json",
  "title": "ChatSessionOpenRequest",
  "description": "Open a session, or resume the one ``(namespace, external_ref)`` names.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/repowise-dev-chat-api-openapi.yml#/components/schemas/ChatSessionOpenRequest",
  "properties": {
    "repo_id": {
      "type": "string",
      "title": "Repo Id"
    },
    "scope": {
      "type": "string",
      "enum": [
        "repo",
        "workspace"
      ],
      "title": "Scope",
      "default": "repo"
    },
    "namespace": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "title": "Namespace",
      "default": "default"
    },
    "external_ref": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 512,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "External Ref"
    },
    "title": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "policy": {
      "anyOf": [
        {
          "$ref": "#/$defs/ChatSessionPolicyRequest"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "required": [
    "repo_id"
  ],
  "$defs": {
    "ChatSessionPolicyRequest": {
      "properties": {
        "tool_allowlist": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Tool Allowlist"
        },
        "max_tool_loops": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 1.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Max Tool Loops"
        },
        "max_turns": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 1.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Max Turns"
        },
        "max_output_tokens": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 1.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Max Output Tokens"
        },
        "max_turn_tokens": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 1.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Max Turn Tokens"
        },
        "max_session_tokens": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 1.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Max Session Tokens"
        },
        "audience": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "engineer",
                "business"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Audience"
        }
      },
      "type": "object",
      "title": "ChatSessionPolicyRequest",
      "description": "Limits a caller asks for. Each may only narrow the server's default\nsession policy; a wider value is refused."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/repowise-dev-chat-session-open-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.