BI Export API Reference

BI Export lets you export account data for future import to the analytics tools. The data is stored in tables, which are connected using foreign key identifiers (like in a relational database). The following page describes the tables that are present in the export and their columns.

πŸ“˜

The audit_log file in BI Data Export is limited to a maximum of 10,000,000 rows for the previous 180 days.

See diagram


Table Parameters

attachment_file β€” Detailed information about file attachments
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
attachment_file_api_idStringAPI ID of attached file. Can be used to reference file via REST API or in backupβ€”β€”β€”yes
attachment_file_content_heightNumberHeight of image/video (if applicable)β€”β€”β€”β€”
attachment_file_content_widthNumberWidth of image/video (if applicable)β€”β€”β€”β€”
attachment_file_nameStringName of the attachmentβ€”β€”β€”yes
attachment_file_size_bytesNumberSize of the attachment in bytesβ€”β€”β€”yes
user_idNumberID of user who attached the fileβ€”user(user_id)N:1yes
when_addedDateDate when file was attachedβ€”β€”β€”yes
audit_log β€” User's operations log
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
audit_log_object_idNumberID of referenced object, e.g. taskβ€”β€”β€”β€”
audit_log_object_titleStringName of referenced object, e.g. taskβ€”β€”β€”β€”
audit_log_object_typeStringType of referenced objectβ€”β€”β€”β€”
audit_log_operation_change_jsonStringJSON description of the change, containing additional attributes. The format depends on type of eventβ€”β€”β€”β€”
audit_log_operation_origin_jsonStringDeprecated. This attribute will be removed in future versions of the schema. JSON description of the log record origin informationβ€”β€”β€”yes
audit_log_operation_origin_location_countryStringCountry where the event originatedβ€”β€”β€”yes
audit_log_operation_origin_location_stateStringState where the event originated (if applicable)β€”β€”β€”β€”
audit_log_operation_origin_user_time_zoneStringTime zone of the eventβ€”β€”β€”β€”
audit_log_operation_timeDateTime of the change in XXXβ€”β€”β€”yes
audit_log_operation_typeStringType of the eventβ€”β€”β€”yes
operator_user_idNumberUser that made the change (for user-initiated events)β€”user(user_id)N:1β€”
custom_field β€” Custom field definitions
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
custom_field_nameStringName of custom fieldβ€”β€”β€”yes
custom_field_typeStringType of custom field. Available values listed here: https://developers.wrike.com/documentation/api/methods/query-custom-fieldsβ€”β€”β€”yes
when_addedDateDate when the object was addedβ€”β€”β€”yes
when_removedDateDate when the object was removed. 3000-01-01 00:00:00 means that field is NOT deletedβ€”β€”β€”yes
group β€” User groups
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
group_nameStringName of the groupβ€”β€”β€”yes
when_addedDateDate when the object was addedβ€”β€”β€”yes
when_removedDateDate when the object was removed. 3000-01-01 00:00:00 means that object is NOT deletedβ€”β€”β€”yes
group_to_user β€” Users membership in groups
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
is_adminBooleanWhether the user is group adminβ€”β€”β€”yes
is_inheritedBooleanWhether the membership is inherited (meaning that the user is member of the group because he/she is part of another group that contains this group)β€”β€”β€”yes
user_idNumberID of the useryesuser(user_id)N:1yes
recurrence β€” Information about recurrent tasks
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
recurrence_interval_end_dateDateDate when recurrence endsβ€”β€”β€”β€”
recurrence_interval_start_dateDateDate when recurrence startsβ€”β€”β€”yes
recurrence_nameStringName of the recurrenceβ€”β€”β€”yes
recurrence_occurrence_limitNumberLimit of tasks that will be created by this recurrenceβ€”β€”β€”β€”
recurrence_schedule_frequencyNumberHow often recurrence runs, in units defined by recurrence_schedule_typeβ€”β€”β€”yes
recurrence_schedule_typeStringType of recurrence frequency. Possible values: Daily, Weekly, Monthly, Yearlyβ€”β€”β€”β€”
recurrence_stateStringState of recurrence. Possible values: Running, RunningInactive, Stoppedβ€”β€”β€”β€”
timelog_category β€” Timelog categories
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
timelog_category_nameStringName of timelog categoryβ€”β€”β€”yes
timelog_category_orderNumberPriority order of the categoryβ€”β€”β€”yes
when_addedDateDate when the object was addedβ€”β€”β€”yes
when_removedDateDate when the object was removed. 3000-01-01 00:00:00 means that object is NOT deletedβ€”β€”β€”yes
workflow_idNumberDeprecated. This attribute will be removed in next versions of the schema. Always emptyβ€”workflow(workflow_id)β€”β€”
user β€” Users
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
email_addressStringUser's primary emailβ€”β€”β€”yes
is_deactivatedBooleanWhether the user was deactivatedβ€”β€”β€”yes
user_companyStringCompany of the userβ€”β€”β€”β€”
user_departmentStringDepartment of the userβ€”β€”β€”β€”
user_first_nameStringFirst nameβ€”β€”β€”yes
user_full_nameStringFull (first and last) nameβ€”β€”β€”yes
user_job_titleStringJob titleβ€”β€”β€”β€”
user_last_nameStringLast nameβ€”β€”β€”yes
user_phoneStringPhoneβ€”β€”β€”β€”
user_roleStringUser's role. Possible values: Bot, Owner, Admin, User, External, Collaboratorβ€”β€”β€”yes
when_addedDateDate when the object was addedβ€”β€”β€”yes
when_removedDateDate when the object was removed. 3000-01-01 00:00:00 means that object is NOT deletedβ€”β€”β€”yes
work_assignee β€” Information about task assignees and project owners
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
when_addedDateDate when the object was addedβ€”β€”β€”yes
work_idNumberID of project/task that has the assigneeyeswork_item(work_id)N:1yes
work_attachment β€” Attaches for tasks, projects, folders
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
user_idNumberID of user that has added the first version of the attachmentβ€”user(user_id)N:1yes
when_addedDateDate when the object was addedβ€”β€”β€”yes
work_idNumberID of work item (folder, project, task) that has the attachmentβ€”work_item(work_id)N:1yes
work_attachment_to_attachment_file β€” Versions of task/folder/project attachments
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
attachment_versionNumberVersion of the fileβ€”β€”β€”yes
user_idNumberID of user that has added this version of the attachmentβ€”user(user_id)N:1yes
when_addedDateDate when the attachment was added in the commentβ€”β€”β€”yes
work_attachment_idNumberID of the attachmentyeswork_attachment(work_attachment_id)β€”yes
work_comment_idNumberComment where the task was attachedβ€”work_comment(work_comment_id)N:1yes
work_change_revision β€” Change revisions (status, title, description etc.) of tasks, projects, and folders
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
user_idNumberUser that made changeβ€”user(user_id)N:1yes
when_work_changedDateDate when change was madeβ€”β€”β€”yes
work_idNumberID of work item (folder, project, task) that was changedβ€”work_item(work_id)N:1yes
work_comment β€” Information about comments in tasks, projects and folders
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
user_idNumberID of user that made commentβ€”user(user_id)N:1yes
when_comment_createdDateWhen comment was madeβ€”β€”β€”yes
work_idNumberID of work item (folder, project, task) that was commentedβ€”work_item(work_id)N:1yes
work_comment_content β€” Comment contents in tasks, projects, and folders
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
work_comment_textStringComment textβ€”β€”β€”yes
work_comment_to_mention β€” Mentions of groups and users in comments
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
user_idNumberID of mentioned user in the comment. empty if group was mentionedyesuser(user_id)N:1β€”
work_comment_idNumberID of comment that has the mentionyeswork_comment(work_comment_id)N:1yes
work_custom_field β€” Custom field values
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
custom_field_valueStringCustom field valueyesβ€”β€”β€”
work_idNumberID of work item (folder, project, task) that has custom fieldyeswork_item(work_id)N:1yes
work_custom_field_history β€” Change history of task custom fields values
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
custom_field_idNumberID of custom field definitionyescustom_field(custom_field_id)N:1yes
new_custom_field_valueStringNew valueβ€”β€”β€”β€”
old_custom_field_valueStringOld valueβ€”β€”β€”β€”
user_resource_idNumberID of user that made the changeyesuser(user_id)N:1yes
work_idNumberID of work item (folder, project, task) that has custom fieldyeswork_item(work_id)N:1yes
work_description β€” Task/project/folder descriptions in HTML format
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
work_description_htmlStringDescription of work item in HTML format: https://developers.wrike.com/documentation/api/datatypes/descriptionβ€”β€”β€”β€”
work_folder β€” Detailed information about folders
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
folder_default_workflow_stage_idNumberDeprecated. This attribute will be removed in future versions of the schema. Default status for newly created tasks in this folderβ€”workflow_stage(workflow_stage_id)β€”β€”
workflow_idNumberID of folder's default workflowβ€”workflow(workflow_id)β€”yes
work_graph β€” Information about parent and child relationships of projects, folders and tasks
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
when_addedDateDate when the relation was addedβ€”β€”β€”yes
work_idNumberParent work idyeswork_item(work_id)N:1yes
work_item β€” Base information for tasks, projects, and folders
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
author_user_idNumberID of user which created the itemβ€”user(user_id)N:1yes
when_createdDateWhen the item was createdβ€”β€”β€”yes
when_updated_last_timeDateLast update timeβ€”β€”β€”yes
work_deleted_stateStringWhether the item is deleted. Possible values: Actual, Deletedβ€”β€”β€”yes
work_nameStringName of the itemβ€”β€”β€”yes
work_typeStringType of the item. Possible values: Folder, Project, Taskβ€”β€”β€”yes
work_project β€” Detailed information about projects
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
project_health_statusStringDeprecated. This attribute will be removed in future versions of the schema. Was used to represent old project statuses: Green, Yellow, Red, OnHold, Cancelled, Completedβ€”β€”β€”yes
project_planned_due_dateDatePlanned project end dateβ€”β€”β€”β€”
project_planned_start_dateDatePlanned project start dateβ€”β€”β€”β€”
when_project_createdDateDeprecated. This attribute will be removed in future versions of the schema. date when project was created (similar to when_created in work_item)β€”β€”β€”yes
workflow_stage_idNumberStatus of the projectβ€”workflow_stage(workflow_stage_id)N:1β€”
billing_type_idNumberBilling type of the projectβ€”β€”β€”β€”
work_project_to_task β€” Relationships between projects and tasks (for any level of nesting)
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
work_project_idNumberID of the projectyeswork_item(work_id)N:1yes
work_task_idNumberID of the taskyeswork_item(work_id)N:1yes
work_space β€” Information about spaces
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
access_typeStringSpace access type. Possible values: Private, Public, Personalβ€”β€”β€”yes
work_space_user β€” Information about users of spaces
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
user_idNumberId of useryesuser(user_id)N:1β€”
user_roleStringSpace user role. Possible values: Guest, Member, Manager, UserLeftβ€”β€”β€”yes
work_task β€” Detailed information about tasks
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
effortNumberPlanned effort in minutesβ€”β€”β€”β€”
effort_modeStringEffort type. Possible values: Fulltime, Basicβ€”β€”β€”β€”
recurrence_idNumberID of recurrence set on the taskβ€”recurrence(recurrence_id)1:1β€”
task_completed_dateDateWhen task was completedβ€”β€”β€”β€”
task_duration_daysNumberDuration of task in daysβ€”β€”β€”β€”
task_importanceStringTask importance. Possible values: Normal, High, Lowβ€”β€”β€”yes
task_planned_due_dateDatePlanned end dateβ€”β€”β€”β€”
task_planned_start_dateDatePlanned start dateβ€”β€”β€”β€”
task_planning_typeStringPlanning type. Possible values: Planned, Backlog, Milestoneβ€”β€”β€”yes
task_workflow_stage_groupStringStatus group of the task. Possible values: Active, Completed, Deferred, Cancelledβ€”β€”β€”yes
workflow_stage_idNumberStatus of the taskβ€”workflow_stage(workflow_stage_id)N:1yes
billing_type_idNumberBilling type of the taskβ€”β€”β€”β€”
work_task_dependency β€” Task dependencies
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
predecessor_task_work_idNumberID of predecessor taskyeswork_task(work_id)N:1yes
successor_task_work_idNumberID of successor taskyeswork_task(work_id)N:1yes
user_idNumberID of user that created the dependencyβ€”user(user_id)N:1yes
when_addedDateDate when the dependency was addedβ€”β€”β€”yes
work_timelog β€” Time logged for tasks
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
timelog_category_idNumberID of timelog categoryβ€”timelog_category(timelog_category_id)N:1β€”
timelog_datetimeDateWhen time was loggedβ€”β€”β€”yes
timelog_minutesNumberAmount of logged time in minutesβ€”β€”β€”yes
user_idNumberUser that logged timeβ€”user(user_id)N:1yes
when_addedDateDate when the timelog was addedβ€”β€”β€”yes
work_idNumberTask that has the timelogβ€”work_task(work_id)N:1yes
work_timelog_comment β€” Comments for timelogs
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
timelog_comment_textStringTimelog commentβ€”β€”β€”β€”
work_workflow_stage_history β€” History of task status changes
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
new_workflow_stage_idNumberNew statusβ€”workflow_stage(workflow_stage_id)N:1yes
old_workflow_stage_idNumberOld statusβ€”workflow_stage(workflow_stage_id)N:1yes
user_idNumberUser who changed statusyesuser(user_id)N:1yes
work_idNumberTask IDyeswork_item(work_id)N:1yes
workflow β€” Workflows
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
is_strict_workflowBooleanWhether the workflow has locked transtitionsβ€”β€”β€”yes
when_addedDateDate when the object was addedβ€”β€”β€”yes
when_removedDateDate when the object was removed. 3000-01-01 00:00:00 means that object is NOT deletedβ€”β€”β€”yes
workflow_nameStringWorkflow nameβ€”β€”β€”yes
workflow_stage β€” Workflow statuses
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
when_addedDateDate when the stage was addedβ€”β€”β€”yes
when_removedDateDate when the stage was removed. 3000-01-01 00:00:00 means that stage is NOT deletedβ€”β€”β€”yes
workflow_idNumberID of workflowβ€”workflow(workflow_id)N:1yes
workflow_stage_colorStringColor of the status. Possible values described here: https://developers.wrike.com/documentation/api/methods/query-workflowsβ€”β€”β€”yes
workflow_stage_groupStringGroup of the status. Possible values described here: https://developers.wrike.com/documentation/api/methods/query-workflowsβ€”β€”β€”yes
workflow_stage_nameStringName of the statusβ€”β€”β€”yes
workflow_stage_orderNumberOrder of the statusβ€”β€”β€”yes
work_task_flexible_effort β€” Flexible effort for task
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
user_idNumberUser idβ€”β€”β€”β€”
dateDate-β€”β€”β€”β€”
effort_minutesNumber-β€”β€”β€”β€”