Skip to main content

Request and response schemas

Field tables describe JSON input and output. Endpoint-specific requirements take precedence: some fields are assigned from your credentials or the URL. PATCH accepts partial input where documented. Read-only fields are output-only; write-only fields are omitted from responses. Example IDs and credentials are placeholders.

Use these schemas with the operation reference; a schema alone does not define authentication or which fields an operation accepts.

User​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
emailemail stringRequiredallow_null: false; allow_blank: false; max_length: 254
passwordstringOptional; input onlyallow_null: false; allow_blank: false
confirm_passwordstringOptional; input onlyallow_null: false; allow_blank: false
first_namestringRequiredallow_null: false; allow_blank: false; max_length: 30
last_namestringRequiredallow_null: false; allow_blank: false; max_length: 30
companystringOptionalallow_null: true; allow_blank: true; max_length: 100
websiteURL stringOptionalallow_null: true; allow_blank: true; max_length: 200
countrystringOptionalallow_null: true; allow_blank: true; max_length: 100
job_titlestringOptionalallow_null: true; allow_blank: true; max_length: 100
phone_numberstringOptionalallow_null: true; allow_blank: true; max_length: 20
email_verifiedbooleanOutput onlyallow_null: false
created_atdate-time stringOutput onlyallow_null: false
updated_atdate-time stringOutput onlyallow_null: false
last_logindate-time stringOutput onlyallow_null: true
created_via_api_keystringOptionalallow_null: true; allow_blank: true; max_length: 64
developer_idstringOptionalallow_null: true; allow_blank: true; max_length: 40
workspaceresource IDOptionalallow_null: true
oauth_clientOAuthClientByClientIdOptionalallow_null: true

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"email": "[email protected]",
"first_name": "Example",
"last_name": "Example",
"company": "EXAMPLE_COMPANY",
"website": "https://app.example.test/callback",
"country": "EXAMPLE_COUNTRY",
"job_title": "EXAMPLE_JOB_TITLE",
"phone_number": "EXAMPLE_PHONE_NUMBER",
"email_verified": true,
"created_at": "2026-10-26T12:00:00Z",
"updated_at": "2026-10-26T12:00:00Z",
"last_login": "2026-10-26T12:00:00Z",
"created_via_api_key": "EXAMPLE_CREATED_VIA_API_KEY",
"developer_id": "EXAMPLE_DEVELOPER_ID",
"workspace": "11111111-1111-4111-8111-111111111111",
"oauth_client": "11111111-1111-4111-8111-111111111111"
}

Group​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
namestringRequiredallow_null: false; allow_blank: false; min_length: 3; max_length: 255
created_atdate-time stringOutput onlyallow_null: false
updated_atdate-time stringOutput onlyallow_null: false
created_via_api_keystringOptionalallow_null: true; allow_blank: true; max_length: 64
developer_idstringOptionalallow_null: true; allow_blank: true; max_length: 40
workspaceresource IDRequiredallow_null: false
member_countcomputed valueOutput onlyallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"created_at": "2026-10-26T12:00:00Z",
"updated_at": "2026-10-26T12:00:00Z",
"created_via_api_key": "EXAMPLE_CREATED_VIA_API_KEY",
"developer_id": "EXAMPLE_DEVELOPER_ID",
"workspace": "11111111-1111-4111-8111-111111111111",
"member_count": 1
}

GroupMember​

FieldTypeInput requirementConstraints
user_idUUID stringRequired; input onlyallow_null: false
group_idUUID stringRequired; input onlyallow_null: false

Response shape example:


{}

