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 backupyes
attachment_file_content_heightNumberHeight of image/video (if applicable)
attachment_file_content_widthNumberWidth of image/video (if applicable)
attachment_file_nameStringName of the attachmentyes
attachment_file_size_bytesNumberSize of the attachment in bytesyes
user_idNumberID of user who attached the fileuser(user_id)N:1yes
when_addedDateDate when file was attachedyes
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 informationyes
audit_log_operation_origin_location_countryStringCountry where the event originatedyes
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 XXXyes
audit_log_operation_typeStringType of the eventyes
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 fieldyes
custom_field_typeStringType of custom field. Available values listed here: https://developers.wrike.com/documentation/api/methods/query-custom-fieldsyes
when_addedDateDate when the object was addedyes
when_removedDateDate when the object was removed. 3000-01-01 00:00:00 means that field is NOT deletedyes
group — User groups
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
group_nameStringName of the groupyes
when_addedDateDate when the object was addedyes
when_removedDateDate when the object was removed. 3000-01-01 00:00:00 means that object is NOT deletedyes
group_to_user — Users membership in groups
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
is_adminBooleanWhether the user is group adminyes
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 startsyes
recurrence_nameStringName of the recurrenceyes
recurrence_occurrence_limitNumberLimit of tasks that will be created by this recurrence
recurrence_schedule_frequencyNumberHow often recurrence runs, in units defined by recurrence_schedule_typeyes
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 categoryyes
timelog_category_orderNumberPriority order of the categoryyes
when_addedDateDate when the object was addedyes
when_removedDateDate when the object was removed. 3000-01-01 00:00:00 means that object is NOT deletedyes
workflow_idNumberDeprecated. This attribute will be removed in next versions of the schema. Always emptyworkflow(workflow_id)
user — Users
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
email_addressStringUser's primary emailyes
is_deactivatedBooleanWhether the user was deactivatedyes
user_companyStringCompany of the user
user_departmentStringDepartment of the user
user_first_nameStringFirst nameyes
user_full_nameStringFull (first and last) nameyes
user_job_titleStringJob title
user_last_nameStringLast nameyes
user_phoneStringPhone
user_roleStringUser's role. Possible values: Bot, Owner, Admin, User, External, Collaboratoryes
when_addedDateDate when the object was addedyes
when_removedDateDate when the object was removed. 3000-01-01 00:00:00 means that object is NOT deletedyes
work_assignee — Information about task assignees and project owners
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
when_addedDateDate when the object was addedyes
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 attachmentuser(user_id)N:1yes
when_addedDateDate when the object was addedyes
work_idNumberID of work item (folder, project, task) that has the attachmentwork_item(work_id)N:1yes
work_attachment_to_attachment_file — Versions of task/folder/project attachments
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
attachment_versionNumberVersion of the fileyes
user_idNumberID of user that has added this version of the attachmentuser(user_id)N:1yes
when_addedDateDate when the attachment was added in the commentyes
work_attachment_idNumberID of the attachmentyeswork_attachment(work_attachment_id)yes
work_comment_idNumberComment where the task was attachedwork_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 changeuser(user_id)N:1yes
when_work_changedDateDate when change was madeyes
work_idNumberID of work item (folder, project, task) that was changedwork_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 commentuser(user_id)N:1yes
when_comment_createdDateWhen comment was madeyes
work_idNumberID of work item (folder, project, task) that was commentedwork_item(work_id)N:1yes
work_comment_content — Comment contents in tasks, projects, and folders
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
work_comment_textStringComment textyes
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 folderworkflow_stage(workflow_stage_id)
workflow_idNumberID of folder's default workflowworkflow(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 addedyes
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 itemuser(user_id)N:1yes
when_createdDateWhen the item was createdyes
when_updated_last_timeDateLast update timeyes
work_deleted_stateStringWhether the item is deleted. Possible values: Actual, Deletedyes
work_nameStringName of the itemyes
work_typeStringType of the item. Possible values: Folder, Project, Taskyes
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, Completedyes
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 projectworkflow_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, Personalyes
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, UserLeftyes
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 taskrecurrence(recurrence_id)1:1
task_completed_dateDateWhen task was completed
task_duration_daysNumberDuration of task in days
task_importanceStringTask importance. Possible values: Normal, High, Lowyes
task_planned_due_dateDatePlanned end date
task_planned_start_dateDatePlanned start date
task_planning_typeStringPlanning type. Possible values: Planned, Backlog, Milestoneyes
task_workflow_stage_groupStringStatus group of the task. Possible values: Active, Completed, Deferred, Cancelledyes
workflow_stage_idNumberStatus of the taskworkflow_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 dependencyuser(user_id)N:1yes
when_addedDateDate when the dependency was addedyes
work_timelog — Time logged for tasks
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
timelog_category_idNumberID of timelog categorytimelog_category(timelog_category_id)N:1
timelog_datetimeDateWhen time was loggedyes
timelog_minutesNumberAmount of logged time in minutesyes
user_idNumberUser that logged timeuser(user_id)N:1yes
when_addedDateDate when the timelog was addedyes
work_idNumberTask that has the timelogwork_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 statusworkflow_stage(workflow_stage_id)N:1yes
old_workflow_stage_idNumberOld statusworkflow_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 transtitionsyes
when_addedDateDate when the object was addedyes
when_removedDateDate when the object was removed. 3000-01-01 00:00:00 means that object is NOT deletedyes
workflow_nameStringWorkflow nameyes
workflow_stage — Workflow statuses
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
when_addedDateDate when the stage was addedyes
when_removedDateDate when the stage was removed. 3000-01-01 00:00:00 means that stage is NOT deletedyes
workflow_idNumberID of workflowworkflow(workflow_id)N:1yes
workflow_stage_colorStringColor of the status. Possible values described here: https://developers.wrike.com/documentation/api/methods/query-workflowsyes
workflow_stage_groupStringGroup of the status. Possible values described here: https://developers.wrike.com/documentation/api/methods/query-workflowsyes
workflow_stage_nameStringName of the statusyes
workflow_stage_orderNumberOrder of the statusyes
work_task_flexible_effort — Flexible effort for task
Column nameTypeDescriptionPrimary keyForeign keyCardinalityRequired
user_idNumberUser id
dateDate-
effort_minutesNumber-