Tough Tongue AI · Schema

PublicEnrichedSession

An unfortunate wrapper over EnrichedSession to make it compatible with the released v1 API.

Artificial IntelligenceSalesHiringTrainingCustomer ServiceEducation

Properties

Name Type Description
_id object MongoDB document ObjectID
scenario_id string
org object Organization this session belongs to
status string
created_at string
updated_at string
completed_at object
user_id string
user_name object
user_email object
recording_key object
finalized_transcript object
editor_content object
last_evaluated_at object
eval_start_ts object Timestamp when eval workflow started (prevents concurrent runs)
evaluation_results object
improvement_results object
share_token object
share_enabled boolean
share_expires_at object
max_duration_seconds object Auto-terminate session after this duration (seconds)
single_use boolean Whether this session link can only be used once
running_transcript string
metadata object Additional session metadata
transcript_key object
scenario_overview object
recording_url object
duration object
scenario_name object
transcript_content object
View JSON Schema on GitHub

JSON Schema

toughtongueai-com-public-enriched-session-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/toughtongueai-com/json-schema/toughtongueai-com-public-enriched-session-schema.json",
  "title": "PublicEnrichedSession",
  "description": "An unfortunate wrapper over EnrichedSession to make it compatible with the released v1 API.",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/toughtongueai-com-openapi.json#/components/schemas/PublicEnrichedSession",
  "properties": {
    "_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": " Id",
      "description": "MongoDB document ObjectID"
    },
    "scenario_id": {
      "type": "string",
      "title": "Scenario Id"
    },
    "org": {
      "anyOf": [
        {
          "$ref": "#/$defs/OrgInfo"
        },
        {
          "type": "null"
        }
      ],
      "description": "Organization this session belongs to"
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "completed",
        "archived",
        "terminated"
      ],
      "title": "Status",
      "default": "active"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    },
    "completed_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Completed At"
    },
    "user_id": {
      "type": "string",
      "title": "User Id"
    },
    "user_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Name"
    },
    "user_email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Email"
    },
    "recording_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Recording Key"
    },
    "finalized_transcript": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finalized Transcript"
    },
    "editor_content": {
      "anyOf": [
        {
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Editor Content"
    },
    "last_evaluated_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Evaluated At"
    },
    "eval_start_ts": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Eval Start Ts",
      "description": "Timestamp when eval workflow started (prevents concurrent runs)"
    },
    "evaluation_results": {
      "anyOf": [
        {
          "$ref": "#/$defs/EvaluationResults"
        },
        {
          "type": "null"
        }
      ]
    },
    "improvement_results": {
      "anyOf": [
        {
          "$ref": "#/$defs/ImprovementResults"
        },
        {
          "type": "null"
        }
      ]
    },
    "share_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Share Token"
    },
    "share_enabled": {
      "type": "boolean",
      "title": "Share Enabled",
      "default": false
    },
    "share_expires_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Share Expires At"
    },
    "max_duration_seconds": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Duration Seconds",
      "description": "Auto-terminate session after this duration (seconds)"
    },
    "single_use": {
      "type": "boolean",
      "title": "Single Use",
      "description": "Whether this session link can only be used once",
      "default": false
    },
    "running_transcript": {
      "type": "string",
      "title": "Running Transcript",
      "default": ""
    },
    "metadata": {
      "anyOf": [
        {
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metadata",
      "description": "Additional session metadata"
    },
    "transcript_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Transcript Key"
    },
    "scenario_overview": {
      "$ref": "#/$defs/ScenarioOverview"
    },
    "recording_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Recording Url"
    },
    "duration": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration"
    },
    "scenario_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scenario Name"
    },
    "transcript_content": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Transcript Content"
    }
  },
  "type": "object",
  "required": [
    "scenario_id",
    "user_id",
    "scenario_overview"
  ],
  "$defs": {
    "Appearance": {
      "properties": {
        "voice": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Voice",
          "description": "Voice name for the agent. Options: Aoede, Charon, Fenrir, Kore, Puck",
          "default": "Aoede"
        },
        "avatar_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Avatar Url",
          "description": "Custom avatar image URL. If provided, overrides the default avatar."
        },
        "live_avatar_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Live Avatar Id",
          "description": "LiveKit avatar ID from stock avatars (Avatario). Used for live video avatars."
        },
        "language_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Language Code",
          "description": "Language code (in BCP 47 format, e.g. \"en-US\") for speech synthesis. Valid values are: de-DE, en-AU, en-GB, en-IN, es-US, fr-FR, hi-IN, pt-BR, ar-XA, es-ES, fr-CA, id-ID, it-IT, ja-JP, tr-TR, vi-VN, bn-IN, gu-IN, kn-IN, ml-IN, mr-IN, ta-IN, te-IN, nl-NL, ko-KR, cmn-CN, pl-PL, ru-RU, and th-TH.",
          "default": "en-US"
        },
        "start_sound": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "countdown_blip",
                "ringtone",
                "click",
                "none"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Start Sound",
          "description": "Start sound option for connection button. Options: countdown_blip (2x blips with effect), ringtone, click, none",
          "default": "countdown_blip"
        },
        "hybrid_avatar": {
          "anyOf": [
            {
              "$ref": "#/$defs/HybridAvatar"
            },
            {
              "type": "null"
            }
          ],
          "description": "Hybrid avatar configuration with thinking/speaking videos"
        }
      },
      "type": "object",
      "title": "Appearance",
      "description": "Visual and auditory representation of the AI agent.\nTODO: KP: Make it typed for voices"
    },
    "BillingInterval": {
      "type": "string",
      "enum": [
        "month",
        "6_months",
        "year"
      ],
      "title": "BillingInterval",
      "description": "Supported billing intervals for recurring payments"
    },
    "EvalReportEntry": {
      "properties": {
        "topic": {
          "type": "string",
          "title": "Topic"
        },
        "score": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Score",
          "default": 0
        },
        "score_str": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Score Str"
        },
        "note": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Note"
        },
        "weight": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Weight"
        },
        "requires_video": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Requires Video",
          "default": false
        }
      },
      "type": "object",
      "required": [
        "topic"
      ],
      "title": "EvalReportEntry",
      "description": "A container class to represent evaluation report for a single topic / criterion / rubrik entry.\nIt contains the following fields:\n- topic: str\n- score: Optional[float]\n- score_str: Optional[str]\n- note: Optional[str]\n# NOTE TO AI: output of these fields would be ignored, hence it's not necessary to include them in the output.\n- weight: Optional[float]\n- requires_video: Optional[bool]"
    },
    "EvaluationResults": {
      "properties": {
        "overall_score": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Overall Score"
        },
        "strengths": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Strengths"
        },
        "weaknesses": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Weaknesses"
        },
        "detailed_feedback": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Detailed Feedback"
        },
        "report_card": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/EvalReportEntry"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Report Card"
        },
        "final_score": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Final Score"
        },
        "quiz_results": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Quiz Results"
        }
      },
      "type": "object",
      "title": "EvaluationResults"
    },
    "HybridAvatar": {
      "properties": {
        "enabled": {
          "type": "boolean",
          "title": "Enabled",
          "description": "Whether hybrid avatar mode is enabled",
          "default": false
        },
        "thinking_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Thinking Url",
          "description": "S3 URL for thinking state video (played when agent is not speaking)"
        },
        "speaking_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Speaking Url",
          "description": "S3 URL for speaking state video (played when agent is speaking)"
        }
      },
      "type": "object",
      "title": "HybridAvatar",
      "description": "Configuration for hybrid avatar with thinking/speaking video states."
    },
    "ImprovementResults": {
      "properties": {
        "improvement_areas": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Improvement Areas"
        },
        "action_items": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Action Items"
        },
        "resources": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Resources"
        }
      },
      "type": "object",
      "title": "ImprovementResults"
    },
    "Memory": {
      "properties": {
        "is_memory": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Is Memory",
          "description": "Whether memory capabilities are enabled",
          "default": false
        },
        "short_mem_prompt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Short Mem Prompt",
          "description": "Prompt for generating super_memory summary after each conversation."
        },
        "long_mem_prompt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Long Mem Prompt",
          "description": "Prompt for mem0 fact extraction from conversation transcripts."
        }
      },
      "type": "object",
      "title": "Memory",
      "description": "Configuration for memory capabilities."
    },
    "OrgInfo": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id",
          "description": "Brand profile ID this resource belongs to"
        }
      },
      "type": "object",
      "required": [
        "id"
      ],
      "title": "OrgInfo",
      "description": "Organization information for resource scoping (shared across models)."
    },
    "PriceConfig": {
      "properties": {
        "stripe_price_id": {
          "type": "string",
          "title": "Stripe Price Id"
        },
        "billing_interval": {
          "anyOf": [
            {
              "$ref": "#/$defs/BillingInterval"
            },
            {
              "type": "null"
            }
          ]
        },
        "amount": {
          "type": "number",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": "USD"
        },
        "is_default": {
          "type": "boolean",
          "title": "Is Default",
          "default": false
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        }
      },
      "type": "object",
      "required": [
        "stripe_price_id",
        "amount"
      ],
      "title": "PriceConfig",
      "description": "Configuration for a specific price variant"
    },
    "ProductPricing-Output": {
      "properties": {
        "enabled": {
          "type": "boolean",
          "title": "Enabled",
          "description": "Whether this product requires payment",
          "default": false
        },
        "stripe_product_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Stripe Product Id",
          "description": "Stripe product ID for this product"
        },
        "configs": {
          "items": {
            "$ref": "#/$defs/PriceConfig"
          },
          "type": "array",
          "title": "Configs",
          "description": "Multiple price configurations (monthly, 6-month, annual, etc.)"
        }
      },
      "type": "object",
      "title": "ProductPricing",
      "description": "Consolidated pricing information for products (scenarios/collections)"
    },
    "ScenarioOverview": {
      "properties": {
        "_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": " Id",
          "description": "MongoDB document ObjectID"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "user_friendly_description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "User Friendly Description"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "title": "Updated At"
        },
        "created_by": {
          "type": "string",
          "title": "Created By",
          "description": "User who created the scenario"
        },
        "appearance": {
          "anyOf": [
            {
              "$ref": "#/$defs/Appearance"
            },
            {
              "type": "null"
            }
          ]
        },
        "memory": {
          "anyOf": [
            {
              "$ref": "#/$defs/Memory"
            },
            {
              "type": "null"
            }
          ]
        },
        "type": {
          "$ref": "#/$defs/ScenarioType",
          "default": "default"
        },
        "is_public": {
          "type": "boolean",
          "title": "Is Public",
          "default": false
        },
        "is_featured": {
          "type": "boolean",
          "title": "Is Featured",
          "default": false
        },
        "is_recording": {
          "type": "boolean",
          "title": "Is Recording",
          "default": false
        },
        "restrict_analysis": {
          "type": "boolean",
          "title": "Restrict Analysis",
          "default": false
        },
        "pricing": {
          "anyOf": [
            {
              "$ref": "#/$defs/ProductPricing-Output"
            },
            {
              "type": "null"
            }
          ],
          "description": "Consolidated pricing and monetization configuration"
        },
        "metadata": {
          "anyOf": [
            {
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Metadata"
        }
      },
      "type": "object",
      "required": [
        "name",
        "description",
        "created_by"
      ],
      "title": "ScenarioOverview",
      "description": "- Can be sent to frontend without auth checks.\n- Does not leak the scenario's key information.\n- Fields can be added sparingly."
    },
    "ScenarioType": {
      "type": "string",
      "enum": [
        "default",
        "quiz",
        "coding",
        "composite",
        "super"
      ],
      "title": "ScenarioType",
      "description": "The broad type of scenario."
    }
  }
}

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/toughtongueai-com-public-enriched-session"
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. 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.