OAuthClient​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
namestringRequiredallow_null: false; allow_blank: false; min_length: 3; max_length: 255
client_idstringOutput onlyallow_null: false; allow_blank: false
client_secretcomputed valueOutput onlyallow_null: false
client_typestringOptionalallow_null: false; allow_blank: false; choices: ["confidential", "public"]
redirect_urisarrayRequiredallow_null: false; allow_blank: false
allowed_grant_typesarrayRequiredallow_null: false; allow_blank: false; max_length: 255
allowed_response_typesarrayRequiredallow_null: false; allow_blank: false; max_length: 100
allowed_scopesarrayRequiredallow_null: false; allow_blank: false; max_length: 255
auto_approvebooleanOptionalallow_null: false
created_atdate-time stringOutput onlyallow_null: false
updated_atdate-time stringOutput onlyallow_null: false
is_activebooleanOptionalallow_null: false
developer_idstringOptionalallow_null: true; allow_blank: true; max_length: 40
workspaceresource IDRequiredallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"client_id": "EXAMPLE_CLIENT_ID",
"client_secret": "***HIDDEN***",
"client_type": "confidential",
"redirect_uris": "http://127.0.0.1:8080/callback",
"allowed_grant_types": "authorization_code,refresh_token",
"allowed_response_types": "code",
"allowed_scopes": "openid,profile,email",
"auto_approve": true,
"created_at": "2026-10-26T12:00:00Z",
"updated_at": "2026-10-26T12:00:00Z",
"is_active": true,
"developer_id": "EXAMPLE_DEVELOPER_ID",
"workspace": "11111111-1111-4111-8111-111111111111"
}

PasswordResetRequest​

FieldTypeInput requirementConstraints
emailemail stringRequiredallow_null: false; allow_blank: false

Response shape example:


{
"email": "[email protected]"
}

EmailTemplate​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
namestringRequiredallow_null: false; allow_blank: false; choices: ["reset_password", "registration_confirmation", "welcome", "email_verification", "workspace_invitation", "magic_link", "new_device_alert"]
subjectstringRequiredallow_null: false; allow_blank: false
bodystringRequiredallow_null: false; allow_blank: false
html_contentcomputed valueOutput onlyallow_null: false
created_atdate-time stringOutput onlyallow_null: false
updated_atdate-time stringOutput onlyallow_null: false
is_defaultbooleanOutput onlyallow_null: false
created_via_api_keystringOptionalallow_null: true; allow_blank: true; max_length: 64
developer_idstringOptionalallow_null: true; allow_blank: true; max_length: 40
workspaceresource IDRequiredallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"name": "reset_password",
"subject": "EXAMPLE_SUBJECT",
"body": "EXAMPLE_BODY",
"html_content": "EXAMPLE_HTML_CONTENT",
"created_at": "2026-10-26T12:00:00Z",
"updated_at": "2026-10-26T12:00:00Z",
"is_default": true,
"created_via_api_key": "EXAMPLE_CREATED_VIA_API_KEY",
"developer_id": "EXAMPLE_DEVELOPER_ID",
"workspace": "11111111-1111-4111-8111-111111111111"
}

PasswordResetConfirm​

FieldTypeInput requirementConstraints
emailemail stringRequiredallow_null: false; allow_blank: false
codestringRequiredallow_null: false; allow_blank: false
new_passwordstringRequiredallow_null: false; allow_blank: false
confirm_passwordstringRequiredallow_null: false; allow_blank: false

Response shape example:


{
"email": "[email protected]",
"code": "EXAMPLE_CODE",
"new_password": "EXAMPLE_NEW_PASSWORD",
"confirm_password": "EXAMPLE_CONFIRM_PASSWORD"
}

VerifyEmail​

FieldTypeInput requirementConstraints
emailemail stringRequiredallow_null: false; allow_blank: false
codestringRequiredallow_null: false; allow_blank: false

Response shape example:


{
"email": "[email protected]",
"code": "EXAMPLE_CODE"
}

