Skip to main content
Version: 2026.05

Users, tokens & admin

Data types for users, tokens, integrations, tenants, uploads, and health checks.

info

All data types support standard serialization methods (to_json, from_json, to_dict, from_dict, to_str) which are omitted from the tables below.

User​

User Dataclass that combines info from UserEntity and UserInfo.

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
provider_namestr
provider_user_idstr
user_typeUserType
personal_access_tokensList[PersonalAccessToken]
provider_user_stateOptional[UserState]
user_nameOptional[str]
display_nameOptional[str]
first_nameOptional[str]
last_nameOptional[str]
emailOptional[str]
machine_nameOptional[str]
machine_descriptionOptional[str]
control_tagsOptional[List[ControlTag]]
provider_tenant_idOptional[str]
tenant_idOptional[str]

UserType​

Attributes:

NameTypeDescription
HUMAN—
AGENT—
ALL—

UserState​

Enum of all the possible states of a user account (from Zitadel).

Attributes:

NameTypeDescription
USER_STATE_ACTIVE—
USER_STATE_INACTIVE—
USER_STATE_DELETED—
USER_STATE_LOCKED—
USER_STATE_SUSPEND—
USER_STATE_INITIAL—
USER_STATE_UNSPECIFIED—

UserStateOption​

Enum for user state options.

Attributes:

NameTypeDescription
ACTIVE—
ALL—

ZitadelUserState​

Enum of all the possible states of a user account (from Zitadel).

Attributes:

NameTypeDescription
USER_STATE_ACTIVE—
USER_STATE_INACTIVE—
USER_STATE_DELETED—
USER_STATE_LOCKED—
USER_STATE_SUSPEND—
USER_STATE_INITIAL—
USER_STATE_UNSPECIFIED—

PersonalAccessToken​

Class representing a personal access token object. This class is used to store information about personal access tokens, such as the token ID and the token name. Attributes ———- machine_user_id (str): The machine user ID. token (str): The token. token_id (str): The token ID. name (str): The token name. user_type (enum): The type of the user whose permissions the token grants. created_by_id (UUID): The user mapping ID of the user who created the token.

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
machine_user_idstr
tokenstr
token_idstr
namestr
user_typePersonalAccessTokenUserType
created_by_idstr

PersonalAccessTokenUserType​

Attributes:

NameTypeDescription
HUMAN—
AGENT—

Token​

Represents a cryptographic token used for verifying the integrity of binary content.

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
shastr
saltstr
created_by_idOptional[str]

Methods:

NameDescription
from_storage_tokenCreate a Token instance from a core istari_digital_core.Token.
compare_tokenVerify the integrity of a token against a given binary payload.
from_bytesCreate a token from a byte string and an optional salt.

TokenWithProperties​

Token is a subclass of Base and represents a token used to store file information.

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
shastr
saltstr
namestr
extensionstr
sizeint
descriptionOptional[str]
mimeOptional[str]
version_nameOptional[str]
external_identifierOptional[str]
display_nameOptional[str]
object_store_shaOptional[ObjectStoreSha]

AppIntegration​

A class representing a Foreign Data Host.

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
created_by_idstr
integration_typeIntegrationType
tenant_idOptional[str]
descriptionOptional[str]
auth_integrationsOptional[List[AuthIntegration]]

AuthIntegration​

A class representing an Auth Integration.

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
fileFile
commentsList[Comment]
archive_status_historyList[ResourceArchiveStatus]
created_by_idstr
auth_integration_typeAuthIntegrationType
auth_typeFunctionAuthType
app_integration_idOptional[str]

AuthIntegrationType​

Attributes:

NameTypeDescription
GOOGLE_ACCOUNTS—
WINDCHILL—
TEAMWORK_CLOUD—
DASSAULT_3D_PASSPORT—
PING_ID—
MICROSOFT_ENTRA—

AuthIntegrationUpdate​

A class representing a New Auth Integration.

Attributes:

NameTypeDescription
auth_integration_typeOptional[AuthIntegrationType]
auth_typeOptional[FunctionAuthType]
revisionOptional[FileRevision]

DataIntegration​

