---
updatedAt: 2026-05-27T19:55:03.000Z
agentTools:
  projectIndex: https://docs.oneschema.co/llms.txt
---

# Create FileFeed import

Create a new import for a FileFeed

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "FileFeeds",
    "version": "0.0.1",
    "description": "An API for managing OneSchema FileFeeds.",
    "contact": {
      "name": "OneSchema Support",
      "email": "support@oneschema.co"
    },
    "license": {
      "name": "proprietary",
      "url": "https://www.oneschema.co/terms-and-conditions"
    },
    "termsOfService": "https://www.oneschema.co/terms-and-conditions"
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.oneschema.co",
      "description": "Production server (hosted in the US)"
    },
    {
      "url": "https://api.eu.oneschema.co",
      "description": "Production server (hosted in the EU)"
    },
    {
      "url": "https://api.ca.oneschema.co",
      "description": "Production server (hosted in Canada)"
    },
    {
      "url": "https://api.au.oneschema.co",
      "description": "Production server (hosted in Australia)"
    }
  ],
  "tags": [
    {
      "name": "FileFeeds Imports",
      "description": "FileFeeds Imports operations"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    },
    "schemas": {
      "file-feed-import": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "file_feed_id": {
            "type": "integer"
          },
          "file_feed_metadata": {
            "type": "object"
          },
          "last_import_attempt": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer"
              },
              "created_at": {
                "type": "string",
                "format": "date-time"
              },
              "original_file_name": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "completed_at": {
                "type": "string",
                "format": "date-time"
              },
              "imported_row_count": {
                "type": "integer"
              }
            }
          }
        }
      }
    }
  },
  "paths": {
    "/v0/file-feeds/{file_feed_id}/imports": {
      "post": {
        "summary": "Create FileFeed import",
        "description": "Create a new import for a FileFeed",
        "operationId": "create-file-feed-import",
        "tags": [
          "FileFeeds Imports"
        ],
        "parameters": [
          {
            "name": "file_feed_id",
            "in": "path",
            "description": "The id of the FileFeed",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          },
          {
            "name": "client_id",
            "in": "query",
            "description": "Client ID for the environment the import is being initiated from",
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "required": false
          },
          {
            "name": "user_jwt",
            "in": "query",
            "description": "Encoded JWT for the user initiating the import",
            "schema": {
              "type": "string",
              "format": "jwt"
            },
            "required": false
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary",
                    "description": "The contents of the file to be imported."
                  }
                },
                "required": [
                  "file"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/file-feed-import"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```