ApiToken​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
namestringRequiredallow_null: false; allow_blank: false; min_length: 3; max_length: 255
tokenstringOutput onlyallow_null: false; allow_blank: false
scopestringOptionalallow_null: false; allow_blank: true
created_atdate-time stringOutput onlyallow_null: false
expires_atdate-time stringOptionalallow_null: true
last_used_atdate-time stringOutput onlyallow_null: true
is_activebooleanOptionalallow_null: false
created_via_api_keystringOptionalallow_null: true; allow_blank: true; max_length: 64
developer_idstringOptionalallow_null: true; allow_blank: true; max_length: 40
workspaceresource IDRequiredallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"token": "EXAMPLE_TOKEN",
"scope": "EXAMPLE_SCOPE",
"created_at": "2026-10-26T12:00:00Z",
"expires_at": "2026-10-26T12:00:00Z",
"last_used_at": "2026-10-26T12:00:00Z",
"is_active": true,
"created_via_api_key": "EXAMPLE_CREATED_VIA_API_KEY",
"developer_id": "EXAMPLE_DEVELOPER_ID",
"workspace": "11111111-1111-4111-8111-111111111111"
}

Login​

FieldTypeInput requirementConstraints
emailemail stringRequiredallow_null: false; allow_blank: false
passwordstringRequiredallow_null: false; allow_blank: false
remember_mebooleanOptionalallow_null: false; default: false

Response shape example:


{
"email": "[email protected]",
"password": "EXAMPLE_PASSWORD",
"remember_me": false
}

ExternalProvider​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
namestringRequiredallow_null: false; allow_blank: false; min_length: 3; max_length: 100
provider_typestringRequiredallow_null: false; allow_blank: false; choices: ["google", "linkedin", "facebook", "github"]
client_idstringRequiredallow_null: false; allow_blank: false; max_length: 255
client_secretstringRequired; input onlyallow_null: false; allow_blank: false
client_secret_maskedcomputed valueOutput onlyallow_null: false
is_activebooleanOptionalallow_null: false
created_atdate-time stringOutput onlyallow_null: false
updated_atdate-time stringOutput onlyallow_null: false
developer_idstringOptionalallow_null: true; allow_blank: false
workspaceresource IDRequiredallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"provider_type": "google",
"client_id": "EXAMPLE_CLIENT_ID",
"client_secret_masked": "EXAMPLE_CLIENT_SECRET_MASKED",
"is_active": true,
"created_at": "2026-10-26T12:00:00Z",
"updated_at": "2026-10-26T12:00:00Z",
"developer_id": "EXAMPLE_DEVELOPER_ID",
"workspace": "11111111-1111-4111-8111-111111111111"
}

OAuthClientBranding​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
oauth_clientresource IDRequiredallow_null: false
logo_urlstringOptionalallow_null: true; allow_blank: true
company_namestringOptionalallow_null: false; allow_blank: true; max_length: 255
primary_colorstringOptionalallow_null: false; allow_blank: false; max_length: 7
secondary_colorstringOptionalallow_null: false; allow_blank: false; max_length: 7
background_colorstringOptionalallow_null: false; allow_blank: false; max_length: 7
themestringOptionalallow_null: false; allow_blank: false; choices: ["light", "dark", "auto"]
custom_cssstringOptionalallow_null: true; allow_blank: true
show_social_loginsbooleanOptionalallow_null: false
terms_urlURL stringOptionalallow_null: true; allow_blank: true; max_length: 500
privacy_urlURL stringOptionalallow_null: true; allow_blank: true; max_length: 500
created_atdate-time stringOutput onlyallow_null: false
updated_atdate-time stringOutput onlyallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"oauth_client": "11111111-1111-4111-8111-111111111111",
"logo_url": "EXAMPLE_LOGO_URL",
"company_name": "EXAMPLE_COMPANY_NAME",
"primary_color": "EXAMPLE_PRIMARY_COLOR",
"secondary_color": "EXAMPLE_SECONDARY_COLOR",
"background_color": "EXAMPLE_BACKGROUND_COLOR",
"theme": "light",
"custom_css": "EXAMPLE_CUSTOM_CSS",
"show_social_logins": true,
"terms_url": "https://app.example.test/callback",
"privacy_url": "https://app.example.test/callback",
"created_at": "2026-10-26T12:00:00Z",
"updated_at": "2026-10-26T12:00:00Z"
}

