Tray.ai · Schema

Tray.ai User

A user in the Tray.ai platform, either an external embedded user or an organization member.

AutomationIntegrationiPaaSAI AgentsMCP

Properties

Name Type Description
id string Tray internal user identifier
name string Display name of the user
externalUserId string External user identifier set during creation (embedded users only)
email string Email address of the user
isTestUser boolean Whether the user is marked as a test user (excluded from billing)
role string Role of the user in the organization
status string Account status (active, invited, etc.)
View JSON Schema on GitHub

JSON Schema

user.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tray-ai/refs/heads/main/json-schema/user.json",
  "title": "Tray.ai User",
  "description": "A user in the Tray.ai platform, either an external embedded user or an organization member.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Tray internal user identifier"
    },
    "name": {
      "type": "string",
      "description": "Display name of the user"
    },
    "externalUserId": {
      "type": "string",
      "description": "External user identifier set during creation (embedded users only)"
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Email address of the user"
    },
    "isTestUser": {
      "type": "boolean",
      "description": "Whether the user is marked as a test user (excluded from billing)"
    },
    "role": {
      "type": "string",
      "description": "Role of the user in the organization"
    },
    "status": {
      "type": "string",
      "description": "Account status (active, invited, etc.)"
    }
  },
  "required": ["id"]
}