{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"DrillPlan Activity Log Download API","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":false}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"drillplan-activity-log-download-api","__idx":0},"children":["DrillPlan Activity Log Download API"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"introduction","__idx":1},"children":["Introduction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["DrillPlan's Activity Log Download API allows external applications to export activity logs from a data partition as a JSON file. The endpoint returns activity logs across ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["all projects"]}," in the current data partition, including data-partition-scoped logs."]},{"$$mdtype":"Tag","name":"details","attributes":{},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["Example cURL ",{"$$mdtype":"Tag","name":"span","attributes":{"style":{"color":"#61AFFE"}},"children":["GET"]}," Request ",{"$$mdtype":"Tag","name":"small","attributes":{},"children":["(click to open)"]}]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"curl","header":{"controls":{"copy":{}}},"source":"curl -X GET '{baseURL}activity-log/v1/download?before={before}&after={after}&page=1' \\\n-H 'accept: application/json' \\\n-H 'slb-partition-id: {SlbPartitionId}' \\\n-H 'appkey: {appKey}' \\\n-H 'Authorization: Bearer {token}'\n","lang":"curl"},"children":[]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authentication"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This endpoint requires a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["service token"]}," obtained via the Client Credentials Flow (CCG). User tokens from Authorization Code Flow are not accepted and will receive a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["401 Unauthorized"]}," response."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/drillplan/docs/tutorials/api-consumption-guide/api-consumption-tutorial"},"children":["How to access DrillPlan APIs"]}," for prerequisites (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AppKey"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Client_Id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Secret"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["slb-partition-id"]},", and token generation)."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"query-parameters","__idx":2},"children":["Query parameters"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"before","__idx":3},"children":["before"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The upper bound of the activity time range (inclusive). Activity logs with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activity_time"]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["before or at"]}," this timestamp are included."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This parameter is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["required"]},". Requests without ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["before"]}," will receive a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["400 Bad Request"]}," response."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"after","__idx":4},"children":["after"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The lower bound of the activity time range (inclusive). Activity logs with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activity_time"]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["after or at"]}," this timestamp are included."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This parameter is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["required"]},". Requests without ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["after"]}," will receive a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["400 Bad Request"]}," response."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Date range limit"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The difference between ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["before"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["after"]}," must not exceed ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["90 days"]},". Requests exceeding this limit will receive a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["400 Bad Request"]}," response with the message: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Date range between before and after must not exceed 90 days."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Timestamps should be provided in ISO 8601 format (for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2026-07-09T00:00:00.0000000Z"]},")."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"page","__idx":5},"children":["page"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["1-based page number (optional). Each page returns up to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["100"]}," activity log records. The page size is fixed and cannot be changed via query parameters."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page"]}," is omitted, the first 100 matching records are returned. Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page=2"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page=3"]},", and so on to retrieve additional records within the same time range."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response","__idx":6},"children":["Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A successful request returns HTTP ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200 OK"]}," with a JSON object containing the activity log records and pagination metadata:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Content-Type"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["application/json"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Results are sorted in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["descending"]}," order of activity time (most recent first)."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-object","__idx":7},"children":["Response object"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Property"},"children":["Property"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["items"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Activity log objects for the current page (up to 100 records)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Current 1-based page number."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page_size"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Maximum number of records per page (100)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["has_more"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," if additional pages are available; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}," on the last page."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"activity-log-object","__idx":8},"children":["Activity log object"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each element in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["items"]}," array has the following properties:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Property"},"children":["Property"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unique identifier of the activity log record."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["owner"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["User who performed the activity."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["owner.full_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Display name of the user."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["owner.image_url"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Profile image URL of the user."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["owner.alias"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["User alias."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activities"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["One or more activity entries associated with this log record."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["plan_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Name of the related plan, if applicable."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["project_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Name of the related project, if applicable."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"activity-object","__idx":9},"children":["Activity object"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each item in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activities"]}," array has the following properties:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Property"},"children":["Property"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Activity type (for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Create"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Update"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Delete"]},")."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["entity_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Identifier of the entity affected by the activity."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["entity_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Name of the entity affected by the activity."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activity_time"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Timestamp when the activity occurred (ISO 8601)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["comments"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional comments associated with the activity."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["project_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Project identifier, if the activity is project-scoped."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activity_entity_type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Entity type of the affected object."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["is_customer_data"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Whether the activity relates to customer data."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["changed_property_names"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Names of properties changed during an update activity."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["extension_propertys_dic"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Additional extension properties as key-value pairs."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["parent"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Primary parent of the entity in the data model (recursive ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["parent"]}," chain)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["old_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Previous name of the entity, if renamed."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["changed_properties"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Detailed change records for update activities."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"example-response","__idx":10},"children":["Example response"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"items\": [\n    {\n      \"id\": \"abc123\",\n      \"owner\": {\n        \"full_name\": \"Jane Doe\",\n        \"image_url\": \"https://example.com/avatar.jpg\",\n        \"alias\": \"jdoe\"\n      },\n      \"activities\": [\n        {\n          \"type\": \"Update\",\n          \"entity_id\": \"plan-001\",\n          \"entity_name\": \"Well Plan A\",\n          \"activity_time\": \"2026-07-08T14:30:00.0000000Z\",\n          \"comments\": \"\",\n          \"project_id\": \"project-001\",\n          \"activity_entity_type\": \"plan\",\n          \"is_customer_data\": false,\n          \"changed_property_names\": [\"name\"],\n          \"extension_propertys_dic\": {},\n          \"parent\": {\n            \"id\": \"project-001\",\n            \"entity_type\": \"project\",\n            \"name\": \"Exploration Project\",\n            \"parent\": null\n          },\n          \"old_name\": null,\n          \"changed_properties\": []\n        }\n      ],\n      \"plan_name\": \"Well Plan A\",\n      \"project_name\": \"Exploration Project\"\n    }\n  ],\n  \"page\": 1,\n  \"page_size\": 100,\n  \"has_more\": false\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"error-responses","__idx":11},"children":["Error responses"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Status"},"children":["Status"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Condition"},"children":["Condition"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["400 Bad Request"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["before"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["after"]}," is missing."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["400 Bad Request"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Date range between ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["before"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["after"]}," exceeds 90 days."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["401 Unauthorized"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Request is not authenticated with a service token."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"pagination-workflow","__idx":12},"children":["Pagination workflow"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To download all activity logs within a time range:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Call ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v1/download?before={before}&after={after}&page=1"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Read activity logs from the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["items"]}," array in the response."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["has_more"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},", call again with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page=2"]},", then ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page=3"]},", and so on."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Stop when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["has_more"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"."]}]}]},"headings":[{"value":"DrillPlan Activity Log Download API","id":"drillplan-activity-log-download-api","depth":2},{"value":"Introduction","id":"introduction","depth":3},{"value":"Query parameters","id":"query-parameters","depth":3},{"value":"before","id":"before","depth":4},{"value":"after","id":"after","depth":4},{"value":"page","id":"page","depth":4},{"value":"Response","id":"response","depth":3},{"value":"Response object","id":"response-object","depth":4},{"value":"Activity log object","id":"activity-log-object","depth":4},{"value":"Activity object","id":"activity-object","depth":4},{"value":"Example response","id":"example-response","depth":4},{"value":"Error responses","id":"error-responses","depth":3},{"value":"Pagination workflow","id":"pagination-workflow","depth":3}],"frontmatter":{"seo":{"title":"DrillPlan Activity Log Download API"}},"lastModified":"2026-08-04T05:52:56.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/drillplan/docs/tutorials/api-consumption-guide/activity-log-api","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}