Organize with AI Assets API

The Assets API from Organize with AI — 1 operation(s) for assets.

GitHub OpenAPI

Operations 2

GET /assets/{assetId}/content Read authenticated image bytes or stream a video #
HEAD /assets/{assetId}/content Inspect video size and range support without downloading the movie #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/organizewith-ai:organizewith-ai-assets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

organizewith-ai-assets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OwAI remote media-library MCP transport Assets API
  version: 1.0.0
  description: Connect AI assistants to the authenticated account's OwAI photo and video library using MCP Streamable HTTP. Permanent paid Cloud Access is required. Hosted semantic searches use separate prepaid credits; metadata-only searches and library-management calls do not consume inference credits. This OpenAPI document describes HTTP transport and discovery only. Use MCP tools/list for the current tool names and their authoritative input/output schemas, then tools/call to invoke them. The server is stateless and does not issue Mcp-Session-Id. Legacy MCP requests use POST response streams; current per-request MCP exchanges may return JSON. Use an MCP client that supports the negotiated protocol revision. Local folders and Apple Photos must be indexed and synced. Remote local-source mutations need the owning app online; media previews also need Remote media access. Supported OneDrive operations use the connected cloud account.
servers:
- url: https://index.organizewith.ai
  description: Production OwAI media index
security:
- bearerAuth: []
tags:
- name: Assets
paths:
  /assets/{assetId}/content:
    description: Authenticated media delivery through the existing local-folder, Apple Photos or OneDrive source. Never place credentials in the URL. A media:read grant is required.
    parameters:
    - name: assetId
      in: path
      required: true
      schema:
        type: string
        minLength: 1
        maxLength: 200
    - name: variant
      in: query
      schema:
        type: string
        enum:
        - preview
        - original
        - image
        - stream
        default: preview
      description: Use stream for full video delivery and byte-range seeking; image adapts an image to the inline budget.
    - name: Range
      in: header
      schema:
        type: string
      description: One byte range, such as bytes=0-1048575, bytes=1048576-, or bytes=-65536. Multipart ranges are unsupported.
    - name: If-Range
      in: header
      schema:
        type: string
      description: For stream, only a matching strong ETag preserves the requested range. Otherwise the full representation is returned.
    get:
      operationId: readMediaContent
      summary: Read authenticated image bytes or stream a video
      description: Video stream links come from read_media. Large videos stream in bounded upstream ranges without buffering the whole movie. OneDrive needs no desktop; local files and Apple Photos require the owning app and opt-in relay. Photos may first download/export the current video on its Mac. The client must support authenticated fetching and the source codec. A start_ms playback hint appears in the URL fragment, not a server-side clip parameter.
      responses:
        '200':
          description: 'Complete media body. A provider that ignores Range also returns 200, with Accept-Ranges: none.'
          content:
            video/mp4:
              schema:
                type: string
                format: binary
            application/octet-stream:
              schema:
                type: string
                format: binary
        '206':
          description: Requested video byte range, with Content-Range and Content-Length.
        '401':
          description: Missing or invalid credentials. Follow the resource_metadata URL in WWW-Authenticate to discover OAuth authorization.
          headers:
            WWW-Authenticate:
              schema:
                type: string
              example: Bearer resource_metadata="https://index.organizewith.ai/.well-known/oauth-protected-resource/mcp"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
        '403':
          description: Host or Origin is not allowed. Tool-level permission failures are returned through MCP.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
        '404':
          description: Asset or source file unavailable in this account.
        '416':
          description: Invalid, multipart or unsatisfiable range.
        '502':
          description: Source response is inconsistent or incomplete. A mid-stream failure aborts the body.
        '503':
          description: Owning device offline, remote media access disabled or provider unavailable.
        '504':
          description: Source preparation timed out; an iCloud export may still be preparing on the Mac.
      tags:
      - Assets
    head:
      operationId: inspectVideoContent
      summary: Inspect video size and range support without downloading the movie
      description: Use variant=stream. Probes one source byte; an uncached Apple Photos video still needs native preparation first.
      responses:
        '200':
          description: Video content headers, no response body.
        '206':
          description: Requested range headers, no body.
        '401':
          description: Missing or invalid credentials. Follow the resource_metadata URL in WWW-Authenticate to discover OAuth authorization.
          headers:
            WWW-Authenticate:
              schema:
                type: string
              example: Bearer resource_metadata="https://index.organizewith.ai/.well-known/oauth-protected-resource/mcp"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
        '403':
          description: Host or Origin is not allowed. Tool-level permission failures are returned through MCP.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
        '404':
          description: Media not found.
        '416':
          description: Invalid range.
        '503':
          description: Source unavailable.
      tags:
      - Assets
components:
  schemas:
    HttpError:
      type: object
      required:
      - error
      properties:
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Obtain an OAuth access token through the authorization server discovered at https://index.organizewith.ai/.well-known/oauth-protected-resource/mcp. Send Authorization: Bearer <access-token>. Granted scopes are checked per tool; request only the permissions needed. Tokens and account-specific IDs must never be included in public URLs. Legacy developer keys are not needed for normal assistant setup.'
externalDocs:
  url: https://organizewith.ai/en/guides/connect-ai-assistants
  description: Connect an assistant and authorize your account
x-mcp-endpoint: https://index.organizewith.ai/mcp
x-oauth-protected-resource-metadata: https://index.organizewith.ai/.well-known/oauth-protected-resource/mcp
x-oauth-scopes:
  media:search: Search the synced media library.
  media:read: Locate media, list devices and sources, and read supported media content.
  library:read: Inspect library organization and command results.
  library:write: Create and update supported library organization.
  library:delete: Run reviewed deletion operations; explicit approval is still required.
  ACCESS_VIEW_MANAGE_MCP_CONTENT: Gemini compatibility scope granting the five media/library scopes above.
  SHARE_THROUGH_MCP_CONVERSATION_INFO: Gemini conversation-sharing consent; grants no library permission by itself.