> ## Documentation Index
> Fetch the complete documentation index at: https://docs.platform.neural-motion.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an upload URL



## OpenAPI

````yaml /openapi.json post /api/v1/orgs/{org_slug}/projects/{project_slug}/imports/upload-url
openapi: 3.1.0
info:
  title: NMotion Data Platform API (developer)
  version: 0.1.0
  description: >-
    The stable HTTP surface of the NMotion data platform for CLI, SDK, and
    automation clients.
servers:
  - url: https://platform.neural-motion.org
    description: Production
  - url: https://dev.platform.neural-motion.org
    description: Dev channel
security: []
tags:
  - name: Platform
    description: Version and service metadata.
  - name: Catalog
    description: Browse the public dataset catalog.
  - name: Users and tokens
    description: Identity and personal access tokens.
  - name: Projects
    description: Navigate organizations and projects.
  - name: Project datasets
    description: Datasets, manifests, and episodes inside a project.
  - name: Imports
    description: Bring data into a project.
  - name: Exports
    description: Derived dataset versions and export jobs.
paths:
  /api/v1/orgs/{org_slug}/projects/{project_slug}/imports/upload-url:
    post:
      tags:
        - Imports
      summary: Create an upload URL
      operationId: >-
        create_project_import_upload_url_api_v1_orgs__org_slug__projects__project_slug__imports_upload_url_post
      parameters:
        - name: org_slug
          in: path
          required: true
          schema:
            type: string
            title: Org Slug
        - name: project_slug
          in: path
          required: true
          schema:
            type: string
            title: Project Slug
        - name: Authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkspaceRawUploadUrlCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceRawUploadUrlResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    WorkspaceRawUploadUrlCreate:
      properties:
        filename:
          type: string
          maxLength: 255
          minLength: 1
          title: Filename
        content_type:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Content Type
        size_bytes:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: Size Bytes
      type: object
      required:
        - filename
      title: WorkspaceRawUploadUrlCreate
    WorkspaceRawUploadUrlResponse:
      properties:
        method:
          type: string
          const: PUT
          title: Method
          default: PUT
        url:
          type: string
          title: Url
        headers:
          additionalProperties:
            type: string
          type: object
          title: Headers
        raw_object_path:
          type: string
          title: Raw Object Path
        expires_at:
          type: string
          title: Expires At
      type: object
      required:
        - url
        - raw_object_path
        - expires_at
      title: WorkspaceRawUploadUrlResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT or nmp_ PAT
      description: >-
        Clerk session JWT for browsers, or nmp_ personal access token for
        CLI/SDK clients. Not accepted by ClerkSession-only operations.

````