Cognition Labs · Schema

CreateSessionInput

Artificial IntelligenceAI AgentsAutonomous CodingSoftware EngineeringLLMDevin

Properties

Name Type Description
prompt string The task prompt for Devin to work on.
title string Custom session name; auto-generated if omitted.
snapshot_id string
playbook_id string
knowledge_ids arraynull Null uses all knowledge; empty array uses none.
secret_ids arraynull Null uses all secrets; empty array uses none.
session_secrets array
structured_output_schema object JSON Schema (Draft 7) for validating structured output. Max 64KB.
tags array
max_acu_limit integer Maximum ACU allowance for the session.
idempotent boolean
unlisted boolean
View JSON Schema on GitHub

JSON Schema

cognition-labs-create-session-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cognition-labs/main/json-schema/cognition-labs-create-session-input-schema.json",
  "title": "CreateSessionInput",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cognition-labs-organizations-v3-api-openapi.yml#/components/schemas/CreateSessionInput",
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "prompt": {
      "type": "string",
      "description": "The task prompt for Devin to work on."
    },
    "title": {
      "type": "string",
      "description": "Custom session name; auto-generated if omitted."
    },
    "snapshot_id": {
      "type": "string"
    },
    "playbook_id": {
      "type": "string"
    },
    "knowledge_ids": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "Null uses all knowledge; empty array uses none."
    },
    "secret_ids": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "Null uses all secrets; empty array uses none."
    },
    "session_secrets": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "sensitive": {
            "type": "boolean"
          }
        }
      }
    },
    "structured_output_schema": {
      "type": "object",
      "description": "JSON Schema (Draft 7) for validating structured output. Max 64KB.",
      "additionalProperties": true
    },
    "tags": {
      "type": "array",
      "maxItems": 50,
      "items": {
        "type": "string"
      }
    },
    "max_acu_limit": {
      "type": "integer",
      "description": "Maximum ACU allowance for the session."
    },
    "idempotent": {
      "type": "boolean",
      "default": false
    },
    "unlisted": {
      "type": "boolean",
      "default": false
    }
  }
}

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/cognition-labs-create-session-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.