A class representing a Foreign Data Host.

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
created_by_idstr
namestr
integration_typeIntegrationType
tenant_idOptional[str]
auth_integration_idsOptional[List[AuthIntegration]]

IntegrationType​

Attributes:

NameTypeDescription
GOOGLE_DRIVE—
TEAMWORK_CLOUD—
WINDCHILL—
DASSAULT_3D_EXPERIENCE—
MICROSOFT_365—

NewAppIntegration​

Attributes:

NameTypeDescription
descriptionstr
integration_typeIntegrationType

NewAuthIntegration​

A class representing a New Auth Integration.

Attributes:

NameTypeDescription
auth_integration_typeAuthIntegrationType
auth_typeFunctionAuthType
revisionFileRevision
app_integration_idOptional[str]

NewDataIntegration​

Attributes:

NameTypeDescription
namestr
integration_typeIntegrationType

TenantPublicKey​

Class representing a tenant public key object. This class is used to store information about tenant public keys. Attributes ———- tenant_id (UUID): The tenant id. public_key (str): The public key.

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
created_by_idstr
tenant_idstr
public_keystr

Tenant​

Class representing a tenant object. This class is used to store information about tenants, combining what’s stored in the registry and what’s stored in the authn provider. Attributes ———- provider_tenant_id (str): The provider’s tenant id. provider_name (str): The provider’s name/type (e.g. Zitadel or Okta). name (str): The tenant name (comes from ProviderTenant object). state (str): The tenant state (comes from ProviderTenant object). primary_domain (str): The primary domain used by the tenant (comes from ProviderTenant object). object_store_id (UUID): The object store id associated with the tenant. If None the default object store is used.

Attributes:

NameTypeDescription
idstr
createddatetime.datetime
provider_tenant_idstr
provider_namestr
stateOptional[str]
primary_domainOptional[str]
object_store_idOptional[str]
nameOptional[str]
labelOptional[str]

Product​

Represents a derived output (Product) generated from a file revision.

Attributes:

NameTypeDescription
revision_idstr
file_idOptional[str]
resource_typeOptional[str]
resource_idOptional[str]
relationship_identifierOptional[str]

CreateMultipartUploadRequest​

Attributes:

NameTypeDescription
shastr
num_partsint

CreateMultipartUploadResponse​

Attributes:

NameTypeDescription
upload_idstr
upload_urlsDict[str, TemporaryURL]

FinalizeMultipartUploadRequest​

Attributes:

NameTypeDescription
actionFinalizeMultipartUploadAction
shastr
upload_idstr
completed_partsOptional[List[CompletedPartTypeDef]]

FinalizeMultipartUploadAction​

Attributes:

NameTypeDescription
CANCEL—
COMPLETE—

CompletedPartTypeDef​

Attributes:

NameTypeDescription
e_tagOptional[str]
checksum_crc32Optional[str]
checksum_crc32_cOptional[str]
checksum_crc64_nvmeOptional[str]
checksum_sha1Optional[str]
checksum_sha256Optional[str]
part_numberOptional[int]

HealthcheckReport​

Attributes:

NameTypeDescription
healthybool
checksList[CheckResult]

CheckResult​

Attributes:

NameTypeDescription
namestr
passedbool
detailsOptional[str]

PagePersonalAccessToken​

Attributes:

NameTypeDescription
itemsList[PersonalAccessToken]
totalOptional[int]
pageOptional[int]
sizeOptional[int]
pagesOptional[int]

PageAppIntegration​

Attributes:

NameTypeDescription
itemsList[AppIntegration]
totalOptional[int]
pageOptional[int]
sizeOptional[int]
pagesOptional[int]

PageAuthIntegration​

Attributes:

NameTypeDescription
itemsList[AuthIntegration]
totalOptional[int]
pageOptional[int]
sizeOptional[int]
pagesOptional[int]

PageDataIntegration​

Attributes:

NameTypeDescription
itemsList[DataIntegration]
totalOptional[int]
pageOptional[int]
sizeOptional[int]
pagesOptional[int]

PageTenant​

Attributes:

NameTypeDescription
itemsList[Tenant]
totalOptional[int]
pageOptional[int]
sizeOptional[int]
pagesOptional[int]