agent timeout fetching large artifact content from ticket log file
ART-16594_KNOWLEDGE_NODE-0
b'If an attachment is larger than 250 MB, it exceeds the maximum artifact size supported by DevRev and will not be uploaded. The current limit is defined as MAX_DEVREV_ARTIFACT_SIZE = 262144000 (250 MB). When using the default attachment processors in Airdrop SDK, such oversized attachments are automatically skipped, and the extraction process continues with the remaining attachments. This means you don\xe2\x80\x99t need to implement custom filtering at the data extraction layer to handle them.
What happens when trying to stream too big attachment in ADaaS SDK
ART-17221_KNOWLEDGE_NODE-23
blocked and can stall the sync process. To prevent this, the AirSync SDK implements a two-tier timeout mechanism.\n\n* The **soft timeout**, default of 10 minutes and configurable, sends an exit message to the worker thread, allowing it to gracefully shut down via the `onTimeout` function. How to configure this is shown in the example below.\n* If the worker does not respond within the **hard timeout**, default of 13 minutes, it is forcefully terminated.\n\nThis mechanism ensures that the
Data extraction | DevRev | Docs
ART-17220_KNOWLEDGE_NODE-3
time)EXTRACTION\\_ATTACHMENTS\\_CONTINUEEXTRACTION\\_ATTACHMENTS\\_ERROR\n\n### Event types\n\n| Event | Direction | Description |\n| --- | --- | --- |\n| `EXTRACTION_ATTACHMENTS_START` | AirSync \xe2\x86\x92 Snap-in | Initiates the attachments extraction |\n| `EXTRACTION_ATTACHMENTS_PROGRESS` | Snap-in \xe2\x86\x92 AirSync | Indicates process is ongoing but runtime limit (13 minutes) reached |\n| `EXTRACTION_ATTACHMENTS_DELAY` | Snap-in \xe2\x86\x92 AirSync | Requests a delay due to rate
Attachments extraction | DevRev | Docs
ART-4206_KNOWLEDGE_NODE-2
async API\n================\n\nCopy page\n\nThis cookbook provides a step-by-step guide to use the asynchronous API for DevRev agents. It assumes you\xe2\x80\x99ve already created an agent using the DevRev agent builder platform.\n\nThe DevRev async API enables you to execute agents without any execution timeout concerns. The execution occurs as an asynchronous workflow that sends events to you via webhooks. This approach ensures:\n\n* Agent complexity does not bring timeout concerns with
Agents async API | DevRev | Docs
ART-17221_KNOWLEDGE_NODE-25
loop.\n* Use `async/await` for I/O operations such as API calls or file reads.\n* Add periodic async breaks in tight loops using `Promise.resolve()`, `setTimeout()`, or `setImmediate()`.\n\nYou can find examples of correct timeout-safe code in the [timeout-handling test suite](https://github.com/devrev/adaas-sdk/tree/main/src/tests/timeout-handling).\n\nTo test how your snap-in responds to timeouts, you can configure a shorter timeout using the `spawn` function:\n\n```\n|  |  |\n| --- | ---
Data extraction | DevRev | Docs
ART-1304_KNOWLEDGE_NODE-54
datetime Optional\nThe expiration timestamp of the URL.\nAPI Reference artifacts Locate Post.\n\nPOST https:// api.devrev.ai / artifacts.locate\nGets the download URL for the artifact.\nRequest.\n\nThis endpoint expects an object.\nid string Required\nThe ID of the artifact to get the URL for.\nversion string Optional\nThe version of the artifact that needs to be fetched.\nResponse.\n\nThis endpoint returns an object.\nurl string\nThe artifact\'s download URL.\nexpires_at datetime Optional\nThe
Get — DevRev | Docs
ART-1566_KNOWLEDGE_NODE-49
Locate.\n\nGET https://api.devrev.ai / artifacts.locate\n\nGets the download URL for the artifact.\n\nQuery parameters.\n\nid string Required\n\nThe ID of the artifact to get the URL for.\n\nversion string Optional\n\nThe version of the artifact that needs to be fetched.\n\nResponse.\n\nThis endpoint returns an object.\nurl string\n\nThe artifact\xe2\x80\x99s download URL.\n\nexpires_at datetime Optional\n\nThe expiration timestamp of the URL.\n\nAPI Reference artifacts Locate Post.\n\nPOST
Transition (Beta) — DevRev | Docs
ART-1780_KNOWLEDGE_NODE-49
Locate.\n\nGET https:// api.devrev.ai / artifacts.locate\nGets the download URL for the artifact.\nQuery parameters.\n\nid string Required\nThe ID of the artifact to get the URL for.\nversion string Optional\nThe version of the artifact that needs to be fetched.\nResponse.\n\nThis endpoint returns an object.\nurl string\nThe artifact\'s download URL.\nexpires_at datetime Optional\nThe expiration timestamp of the URL.\nAPI Reference artifacts Locate Post.\n\nPOST https:// api.devrev.ai /
Get Post — DevRev | Docs
ART-1558_KNOWLEDGE_NODE-49
Locate.\n\nGET https://api.devrev.ai / artifacts.locate\n\nGets the download URL for the artifact.\n\nQuery parameters.\n\nid string Required\n\nThe ID of the artifact to get the URL for.\n\nversion string Optional\n\nThe version of the artifact that needs to be fetched.\n\nResponse.\n\nThis endpoint returns an object.\nurl string\n\nThe artifact\xe2\x80\x99s download URL.\n\nexpires_at datetime Optional\n\nThe expiration timestamp of the URL.\n\nAPI Reference artifacts Locate Post.\n\nPOST
Metric Definitions List (Beta) — DevRev | Docs