Rulebase Attachments API

The Attachments API from Rulebase — 3 operation(s) for attachments.

Operations 3

POST /evaluation_contest_feedback_attachments Upload an image for contest feedback #
POST /qa_evaluation_attachments Upload an image for a manual QA evaluation #
POST /rails/active_storage/direct_uploads Create an Active Storage blob for a browser direct upload #

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/rulebase:rulebase-attachments-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

rulebase-attachments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rulebase API2 Attachments API
  version: 0.0.1
tags:
- name: Attachments
paths:
  /evaluation_contest_feedback_attachments:
    post:
      operationId: createEvaluationContestFeedbackAttachment
      summary: Upload an image for contest feedback
      tags:
      - Attachments
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  nullable: true
      responses:
        '200':
          description: Blob created; attach it with the returned signed id
          content:
            application/json:
              schema:
                type: object
                properties:
                  signed_id:
                    type: string
                required:
                - signed_id
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '422':
          description: Missing or non-image file
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                required:
                - errors
  /qa_evaluation_attachments:
    post:
      operationId: createQaEvaluationAttachment
      summary: Upload an image for a manual QA evaluation
      tags:
      - Attachments
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  nullable: true
      responses:
        '200':
          description: Blob created; attach it with the returned signed id
          content:
            application/json:
              schema:
                type: object
                properties:
                  signed_id:
                    type: string
                required:
                - signed_id
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '422':
          description: Missing or non-image file
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                required:
                - errors
  /rails/active_storage/direct_uploads:
    post:
      operationId: createActiveStorageDirectUpload
      summary: Create an Active Storage blob for a browser direct upload
      tags:
      - Attachments
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                blob:
                  type: object
                  properties:
                    filename:
                      type: string
                    content_type:
                      type: string
                      nullable: true
                    byte_size:
                      type: integer
                    checksum:
                      type: string
                    metadata:
                      type: object
                      additionalProperties:
                        nullable: true
                  required:
                  - filename
                  - byte_size
                  - checksum
              required:
              - blob
      responses:
        '200':
          description: Blob created; PUT the file to `direct_upload.url`
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: number
                  key:
                    type: string
                  filename:
                    type: string
                  content_type:
                    type: string
                    nullable: true
                  metadata:
                    type: object
                    additionalProperties:
                      nullable: true
                  byte_size:
                    type: number
                  checksum:
                    type: string
                  created_at:
                    type: string
                  signed_id:
                    type: string
                  direct_upload:
                    type: object
                    properties:
                      url:
                        type: string
                      headers:
                        type: object
                        additionalProperties:
                          type: string
                    required:
                    - url
                    - headers
                required:
                - id
                - key
                - filename
                - content_type
                - metadata
                - byte_size
                - checksum
                - created_at
                - signed_id
                - direct_upload
        '422':
          description: Invalid blob params
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                required:
                - errors
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Rulebase organization API key