{"id":148592,"date":"2023-07-27T16:50:27","date_gmt":"2023-07-27T07:50:27","guid":{"rendered":"https:\/\/support.questetra.com\/?p=148592"},"modified":"2023-07-31T15:14:14","modified_gmt":"2023-07-31T06:14:14","slug":"openai-files-list-2023","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/openai-files-list-2023\/","title":{"rendered":"OpenAI #Files: List"},"content":{"rendered":"\n<h4 class=\"wp-block-heading has-background\" style=\"background-color:#ffccff;margin-top:var(--wp--preset--spacing--30);margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--20);padding-bottom:0;padding-left:var(--wp--preset--spacing--20)\"><strong>OpenAI #Files: List<\/strong><\/h4>\n\n\n\n<p class=\"has-text-align-right has-background has-small-font-size mt-0 pt-0 wp-block-paragraph\" style=\"background-color:#ffccff;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--30);padding-bottom:0;padding-left:var(--wp--preset--spacing--30)\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/openai-files-list-2023\/\"><span class=\"material-icons\">translate<\/span> OpenAI #Files: \u30ea\u30b9\u30c8<\/a><\/p>\n\n\n\n<p class=\"has-background mt-0 pt-0 wp-block-paragraph\" style=\"background-color:#fff0ff;margin-top:0;margin-right:0;margin-bottom:var(--wp--preset--spacing--60);margin-left:0;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--40)\">Lists the files on the OpenAI API server. For all files belonging to the user organisation, the four attributes File ID, Purpose, File Size and File Name are stored as TSV text.<\/p>\n\n\n\n<figure class=\"wp-block-image alignright has-custom-border is-style-default\"><img decoding=\"async\" src=\"data:image;base64,\niVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABclJREFUWEfN\nV3tQlFUU\/12esiCwrCIhKugiL0VAUASc8pEZmI2K5Wu3MRtDK5Wm0RlndAEbK2VEa\/JRYQZkmu9I\na\/KVvBQfgOKKDwhwDUXQXcTl4QK3uRd2XdhvgbFm6P73fd895\/zOOb\/z+Aj6+JDe2nfflSBqtMds\n2kYngdBgAJ4AEbfLUzWAClBSSCzIWTstDle9n9DQG909Ahj4vcJNZ4k1hCCOAv16qbSJUuy0bsUX\nNYsTH3Qn0y0AcZoijhKaDBD73hg2vUO1hJJP1PLEnebkzQJwSk\/YTkCXvZjhzlIUZEedLGG5kC5B\nAE7p6\/cSkPn\/hXG9Dgr6U50saUFXnSYAevL8Q78IvD08EEMdnKFra8PVx\/exveQ8TleV9ohXKBKd\nALTnHDuENDlY2yI1ag4mu0tR3ViPwkdVcLLphzEuL8ECBPv+ugoLQnC59m9kqkrwVNcsCIhQLDPm\nhAEAZ7sVLTVHuM1h0ZB7j8WxSiU+vnicG3AXOWJj6HTEDPGFFbEwGNQ8a0Tq7Uv4tOiMAAiqtW4h\nUn11GAA4pylSQLCqqwTzfIV\/BN6RjsWDxnrEnNzDja8KiMJyvwkQ29ohr7oSm4vPIae6AjOG+GF1\n4MvwdpRge8kFbCg6LVAc2KqRJ8azDxwAbzIi+qhrnU9198bG0NcgdZSAgCC9tABppQXYFBaNQBc3\nXFdXcwMs\/+yuSqvBrboa+DgNRGpULBysbfBeziFcrr3XCQQBmuwaiIQ1Kw5AnJGwiFKabnxLr2Sw\nvSMOlhdj3vAxOFKpRO7DSiiCpmDPnSvYVHwOMmkIlvuGw8d5IOp1zZwLG4rO8Kgt9RmPFGU2tilz\nTaJACJGpFyVkcADOaYpUELxrfEsRPBVLfcZh18183HpSi+SwaA7gYo0KH\/lH4PNrf0IuHYtgiTuO\nq25y4rH3YQM8cE9bx58XjgjG7tuXsPHqWaE07NbIE5e0A0hfXwAQ1t8N59AUGaT9JVicfQDeTgMM\nABgP4nzD0UYp7jyphcRWBArwUmTEYxGJD4iCZ38xmltbOFChCAC0UCNLCtEDePx8sLRjODpVzlk+\n+bdvOcv1EWAA5NIQbC7O4gYZSTeFvY5Yz9G4oXnIOZFfo8JnodMR6zkKRytvYFneEaFqUGtkSS4d\nABTMiU7nqwlvcsOrL55AU2sLtoW\/wWufNZ7ZnqOw8sIvyHpQzmXWjpmEt7wCOYDIQcNwuEKJ+PxM\n7J+0AEESd3yQdwynqu6YgNDIEolZAMxI8rgY3K6rwcoLmfCwd8K6oCnwd3ZFbZMWcXlHOgGY6xXI\nQbEKYSc882usDIhEfMBEfHMrX5AHRgDWm6SAKdkVORtzvUajol6NFGUOL0OWY9YD2PlSmQt\/sSuv\nEK3uGQdlDGDRiGAkhrzKU2VKRGqcAlMS6nng5+SKhlYdj4Cyo+5ZjndGzMJ0j5G4+1SD8w\/vImLQ\nMJMIbBk3g6dr7ZXfsbesqEsKjEkoUIZ6AF4OLliSc5BHgnlqY2GFR81aWBNL\/FhWiC3KHKwKiOQk\nXGGUgqTC09gyPgZVDfWYeeoH09lA8bwMhRoRA8D6\/\/wRQUguzsJWZQ5CB3jwEnuiaza02A0h0xA9\nxBd3n6qx8Nw+ZLw8D4NFjtxbdo\/xR4iAnRqRuVbMDH4XNQe2llZQFJzEz+XXuGJWeuuCJhsickJ1\nE+sK\/uBlu3tiLFxsRXw+sE7ZtQ0zeZNWzJuRmWHEiMTY72xrx\/PNmoubqD8fxXpO6HeBHRGzMHOo\nH5KvZyPlerZA7Xe8ol2GEXvd3Thmnq0JfIW3WXsrGzja2PLxe6C8GBllhZygS0aGYYLrUORWV0KW\ntd\/sPgCYGccMRHcLibE7UYM8kRQyjU9Ey449oLFFh19VJYZdwZz7ZhcSvUBPK5mxYjYxR4vd8Kyt\nFWful3XjdbtUjyvZcxB9uJS+SCTMs82853qZ\/++PiR5hn\/6aGYe2z35Oe8rvv\/3+D7A\/zj\/ftsWS\nAAAAAElFTkSuQmCC\n\" alt=\"Auto Step icon\" class=\"has-border-color has-ast-global-color-6-border-color\" style=\"border-width:0.5em\"\/><\/figure>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title\">Configs for this Auto Step<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<dl style=\"margin: 0 0 -0.7em 0\">\n<div style=\"margin:4px 0px 1em; border:1px dotted #aaa; padding:4px 0 0 4px\" title=\"Main\"><dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">AuthzConfU1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">U1: Select HTTP_Authz Setting (Secret API Key as &#8220;Fixed Value&#8221;)<span style=\"color:#990000;\"> *<\/span><\/dd>\n<dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">SelectConfA1<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">A1: Select STRING that stores TSV (update)<span style=\"color:#990000;\"> *<\/span><\/dd>\n<\/div>\n<div style=\"margin:4px 0px 1em; border:1px dotted #aaa; padding:4px 0 0 4px\" title=\"Advanced\"><dt style=\"font-weight: 300; font-size: 50%; margin: -1em 0 0 0; color: #aaa;\">StrConfU2<\/dt><dd style=\"margin: -0.5em 0 0.1em 1em\">U2: Set OpenAI Organization ID (&#8220;org-xxxx&#8221;)<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/dd>\n<\/div>\n\n<\/dl>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details><summary class=\"wp-block-coblocks-accordion-item__title\">Script (click to open)<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\/\/ GraalJS standard mode Script Script (engine type: 3)\n\/\/ cf. &#39;engine type: 2&#39;: &quot;GraalJS Nashorn compatible mode&quot; (renamed from &quot;GraalJS&quot; at 20230526)\n\n\n\/\/\/\/\/\/\/\/ START &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nmain();\nfunction main(){ \n\n\/\/\/\/\/\/ == Config Retrieving \/ \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 ==\nconst strAuthzSetting     = configs.get( &quot;AuthzConfU1&quot; );             \/\/\/ REQUIRED\n  engine.log( &quot; AutomatedTask Config: Authz Setting: &quot; + strAuthzSetting );\nconst strOrgId            = configs.get( &quot;StrConfU2&quot; );               \/\/ NotRequired\n  engine.log( &quot; AutomatedTask Config: OpenAI-Organization: &quot; + strOrgId );\nconst strPocketTsv        = configs.getObject( &quot;SelectConfA1&quot; );      \/\/\/ REQUIRED\n\n\n\/\/\/\/\/\/ == Data Retrieving \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 ==\n\/\/ (Nothing. Retrieved via Expression Language in Config Retrieving)\n\n\n\n\/\/\/\/\/\/ == Calculating \/ \u6f14\u7b97 ==\n\n\/\/\/\/ OpenAI API &gt; Documentation &gt; API REFERENCE &gt; FILES &gt; List files\n\/\/\/\/ https:\/\/platform.openai.com\/docs\/api-reference\/files\/list\n\n\/\/\/ prepare request1\nlet request1Uri = &quot;https:\/\/api.openai.com\/v1\/files&quot;;\nlet request1 = httpClient.begin(); \/\/ HttpRequestWrapper\n    request1 = request1.authSetting( strAuthzSetting ); \/\/ with &quot;Authorization: Bearer XX&quot;\n    if ( strOrgId !== &quot;&quot; ){\n      request1 = request1.header( &quot;OpenAI-Organization&quot;, strOrgId );\n    }\n\n\/\/\/ try request1\nconst response1     = request1.get( request1Uri ); \/\/ HttpResponseWrapper\nengine.log( &quot; AutomatedTask ApiRequest1 Start: &quot; + request1Uri );\nconst response1Code = response1.getStatusCode() + &quot;&quot;; \/\/ JavaNum to string\nconst response1Body = response1.getResponseAsString();\nengine.log( &quot; AutomatedTask ApiResponse1 Status: &quot; + response1Code );\nif( response1Code !== &quot;200&quot;){\n  throw new Error( &quot;\\n AutomatedTask UnexpectedResponseError: &quot; +\n                    response1Code + &quot;\\n&quot; + response1Body + &quot;\\n&quot; );\n}\n\/* engine.log( response1Body ); \/\/ debug\n{\n  &quot;object&quot;: &quot;list&quot;,\n  &quot;data&quot;: [\n    {\n      &quot;object&quot;: &quot;file&quot;,\n      &quot;id&quot;: &quot;file-rM8tP15b9pZ2tJSLZEfUl7fG&quot;,\n      &quot;purpose&quot;: &quot;fine-tune&quot;,\n      &quot;filename&quot;: &quot;training-data-questetra-bpm-suite-assistant.jsonl&quot;,\n      &quot;bytes&quot;: 6823,\n      &quot;created_at&quot;: 1690249576,\n      &quot;status&quot;: &quot;processed&quot;,\n      &quot;status_details&quot;: null\n    },\n    {\n      &quot;object&quot;: &quot;file&quot;,\n      &quot;id&quot;: &quot;file-P6mdMBuR56sxgco3pr9qHAVm&quot;,\n      &quot;purpose&quot;: &quot;fine-tune&quot;,\n      &quot;filename&quot;: &quot;training-data-questetra-bpm-suite-assistant.jsonl&quot;,\n      &quot;bytes&quot;: 6823,\n      &quot;created_at&quot;: 1690252892,\n      &quot;status&quot;: &quot;processed&quot;,\n      &quot;status_details&quot;: null\n    }\n  ]\n}*\/\n\n\/\/\/ parse response1\nconst response1Obj = JSON.parse( response1Body );\nengine.log( &quot; AutomatedTask OpenAI #listed &quot; );\n\nlet arrData = [];\nfor ( let i = 0; i &lt; response1Obj.data.length; i++ ) {\n  arrData.push ( \n    response1Obj.data[i].id      + &#39;\\t&#39; +\n    response1Obj.data[i].purpose + &#39;\\t&#39; +\n    response1Obj.data[i].bytes   + &#39;\\t&#39; +\n    response1Obj.data[i].filename\n  );\n}\n\n\n\/\/\/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\nif( strPocketTsv !== null ){\n  engine.setData( strPocketTsv, arrData.join(&#39;\\n&#39;) );\n}\n\n\n} \/\/\/\/\/\/\/\/ END &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n\/*\nNotes:\n- If you place this &quot;Automated Step&quot; in the Workflow diagram, the request will be automatically sent every time the process token arrives.\n    - A request is automatically sent to the OpenAI API server. (REST API)\n    - The response from the OpenAI API server is automatically parsed.\n- This &quot;Automated Step&quot; will list all files on the OpenAI server.\n    - All files belonging to the organization are listed.\n\nAPPENDIX\n- To activate a Workflow App that includes this Automated Step, &quot;HTTP Authz Setting&quot; is required\n    - Obtain a &quot;Secret API Key&quot; in advance.\n    - Set the key as the communication token in &quot;Token Fixed Value&quot;\n\n\nNotes-ja:\n- \u3053\u306e\uff3b\u81ea\u52d5\u5de5\u7a0b\uff3d\u3092\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u56f3\u306b\u914d\u7f6e\u3059\u308c\u3070\u3001\u6848\u4ef6\u304c\u5230\u9054\u3059\u308b\u5ea6\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u81ea\u52d5\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002\n    - OpenAI API \u30b5\u30fc\u30d0\u306b\u5bfe\u3057\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u81ea\u52d5\u9001\u51fa\u3055\u308c\u307e\u3059\u3002\uff08REST API\u901a\u4fe1\uff09\n    - OpenAI API \u30b5\u30fc\u30d0\u304b\u3089\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u81ea\u52d5\u4fdd\u5b58\u89e3\u6790\u3055\u308c\u307e\u3059\u3002\n- \u3053\u306e\uff3b\u81ea\u52d5\u5de5\u7a0b\uff3d\u306f\u3001OpenAI \u30b5\u30fc\u30d0\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3057\u307e\u3059\u3002\n    - \u7d44\u7e54\u306b\u5e30\u5c5e\u3059\u308b\u5168\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u4e00\u89a7\u3055\u308c\u307e\u3059\u3002\n\nAPPENDIX-ja\n- \u3053\u306e\uff3b\u30a2\u30c9\u30aa\u30f3\u81ea\u52d5\u5de5\u7a0b\uff3d\u3092\u542b\u3080\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30a2\u30d7\u30ea\u3092\u904b\u7528\u3059\u308b\u306b\u306f\uff3bHTTP \u8a8d\u8a3c\u8a2d\u5b9a\uff3d\u304c\u5fc5\u8981\u3067\u3059\u3002\n    - \u3042\u3089\u304b\u3058\u3081 &quot;Secret API Key&quot; \u3092\u53d6\u5f97\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002\n    - &quot;Secret API Key&quot; \u3092\u901a\u4fe1\u30c8\u30fc\u30af\u30f3\u3068\u3057\u3066\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002\uff3b\u30c8\u30fc\u30af\u30f3\u76f4\u63a5\u6307\u5b9a\uff3d\n*\/\n\n<\/code><\/pre><\/div>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Download<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/drive.google.com\/file\/d\/1rsWOB6RNv_1yg3l7uCAK7-NLsRdCKrb3\/view?usp=drivesdk\" target=\"_blank\">openai-files-list-2023.xml<\/a>\n<ul class=\"wp-block-list\">\n<li>2023-07-20 (C) Questetra, Inc. (MIT License)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div class=\"has-small-font-size\" style=\"text-align: right;\"><div style=\"display: inline-block; background: #FBE7DD; text-align: center;\">\n<span class=\"material-icons\">warning<\/span> Freely modifiable JavaScript (ECMAScript) code. No warranty of any kind.<br>\n(Installing <em><strong>Addon Auto-Steps<\/strong><\/em> are available only on the <em><strong><span style=\"color: #1970B9\">Professional<\/span><\/strong><\/em> edition.)\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Notes<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you place this Automated Step in the Workflow diagram, the request will be automatically sent every time the process token arrives.\n<ul class=\"wp-block-list\">\n<li>A request is automatically sent to the OpenAI API server. (REST API)<\/li>\n\n\n\n<li>The response from the OpenAI API server is automatically parsed.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>This Automated Step will list all files on the OpenAI server.\n<ul class=\"wp-block-list\">\n<li>All files belonging to the organization are listed.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Capture<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?ssl=1\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" data-attachment-id=\"148588\" data-permalink=\"https:\/\/support.questetra.com\/en\/templates\/meeting-report-process\/attachment\/openai-files-list-2023-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?fit=1200%2C675&amp;ssl=1\" data-orig-size=\"1200,675\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"openai-files-list-2023-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=1200%2C675&#038;ssl=1\" alt=\"Returns a list of files on the OpenAI API server. The File IDs, Purposes, File Sizes, and File Names of all files belonging to the user's organization are stored as TSV text.\" class=\"wp-image-148588\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=768%2C432&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Appendix<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To activate a Workflow App that includes this Automated Step, &#8220;HTTP Authz Setting&#8221; is required\n<ul class=\"wp-block-list\">\n<li>Obtain a &#8220;Secret API Key&#8221; in advance.<\/li>\n\n\n\n<li>Set the key as the communication token in &#8220;Token Fixed Value&#8221;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>See also<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"UbHosMNqfO\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/openai-file-upload-2023\/\">OpenAI #File: Upload<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"\u201cOpenAI #File: Upload\u201d \u2014 Questetra Support\" src=\"https:\/\/support.questetra.com\/en\/addons\/openai-file-upload-2023\/embed\/#?secret=O62bQxSNnM#?secret=UbHosMNqfO\" data-secret=\"UbHosMNqfO\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Lists the files on the OpenAI API server. For all files belonging to the user organisation, the four attributes File ID, Purpose, File Size and File Name are stored as TSV text.<\/p>\n","protected":false},"author":2,"featured_media":148588,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[168],"tags":[3429],"class_list":["post-148592","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons","tag-openai-api"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?fit=1200%2C675&ssl=1","uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-en.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"IMAMURA, Genichi","author_link":"https:\/\/support.questetra.com\/en\/author\/imamuragenichi\/"},"uagb_comment_info":0,"uagb_excerpt":"Lists the files on the OpenAI API server. For all files belonging to the user organisation, the four attributes File ID, Purpose, File Size and File Name are stored as TSV text.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-CEE","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":84047,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/download-process-files-using-the-workflow-api\/","url_meta":{"origin":148592,"position":0},"title":"Download Case Files Using the Workflow API","author":"Peter Glover","date":"2020-05-22","format":false,"excerpt":"Here is a script that searches for a Case that matches the conditions and downloads the file attached to the Case.","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/workflow-api-file-download-featured-image.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/workflow-api-file-download-featured-image.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/workflow-api-file-download-featured-image.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/workflow-api-file-download-featured-image.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/workflow-api-file-download-featured-image.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":81650,"url":"https:\/\/support.questetra.com\/en\/addons\/questetra-bpms-process-list-all-file-urls\/","url_meta":{"origin":148592,"position":1},"title":"Questetra BPMS: Process, List All File URLs","author":"IMAMURA, Genichi","date":"2019-11-06","format":false,"excerpt":"Lists the download URLs for the files stored as workflow data of Questetra BPM Suite. If two files are attached, output two lines of text. This is useful for browser extensions and email text attachment.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Questetra-BPMS-Process-List-All-File-URLs-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Questetra-BPMS-Process-List-All-File-URLs-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Questetra-BPMS-Process-List-All-File-URLs-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Questetra-BPMS-Process-List-All-File-URLs-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/11\/Questetra-BPMS-Process-List-All-File-URLs-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":148603,"url":"https:\/\/support.questetra.com\/ja\/addons\/openai-files-list-2023\/","url_meta":{"origin":148592,"position":2},"title":"OpenAI #Files: \u30ea\u30b9\u30c8","author":"IMAMURA, Genichi","date":"2023-07-27","format":false,"excerpt":"OpenAI API \u30b5\u30fc\u30d0\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u89a7\u3057\u307e\u3059\u3002\u30e6\u30fc\u30b6 Organization \u306b\u5e30\u5c5e\u3059\u308b\u5168\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u3001\u30d5\u30a1\u30a4\u30ebID\u30fbPURPOSE\u30fb\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u30fb\u30d5\u30a1\u30a4\u30eb\u540d \u306e4\u5c5e\u6027\u304c TSV \u30c6\u30ad\u30b9\u30c8\u3068\u3057\u3066\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002","rel":"","context":"In &quot;\u30a2\u30c9\u30aa\u30f3&quot;","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"OpenAI #Files: \u30ea\u30b9\u30c8","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/07\/openai-files-list-2023-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":71830,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/googledrive-permissioncreate\/","url_meta":{"origin":148592,"position":3},"title":"Google Drive: Create Shared Link","author":"Shiho Tatsumi","date":"2024-12-13","format":false,"excerpt":"This item creates a shared link for the specified file or folder on Google Drive. An error occurs when the file\/folder is already shared with anyone or within the domain.","rel":"","context":"In &quot;BPMN Icons&quot;","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/en\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-google-drive2024.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-google-drive2024.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-google-drive2024.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-google-drive2024.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/12\/bpmn-icon-service-task-google-drive2024.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":83104,"url":"https:\/\/support.questetra.com\/en\/system-settings\/app-shared-add-on\/","url_meta":{"origin":148592,"position":4},"title":"System Settings &#8211; App-shared Add-on","author":"Peter Glover","date":"2020-03-11","format":false,"excerpt":"Uploaded data can be stored and then referred to by multiple Apps.","rel":"","context":"In &quot;System Settings&quot;","block_context":{"text":"System Settings","link":"https:\/\/support.questetra.com\/en\/category\/system-settings\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/Gear_upload-1.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/Gear_upload-1.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/Gear_upload-1.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/Gear_upload-1.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/Gear_upload-1.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":74538,"url":"https:\/\/support.questetra.com\/en\/templates\/fax-reception-process-20171204\/","url_meta":{"origin":148592,"position":5},"title":"Fax Reception Process","author":"IMAMURA, Genichi","date":"2019-01-23","format":false,"excerpt":"Internet FAX (cloud fax service) is a mechanism to convert received faxes into PDFs and notify them by e-mail. This Workflow-App receives the notification email via mailing list. After that, PDF data received is checked in [1. Confirm order]. Noise data such as unwanted faxes and false positives are eliminated.\u2026","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/01\/diagram-fax-reception-process-20171204-en.png?fit=855%2C255&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/01\/diagram-fax-reception-process-20171204-en.png?fit=855%2C255&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/01\/diagram-fax-reception-process-20171204-en.png?fit=855%2C255&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/01\/diagram-fax-reception-process-20171204-en.png?fit=855%2C255&ssl=1&resize=700%2C400 2x"},"classes":[]}],"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/148592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=148592"}],"version-history":[{"count":4,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/148592\/revisions"}],"predecessor-version":[{"id":148694,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/148592\/revisions\/148694"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/148588"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=148592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=148592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=148592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}