Standards Files API

The Files API from Standards — 8 operation(s) for files.

GitHub OpenAPI

Operations 10

POST /files/uploads Prepare upload #
POST /files/uploads/{uploadId}/complete Complete upload #
POST /files/uploads/{uploadId}/abort Abort upload #
GET /files List #
GET /files/public-files-url Public files url #
POST /files/urls Get signed URLs #
GET /files/{id} Get #
PUT /files/{id} Update #
DELETE /files/{id} Delete #
GET /files/{id}/url Get signed URL #

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/standards-new:standards-new-files-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

standards-new-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Standards Files API
  description: Public API of Standards
  version: v1
  contact: {}
servers:
- url: https://api.standards.new/v1
tags:
- name: Files
paths:
  /files/uploads:
    post:
      operationId: FilesOperationsController_files.prepareUpload
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Files
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                idempotencyKey:
                  type: string
                  format: uuid
                  description: A retry under the same key returns the same upload.
                fileName:
                  type: string
                  minLength: 1
                  description: File name.
                mimeType:
                  type: string
                  minLength: 1
                  description: Declared MIME type, verified against the stored file's magic numbers at completion.
                size:
                  type: integer
                  minimum: 1
                  description: Byte length, reserved against the storage quota now and checked against the stored object at completion.
                folderPath:
                  type: string
                  description: Destination folder path.
                public:
                  oneOf:
                  - type: boolean
                  - type: string
                    enum:
                    - 'true'
                    - 'false'
                  description: Stores the file as public.
                protocol:
                  type: string
                  enum:
                  - tus
                  - put
                  description: '`tus` sends the bytes as a resumable upload; `put` sends them in one request (at most 50 MiB).'
                attachTo:
                  type: object
                  description: The record the file joins once completed.
                  properties:
                    objectName:
                      type: string
                      minLength: 1
                      description: Object of the record.
                    recordId:
                      type: string
                      minLength: 1
                      description: Record ID.
                    attributeName:
                      type: string
                      description: Document attribute to attach to. Defaults to `attachments`.
                    title:
                      type: string
                      description: Name of a new document.
                    documentId:
                      type: string
                      description: Appends the file to this document's pack instead of creating one.
                    properties:
                      type: string
                      description: Qualified edge properties of the record → document link, as a JSON-encoded object.
                    parentId:
                      type:
                      - string
                      - 'null'
                      description: Folder in the record's drive; empty or null is the drive root.
                    position:
                      oneOf:
                      - type: number
                      - type: string
                      description: Sort position among siblings.
                  required:
                  - objectName
                  - recordId
              required:
              - idempotencyKey
              - fileName
              - mimeType
              - size
              - protocol
      summary: Prepare upload
  /files/uploads/{uploadId}/complete:
    post:
      operationId: FilesOperationsController_files.completeUpload
      parameters:
      - name: uploadId
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - Files
      summary: Complete upload
  /files/uploads/{uploadId}/abort:
    post:
      operationId: FilesOperationsController_files.abortUpload
      parameters:
      - name: uploadId
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - Files
      summary: Abort upload
  /files:
    get:
      operationId: FilesOperationsController_files.list
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 9007199254740991
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          maximum: 9007199254740991
      - name: folderPath
        in: query
        required: false
        schema:
          type: string
      - name: mimeType
        in: query
        required: false
        schema:
          type: string
      - name: ocrStatus
        in: query
        required: false
        schema:
          type: string
          enum:
          - pending
          - processing
          - completed
          - failed
          - unsupported
          - skipped
      - name: processedAfter
        in: query
        required: false
        schema:
          type: string
          format: date-time
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
      - name: processedAfterId
        in: query
        required: false
        schema:
          type: string
          format: uuid
          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
      - name: packed
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: string
            enum:
            - 'true'
            - 'false'
      - name: ids
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Files
      summary: List
  /files/public-files-url:
    get:
      operationId: FilesOperationsController_files.publicFilesUrl
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Files
      summary: Public files url
  /files/urls:
    post:
      operationId: FilesOperationsController_files.signedUrls
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Files
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ids:
                  type: array
                  minItems: 1
                  maxItems: 200
                  items:
                    type: string
                  description: File IDs; an ID the caller cannot read is absent from the answer.
                variant:
                  type: string
                  enum:
                  - original
                  - thumbnail
                  description: '`thumbnail` resizes inline images.'
              required:
              - ids
      summary: Get signed URLs
  /files/{id}:
    get:
      operationId: FilesOperationsController_files.get
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Files
      summary: Get
    put:
      operationId: FilesOperationsController_files.update
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Files
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateFileDto'
      summary: Update
    delete:
      operationId: FilesOperationsController_files.delete
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: ''
      tags:
      - Files
      summary: Delete
  /files/{id}/url:
    get:
      operationId: FilesOperationsController_files.signedUrl
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: download
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: string
            enum:
            - 'true'
            - 'false'
      responses:
        '200':
          description: ''
      tags:
      - Files
      summary: Get signed URL
components:
  schemas:
    UpdateFileDto:
      type: object
      properties:
        name:
          type: string
          description: New display name.
        folderPath:
          type: string
          description: New folder path.
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http