DEV Community · Schema

AgentSessionIndex

Representation of an agent session returned in a list or after creation

Developer CommunityArticlesBloggingSocialContentOpen Source

Properties

Name Type Description
id integer
slug string
title string
tool_name string Tool that produced the session (e.g. claude_code, codex)
total_messages integer
published boolean
created_at string
updated_at string
url string
View JSON Schema on GitHub

JSON Schema

agentsessionindex.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "AgentSessionIndex",
  "description": "Representation of an agent session returned in a list or after creation",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "slug": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "tool_name": {
      "type": "string",
      "description": "Tool that produced the session (e.g. claude_code, codex)"
    },
    "total_messages": {
      "type": "integer",
      "format": "int32"
    },
    "published": {
      "type": "boolean"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "url": {
      "type": "string",
      "format": "url"
    }
  },
  "required": [
    "id",
    "slug",
    "title",
    "tool_name",
    "total_messages",
    "published",
    "created_at",
    "url"
  ]
}