Workspace​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
namestringRequiredallow_null: false; allow_blank: false; min_length: 3; max_length: 255
owner_idstringOutput onlyallow_null: false; allow_blank: false
active_plan_idUUID stringOutput onlyallow_null: true
created_atdate-time stringOutput onlyallow_null: false
updated_atdate-time stringOutput onlyallow_null: false
is_activebooleanOptionalallow_null: false
member_countcomputed valueOutput onlyallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"owner_id": "EXAMPLE_OWNER_ID",
"active_plan_id": "11111111-1111-4111-8111-111111111111",
"created_at": "2026-10-26T12:00:00Z",
"updated_at": "2026-10-26T12:00:00Z",
"is_active": true,
"member_count": 1
}

WorkspaceMember​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
workspaceresource IDRequiredallow_null: false
workspace_namestringOutput onlyallow_null: false; allow_blank: false
user_idstringRequiredallow_null: false; allow_blank: false; max_length: 40
rolestringOptionalallow_null: false; allow_blank: false; choices: ["owner", "member"]
created_atdate-time stringOutput onlyallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"workspace": "11111111-1111-4111-8111-111111111111",
"workspace_name": "EXAMPLE_WORKSPACE_NAME",
"user_id": "EXAMPLE_USER_ID",
"role": "owner",
"created_at": "2026-10-26T12:00:00Z"
}

WorkspaceInvitation​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
workspaceresource IDRequiredallow_null: false
workspace_namestringOutput onlyallow_null: false; allow_blank: false
invited_user_idstringRequiredallow_null: false; allow_blank: false; max_length: 40
invited_user_emailcomputed valueOutput onlyallow_null: false
invited_by_idstringOutput onlyallow_null: false; allow_blank: false
invited_by_emailcomputed valueOutput onlyallow_null: false
rolestringOptionalallow_null: false; allow_blank: false; choices: ["owner", "member"]
statusstringOutput onlyallow_null: false; allow_blank: false; choices: ["pending", "accepted", "rejected", "expired", "cancelled"]
tokenstringOutput onlyallow_null: false; allow_blank: false
expires_atdate-time stringOutput onlyallow_null: false
accepted_atdate-time stringOutput onlyallow_null: true
rejected_atdate-time stringOutput onlyallow_null: true
created_atdate-time stringOutput onlyallow_null: false
updated_atdate-time stringOutput onlyallow_null: false
messagestringOptionalallow_null: false; allow_blank: true
is_expiredcomputed valueOutput onlyallow_null: false
can_be_acceptedcomputed valueOutput onlyallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"workspace": "11111111-1111-4111-8111-111111111111",
"workspace_name": "EXAMPLE_WORKSPACE_NAME",
"invited_user_id": "EXAMPLE_INVITED_USER_ID",
"invited_user_email": "EXAMPLE_INVITED_USER_EMAIL",
"invited_by_id": "EXAMPLE_INVITED_BY_ID",
"invited_by_email": "EXAMPLE_INVITED_BY_EMAIL",
"role": "owner",
"status": "pending",
"token": "EXAMPLE_TOKEN",
"expires_at": "2026-10-26T12:00:00Z",
"accepted_at": "2026-10-26T12:00:00Z",
"rejected_at": "2026-10-26T12:00:00Z",
"created_at": "2026-10-26T12:00:00Z",
"updated_at": "2026-10-26T12:00:00Z",
"message": "EXAMPLE_MESSAGE",
"is_expired": true,
"can_be_accepted": "EXAMPLE_CAN_BE_ACCEPTED"
}

ExternalProviderConfig​

FieldTypeInput requirementConstraints
provider_typestringRequiredallow_null: false; allow_blank: false; choices: ["google", "linkedin", "facebook", "github"]
namestringRequiredallow_null: false; allow_blank: false; max_length: 100
client_idstringRequiredallow_null: false; allow_blank: false; max_length: 255
client_secretstringRequiredallow_null: false; allow_blank: false; max_length: 255

