Cognition Labs · Schema

SessionDetail

Artificial IntelligenceAI AgentsAutonomous CodingSoftware EngineeringLLMDevin
View JSON Schema on GitHub

JSON Schema

cognition-labs-session-detail-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-session-detail-schema.json",
  "title": "SessionDetail",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cognition-labs-sessions-api-openapi.yml#/components/schemas/SessionDetail",
  "allOf": [
    {
      "$ref": "#/$defs/SessionSummary"
    },
    {
      "type": "object",
      "properties": {
        "messages": {
          "type": "array",
          "default": [],
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        }
      }
    }
  ],
  "$defs": {
    "SessionStatusEnum": {
      "type": "string",
      "enum": [
        "working",
        "blocked",
        "expired",
        "finished",
        "suspend_requested",
        "suspend_requested_frontend",
        "resume_requested",
        "resume_requested_frontend",
        "resumed"
      ]
    },
    "SessionSummary": {
      "type": "object",
      "required": [
        "session_id",
        "status",
        "created_at",
        "updated_at"
      ],
      "properties": {
        "session_id": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "status_enum": {
          "$ref": "#/$defs/SessionStatusEnum"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "title": {
          "type": "string"
        },
        "requesting_user_email": {
          "type": "string"
        },
        "playbook_id": {
          "type": "string"
        },
        "snapshot_id": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "pull_request": {
          "type": "object",
          "properties": {
            "url": {
              "type": "string"
            }
          }
        },
        "structured_output": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  }
}

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-session-detail"
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.