{
  "opencollection": "1.0.0",
  "info": {
    "name": "OpenAI Assistants Files API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "OpenAI Returns a list of files that belong to the user's organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/files",
            "params": [
              {
                "name": "purpose",
                "value": "",
                "type": "query",
                "description": "Only return files with the given purpose."
              }
            ]
          },
          "docs": "OpenAI Returns a list of files that belong to the user's organization."
        },
        {
          "info": {
            "name": "Upload a file that can be used across various endpoints. The size of all the files uploaded by one organization can be up to 100 GB.\n\nThe size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants. See the [Assistants Tools guide](/docs/assistants/tools) to learn more about the types of files supported. The Fine-tuning API only supports `.jsonl` files.\n\nPlease [contact us](https://help.openai.com/) if you need to increase these storage limits.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openai.com/v1/files",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Upload a file that can be used across various endpoints. The size of all the files uploaded by one organization can be up to 100 GB.\n\nThe size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants. See the [Assistants Tools guide](/docs/assistants/tools) to learn more about the types of files supported. The Fine-tuning API only supports `.jsonl` files.\n\nPlease [contact us](https://help.openai.com/) if you need to increase these storage limits.\n"
        },
        {
          "info": {
            "name": "OpenAI Returns information about a specific file.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/files/:file_id",
            "params": [
              {
                "name": "file_id",
                "value": "",
                "type": "path",
                "description": "The ID of the file to use for this request."
              }
            ]
          },
          "docs": "OpenAI Returns information about a specific file."
        },
        {
          "info": {
            "name": "OpenAI Delete a file.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.openai.com/v1/files/:file_id",
            "params": [
              {
                "name": "file_id",
                "value": "",
                "type": "path",
                "description": "The ID of the file to use for this request."
              }
            ]
          },
          "docs": "OpenAI Delete a file."
        },
        {
          "info": {
            "name": "OpenAI Returns the contents of the specified file.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openai.com/v1/files/:file_id/content",
            "params": [
              {
                "name": "file_id",
                "value": "",
                "type": "path",
                "description": "The ID of the file to use for this request."
              }
            ]
          },
          "docs": "OpenAI Returns the contents of the specified file."
        }
      ]
    }
  ],
  "bundled": true
}