Response shape example:


{
"provider_type": "google",
"name": "Example",
"client_id": "EXAMPLE_CLIENT_ID",
"client_secret": "***HIDDEN***"
}

QuickBuildRequest​

FieldTypeInput requirementConstraints
workspaceresource IDRequiredallow_null: false
company_namestringRequiredallow_null: false; allow_blank: false; max_length: 255
admin_contactemail stringRequiredallow_null: false; allow_blank: false
application_namestringOptionalallow_null: false; allow_blank: false; max_length: 255
auth_providersarrayRequiredallow_null: false; items: {"type": "ChoiceField", "required": true, "read_only": false, "write_only": false, "allow_null": false, "allow_blank": false, "choices": ["email", "oauth"]}
external_providersarrayOptionalallow_null: false
redirect_urisarrayRequiredallow_null: false; items: {"type": "URLField", "required": true, "read_only": false, "write_only": false, "allow_null": false, "allow_blank": false}
allowed_scopesstringOptionalallow_null: false; allow_blank: false; default: "openid,profile,email"

Response shape example:


{
"workspace": "11111111-1111-4111-8111-111111111111",
"company_name": "EXAMPLE_COMPANY_NAME",
"admin_contact": "[email protected]",
"application_name": "EXAMPLE_APPLICATION_NAME",
"auth_providers": [
"email"
],
"external_providers": "EXAMPLE_EXTERNAL_PROVIDERS",
"redirect_uris": [
"https://app.example.test/callback"
],
"allowed_scopes": "openid,profile,email"
}

QuickBuildResponse​

FieldTypeInput requirementConstraints
oauth_clientobject / JSONRequiredallow_null: false
api_tokensarrayRequiredallow_null: false; items: {"type": "DictField", "required": true, "read_only": false, "write_only": false, "allow_null": false}
email_templatesarrayRequiredallow_null: false; items: {"type": "DictField", "required": true, "read_only": false, "write_only": false, "allow_null": false}
external_providersarrayOptionalallow_null: false; items: {"type": "DictField", "required": true, "read_only": false, "write_only": false, "allow_null": false}
env_configstringRequiredallow_null: false; allow_blank: false

Response shape example:


{
"oauth_client": {},
"api_tokens": [
{}
],
"email_templates": [
{}
],
"external_providers": [
{}
],
"env_config": "EXAMPLE_ENV_CONFIG"
}

CustomDatabaseConnection​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
workspaceresource IDOptionalallow_null: false
namestringRequiredallow_null: false; allow_blank: false; min_length: 3; max_length: 255
descriptionstringOptionalallow_null: false; allow_blank: true
database_typestringRequiredallow_null: false; allow_blank: false; choices: ["postgresql", "mysql", "mongodb", "mssql", "api"]
sync_modestringOutput onlyallow_null: false; allow_blank: false
connection_stringstringOptional; input onlyallow_null: false; allow_blank: false
connection_string_maskedcomputed valueOutput onlyallow_null: false
connection_configobject / JSONOptionalallow_null: false
entities_configobject / JSONOptionalallow_null: false
schema_mappingobject / JSONOptionalallow_null: false
cache_ttl_secondsintegerOptionalallow_null: false; min_value: -9223372036854775808; max_value: 9223372036854775807
is_activebooleanOptionalallow_null: false
connection_statusstringOutput onlyallow_null: false; allow_blank: false; choices: ["unknown", "healthy", "error", "testing"]
last_connection_testdate-time stringOutput onlyallow_null: true
last_connection_errorstringOutput onlyallow_null: false; allow_blank: false
migration_started_atdate-time stringOutput onlyallow_null: true
migration_completed_atdate-time stringOutput onlyallow_null: true
migrated_users_countintegerOutput onlyallow_null: false
developer_idstringOptionalallow_null: false; allow_blank: false; max_length: 40
scripts_countcomputed valueOutput onlyallow_null: false
created_atdate-time stringOutput onlyallow_null: false
updated_atdate-time stringOutput onlyallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"workspace": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"description": "EXAMPLE_DESCRIPTION",
"database_type": "postgresql",
"sync_mode": "EXAMPLE_SYNC_MODE",
"connection_string_masked": "EXAMPLE_CONNECTION_STRING_MASKED",
"connection_config": {},
"entities_config": {},
"schema_mapping": {},
"cache_ttl_seconds": 1,
"is_active": true,
"connection_status": "unknown",
"last_connection_test": "2026-10-26T12:00:00Z",
"last_connection_error": "EXAMPLE_LAST_CONNECTION_ERROR",
"migration_started_at": "2026-10-26T12:00:00Z",
"migration_completed_at": "2026-10-26T12:00:00Z",
"migrated_users_count": 1,
"developer_id": "EXAMPLE_DEVELOPER_ID",
"scripts_count": 1,
"created_at": "2026-10-26T12:00:00Z",
"updated_at": "2026-10-26T12:00:00Z"
}

