OutRival Files API

The Files API from OutRival — 4 operation(s) for files.

Operations 4

POST /rest/v1/files/upload #
GET /rest/v1/files #
DELETE /rest/v1/files/{id} #

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/outrival-files-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

outrival-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OutRival Ai Chat Sessions Files API
  description: OutRival API documentation.
  version: '1.0'
  contact: {}
servers:
- url: https://api.outrival.com
tags:
- name: Files
paths:
  /rest/v1/files/upload:
    post:
      operationId: FilesController_upload
      parameters: []
      requestBody:
        required: true
        description: File to upload
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/FileUploadDto'
      responses:
        '201':
          description: ''
        '400':
          description: Invalid upload request.
      tags:
      - Files
      security:
      - api_key: []
  /rest/v1/files:
    get:
      operationId: FilesController_findAll
      parameters:
      - name: order
        required: false
        in: query
        schema:
          default: desc
          enum:
          - asc
          - desc
          type: string
      - name: page
        required: false
        in: query
        schema:
          minimum: 1
          default: 1
          type: number
      - name: take
        required: false
        in: query
        schema:
          minimum: 1
          maximum: 100
          default: 20
          type: number
      responses:
        '200':
          description: Paginated list of AI Assistant.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/PageDto'
                - properties:
                    data:
                      type: array
                      items:
                        $ref: '#/components/schemas/File'
      tags:
      - Files
      security:
      - api_key: []
  /rest/v1/files/{id}/download:
    get:
      operationId: FilesController_getDownloadLink
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: Download link
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileDownloadLinkDto'
        '404':
          description: File not found
      tags:
      - Files
      security:
      - api_key: []
  /rest/v1/files/{id}:
    delete:
      operationId: FilesController_deleteFile
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: Delete file
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedFile'
      tags:
      - Files
      security:
      - api_key: []
components:
  schemas:
    File:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        organizationId:
          type: string
        size:
          type: number
        metadata:
          type: object
        mimeType:
          type: string
        createdAt:
          format: date-time
          type: string
      required:
      - id
      - name
      - organizationId
      - size
      - metadata
      - mimeType
      - createdAt
    DeletedFile:
      type: object
      properties:
        id:
          type: string
      required:
      - id
    FileDownloadLinkDto:
      type: object
      properties:
        url:
          type: string
      required:
      - url
    FileUploadDto:
      type: object
      properties:
        file:
          type: string
          format: binary
        metadata:
          type: object
      required:
      - file
    PageMetaDto:
      type: object
      properties:
        page:
          type: number
        take:
          type: number
        itemCount:
          type: number
        pageCount:
          type: number
        hasPreviousPage:
          type: boolean
        hasNextPage:
          type: boolean
      required:
      - page
      - take
      - itemCount
      - pageCount
      - hasPreviousPage
      - hasNextPage
    PageDto:
      type: object
      properties:
        data:
          type: array
          items:
            type: array
        meta:
          $ref: '#/components/schemas/PageMetaDto'
      required:
      - data
      - meta
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: X-API-Key