---
updatedAt: 2026-09-02T17:35:26.000Z
agentTools:
  projectIndex: https://docs.go.v7labs.com/llms.txt
---

# Return an Import

Returns details of a single import

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "Common.APIErrorDetails": {
        "description": "Additional structured error context. Shape varies by error code.\n\n- For conflict errors: contains a `conflicts` array with conflicting resources\n- For other errors: may contain arbitrary error-specific context",
        "nullable": true,
        "oneOf": [
          {
            "$ref": "#/components/schemas/Common.ConflictErrorDetails"
          },
          {
            "additionalProperties": true,
            "description": "Generic error details for non-conflict errors",
            "type": "object",
            "x-struct": null,
            "x-validate": null
          }
        ],
        "title": "Common.APIErrorDetails",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Common.APIErrorDetails",
        "x-validate": null
      },
      "Common.ConflictErrorDetails": {
        "additionalProperties": false,
        "description": "Details for conflict errors",
        "properties": {
          "conflicts": {
            "description": "List of conflicting resources",
            "items": {
              "additionalProperties": true,
              "type": "object",
              "x-struct": null,
              "x-validate": null
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "conflicts"
        ],
        "title": "Common.ConflictErrorDetails",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Common.ConflictErrorDetails",
        "x-validate": null
      },
      "Common.NullableUUID": {
        "example": "e23ff3f3-8f77-4e78-9e81-fdb25abfb781",
        "format": "uuid",
        "nullable": true,
        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
        "title": "Common.NullableUUID",
        "type": "string",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Common.NullableUUID",
        "x-validate": null
      },
      "Common.UUID": {
        "example": "e23ff3f3-8f77-4e78-9e81-fdb25abfb781",
        "format": "uuid",
        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
        "title": "Common.UUID",
        "type": "string",
        "x-struct": null,
        "x-validate": null
      },
      "Imports.ImportResponse": {
        "additionalProperties": false,
        "description": "An import object.\n\n`project_id` may be `null` if the import is not associated with a project yet (import into new project).\n",
        "properties": {
          "created_at": {
            "$ref": "#/components/schemas/Common.DateTime"
          },
          "error_details": {
            "$ref": "#/components/schemas/Imports.ErrorDetails"
          },
          "format": {
            "$ref": "#/components/schemas/Imports.Format"
          },
          "format_options": {
            "$ref": "#/components/schemas/Imports.FormatOptions"
          },
          "id": {
            "$ref": "#/components/schemas/Common.UUID"
          },
          "processed_entities": {
            "nullable": true,
            "type": "integer",
            "x-struct": null,
            "x-validate": null
          },
          "project_exists": {
            "type": "boolean",
            "x-struct": null,
            "x-validate": null
          },
          "project_id": {
            "$ref": "#/components/schemas/Common.NullableUUID"
          },
          "project_name": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "settings": {
            "$ref": "#/components/schemas/Imports.Settings"
          },
          "status": {
            "enum": [
              "complete",
              "error",
              "cancelled",
              "processing",
              "queued",
              "pending"
            ],
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "updated_at": {
            "$ref": "#/components/schemas/Common.DateTime"
          },
          "workspace_id": {
            "$ref": "#/components/schemas/Common.UUID"
          }
        },
        "required": [
          "id",
          "workspace_id",
          "project_name",
          "status",
          "format",
          "format_options",
          "settings",
          "created_at",
          "updated_at"
        ],
        "title": "Imports.ImportResponse",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Imports.ImportResponse",
        "x-validate": null
      },
      "Imports.Format": {
        "enum": [
          "csv"
        ],
        "title": "Imports.Format",
        "type": "string",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Imports.Format",
        "x-validate": null
      },
      "Imports.ErrorDetails": {
        "additionalProperties": false,
        "description": "Error details. When field has status `error`, this represents reason for that error.\nWhen field has status `complete`, this indicates that import wasn't processed in full due to\nerror that got ignored (e.g. billing error when setting `billing_errors_as_warnings` is `true`).\n",
        "nullable": true,
        "properties": {
          "code": {
            "enum": [
              "internal_server_error",
              "system_limits_exceeded",
              "billing_limits_exceeded",
              "bad_request",
              "invalid_import_file"
            ],
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "message": {
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "code",
          "message"
        ],
        "title": "Imports.ErrorDetails",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Imports.ErrorDetails",
        "x-validate": null
      },
      "Common.DateTime": {
        "description": "DateTime in RFC3339 format",
        "example": "2020-01-20T14:00:00Z",
        "format": "date-time",
        "title": "Common.DateTime",
        "type": "string",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Common.DateTime",
        "x-validate": null
      },
      "Imports.Settings": {
        "additionalProperties": false,
        "description": "General, format independent settings for the import.",
        "nullable": true,
        "properties": {
          "billing_errors_as_warnings": {
            "default": true,
            "type": "boolean",
            "x-struct": null,
            "x-validate": null
          },
          "entity_limit": {
            "nullable": true,
            "type": "integer",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "Imports.Settings",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Imports.Settings",
        "x-validate": null
      },
      "Common.APIError": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "example": "bad_request",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "details": {
            "$ref": "#/components/schemas/Common.APIErrorDetails"
          },
          "message": {
            "example": "Bad Request",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "code",
          "message"
        ],
        "title": "Common.APIError",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Common.APIError",
        "x-validate": null
      },
      "Imports.FormatOptionsCSV": {
        "additionalProperties": false,
        "description": "CSV format options",
        "properties": {
          "first_row_header": {
            "default": false,
            "type": "boolean",
            "x-struct": null,
            "x-validate": null
          },
          "separator": {
            "enum": [
              ",",
              ";",
              "\t"
            ],
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "separator"
        ],
        "title": "Imports.FormatOptionsCSV",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Imports.FormatOptionsCSV",
        "x-validate": null
      },
      "Imports.FormatOptions": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Imports.FormatOptionsCSV"
          }
        ],
        "title": "Imports.FormatOptions",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Imports.FormatOptions",
        "x-validate": null
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "in": "header",
        "name": "X-API-KEY",
        "type": "apiKey"
      },
      "BearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "V7 Go API",
    "version": "0.1.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/api/workspaces/{workspace_id}/imports/{import_id}": {
      "get": {
        "callbacks": {},
        "description": "Returns details of a single import",
        "operationId": "import-get",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "workspace_id",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Common.UUID"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "import_id",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Common.UUID"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Imports.ImportResponse"
                }
              }
            },
            "description": "Imports.ImportResponse"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          }
        },
        "summary": "Return an Import",
        "tags": [
          "Imports"
        ]
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    },
    {
      "ApiKeyAuth": []
    }
  ],
  "servers": [
    {
      "description": "EU",
      "url": "https://go.v7labs.com",
      "variables": {}
    },
    {
      "description": "US",
      "url": "https://go.us.v7labs.com",
      "variables": {}
    },
    {
      "description": "UAE",
      "url": "https://go.uae.v7labs.com",
      "variables": {}
    }
  ]
}
```