CustomDatabaseScript​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
connectionresource IDOptionalallow_null: false
script_typestringRequiredallow_null: false; allow_blank: false; choices: ["login", "create", "get_user", "get_user_by_id", "change_password", "delete", "verify", "change_email"]
script_languagestringOptionalallow_null: false; allow_blank: false; choices: ["sql", "python"]
script_contentstringRequiredallow_null: false; allow_blank: false
is_enabledbooleanOptionalallow_null: false
last_execution_atdate-time stringOutput onlyallow_null: true
execution_countintegerOutput onlyallow_null: false
success_countintegerOutput onlyallow_null: false
error_countintegerOutput onlyallow_null: false
avg_execution_time_msnumberOutput onlyallow_null: false
success_ratecomputed valueOutput onlyallow_null: false
created_atdate-time stringOutput onlyallow_null: false
updated_atdate-time stringOutput onlyallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"connection": "11111111-1111-4111-8111-111111111111",
"script_type": "login",
"script_language": "sql",
"script_content": "EXAMPLE_SCRIPT_CONTENT",
"is_enabled": true,
"last_execution_at": "2026-10-26T12:00:00Z",
"execution_count": 1,
"success_count": 1,
"error_count": 1,
"avg_execution_time_ms": 1.0,
"success_rate": "EXAMPLE_SUCCESS_RATE",
"created_at": "2026-10-26T12:00:00Z",
"updated_at": "2026-10-26T12:00:00Z"
}

CustomDatabaseSyncLog​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
connectionresource IDOutput onlyallow_null: false
connection_namestringOutput onlyallow_null: false; allow_blank: false
operationstringOutput onlyallow_null: false; allow_blank: false; choices: ["login", "create", "get_user", "change_password", "delete", "verify", "change_email", "test_connection", "sync"]
entity_typestringOutput onlyallow_null: false; allow_blank: false
entity_idstringOutput onlyallow_null: false; allow_blank: false
statusstringOutput onlyallow_null: false; allow_blank: false; choices: ["success", "error", "timeout"]
error_messagestringOutput onlyallow_null: false; allow_blank: false
error_codestringOutput onlyallow_null: false; allow_blank: false
execution_time_msintegerOutput onlyallow_null: false
request_idstringOutput onlyallow_null: false; allow_blank: false
ip_addressIPAddressOutput onlyallow_null: true; allow_blank: false
created_atdate-time stringOutput onlyallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"connection": "11111111-1111-4111-8111-111111111111",
"connection_name": "EXAMPLE_CONNECTION_NAME",
"operation": "login",
"entity_type": "EXAMPLE_ENTITY_TYPE",
"entity_id": "EXAMPLE_ENTITY_ID",
"status": "success",
"error_message": "EXAMPLE_ERROR_MESSAGE",
"error_code": "EXAMPLE_ERROR_CODE",
"execution_time_ms": 1,
"request_id": "EXAMPLE_REQUEST_ID",
"ip_address": "EXAMPLE_IP_ADDRESS",
"created_at": "2026-10-26T12:00:00Z"
}

CustomDatabaseUserMapping​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
connectionresource IDRequiredallow_null: false
local_user_idUUID stringRequiredallow_null: false
external_user_idstringRequiredallow_null: false; allow_blank: false; max_length: 255
is_migratedbooleanOptionalallow_null: false
last_synced_atdate-time stringOptionalallow_null: true
sync_directionstringOptionalallow_null: false; allow_blank: false; choices: ["to_external", "from_external", "bidirectional"]
created_atdate-time stringOutput onlyallow_null: false
updated_atdate-time stringOutput onlyallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"connection": "11111111-1111-4111-8111-111111111111",
"local_user_id": "11111111-1111-4111-8111-111111111111",
"external_user_id": "EXAMPLE_EXTERNAL_USER_ID",
"is_migrated": true,
"last_synced_at": "2026-10-26T12:00:00Z",
"sync_direction": "to_external",
"created_at": "2026-10-26T12:00:00Z",
"updated_at": "2026-10-26T12:00:00Z"
}

ConnectionTest​

FieldTypeInput requirementConstraints
successbooleanOutput onlyallow_null: false
messagestringOutput onlyallow_null: false; allow_blank: false
latency_msintegerOutput onlyallow_null: false

Response shape example:


{
"success": true,
"message": "EXAMPLE_MESSAGE",
"latency_ms": 1
}

ScriptTest​

FieldTypeInput requirementConstraints
emailemail stringOptionalallow_null: false; allow_blank: false
passwordstringOptional; input onlyallow_null: false; allow_blank: false
user_idstringOptionalallow_null: false; allow_blank: false
successbooleanOutput onlyallow_null: false
resultobject / JSONOutput onlyallow_null: false
execution_time_msintegerOutput onlyallow_null: false
errorstringOutput onlyallow_null: true; allow_blank: false

Response shape example:


{
"email": "[email protected]",
"user_id": "EXAMPLE_USER_ID",
"success": true,
"result": {},
"execution_time_ms": 1,
"error": "EXAMPLE_ERROR"
}

DeveloperAccessToken​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
namestringRequiredallow_null: false; allow_blank: false; min_length: 3; max_length: 255
scopesarrayRequired; input onlyallow_null: false; items: {"type": "ChoiceField", "required": true, "read_only": false, "write_only": false, "allow_null": false, "allow_blank": false, "choices": ["api", "read_access_tokens", "write_access_tokens", "read_workspaces", "write_workspaces", "read_invitations", "write_invitations", "read_clients", "write_clients", "read_external_providers", "write_external_providers", "read_users", "write_users", "read_groups", "write_groups", "read_templates", "write_templates", "read_tokens", "write_tokens", "read_scim", "write_scim", "read_saml", "write_saml", "read_custom_databases", "write_custom_databases", "read_audit", "read_plans", "read_stats", "write_quick_build"]}
scopes_displaycomputed valueOutput onlyallow_null: false
token_prefix_displaystringOutput onlyallow_null: false; allow_blank: false
expires_atdate-time stringOutput onlyallow_null: true
expires_in_daysintegerOptional; input onlyallow_null: true; min_value: 1; max_value: 365
last_used_atdate-time stringOutput onlyallow_null: true
last_used_ipIPAddressOutput onlyallow_null: true; allow_blank: false
created_atdate-time stringOutput onlyallow_null: false
is_activebooleanOutput onlyallow_null: false
is_expiredcomputed valueOutput onlyallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"scopes_display": [],
"token_prefix_display": "EXAMPLE_TOKEN_PREFIX_DISPLAY",
"expires_at": "2026-10-26T12:00:00Z",
"last_used_at": "2026-10-26T12:00:00Z",
"last_used_ip": "EXAMPLE_LAST_USED_IP",
"created_at": "2026-10-26T12:00:00Z",
"is_active": true,
"is_expired": true
}

AuditEvent​

FieldTypeInput requirementConstraints
idUUID stringOutput onlyallow_null: false
workspace_idcomputed valueOutput onlyallow_null: false
event_typestringOutput onlyallow_null: false; allow_blank: false; choices: ["login_success", "login_failure", "logout", "register", "password_reset_request", "password_reset_confirm", "password_update", "email_verify_send", "email_verify_confirm", "oauth_client_create", "oauth_client_update", "oauth_client_delete", "oauth_client_secret_reset", "oauth_token_issue", "oauth_token_revoke", "oauth_consent_grant", "workspace_create", "workspace_update", "workspace_delete", "workspace_member_add", "workspace_member_remove", "workspace_invite_send", "workspace_invite_accept", "api_token_create", "api_token_revoke", "dev_token_create", "dev_token_revoke", "user_create", "user_update", "user_delete", "user_group_assign", "user_group_unassign", "external_provider_create", "external_provider_update", "external_provider_delete", "custom_db_connect", "custom_db_disconnect", "custom_db_sync_fail", "session_create", "session_revoke", "session_revoke_all", "magic_link_request", "magic_link_consume_success", "magic_link_consume_failure", "mfa_enroll_start", "mfa_enroll_confirm", "mfa_disable", "mfa_verify_success", "mfa_verify_failure", "webauthn_register_start", "webauthn_register_success", "webauthn_register_failure", "webauthn_authenticate_success", "webauthn_authenticate_failure", "scim_token_create", "scim_token_revoke", "scim_user_create", "scim_user_update", "scim_user_delete", "scim_group_create", "scim_group_update", "scim_group_delete", "saml_sp_create", "saml_sp_update", "saml_sp_delete", "saml_sso_success", "saml_sso_failure", "anomaly_detected", "anomaly_notified", "mfa_recovery_generate", "mfa_recovery_consume"]
severitystringOutput onlyallow_null: false; allow_blank: false; choices: ["info", "warn", "error"]
actor_typestringOutput onlyallow_null: false; allow_blank: false; choices: ["developer", "end_user", "api_token", "oauth_client", "system", "anonymous"]
actor_idstringOutput onlyallow_null: true; allow_blank: false
actor_emailstringOutput onlyallow_null: true; allow_blank: false
target_typestringOutput onlyallow_null: true; allow_blank: false
target_idstringOutput onlyallow_null: true; allow_blank: false
oauth_client_idcomputed valueOutput onlyallow_null: false
ip_addressIPAddressOutput onlyallow_null: true; allow_blank: false
user_agentstringOutput onlyallow_null: false; allow_blank: false
request_idstringOutput onlyallow_null: true; allow_blank: false
messagestringOutput onlyallow_null: false; allow_blank: false
metadataobject / JSONOutput onlyallow_null: false
created_atdate-time stringOutput onlyallow_null: false

Response shape example:


{
"id": "11111111-1111-4111-8111-111111111111",
"workspace_id": "EXAMPLE_WORKSPACE_ID",
"event_type": "login_success",
"severity": "info",
"actor_type": "developer",
"actor_id": "EXAMPLE_ACTOR_ID",
"actor_email": "EXAMPLE_ACTOR_EMAIL",
"target_type": "EXAMPLE_TARGET_TYPE",
"target_id": "EXAMPLE_TARGET_ID",
"oauth_client_id": "EXAMPLE_OAUTH_CLIENT_ID",
"ip_address": "EXAMPLE_IP_ADDRESS",
"user_agent": "EXAMPLE_USER_AGENT",
"request_id": "EXAMPLE_REQUEST_ID",
"message": "EXAMPLE_MESSAGE",
"metadata": {},
"created_at": "2026-10-26T12:00:00Z"
}