Space Context Media API

The Media API from Space Context — 1 operation(s) for media.

GitHub OpenAPI

Operations 1

GET /media/{key} Serve a signed v1 evidence frame #

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/spacecontext-app:spacecontext-app-media-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

spacecontext-app-media-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Space Context Media API
  version: v1
servers:
- url: https://api.spacecontext.app/v1
tags:
- name: Media
paths:
  /media/{key}:
    get:
      operationId: getEvidenceFrame
      security: []
      summary: Serve a signed v1 evidence frame
      parameters:
      - name: key
        in: path
        required: true
        description: 'Storage key of the frame, exactly as in the signed URL: `frames/…` for spaces scanned with the app, `api/…` for scans made through the API.'
        schema:
          type: string
          pattern: ^(frames|api)/
      - name: token
        in: query
        required: true
        schema:
          type: string
      - name: expires
        in: query
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Original evidence frame bytes
          headers:
            Cache-Control:
              schema:
                type: string
            X-Content-Type-Options:
              schema:
                type: string
          content:
            image/jpeg:
              schema:
                type: string
                format: binary
            image/png:
              schema:
                type: string
                format: binary
            image/webp:
              schema:
                type: string
                format: binary
            image/heic:
              schema:
                type: string
                format: binary
        '401':
          $ref: '#/components/responses/ErrorResponse'
        '404':
          $ref: '#/components/responses/ErrorResponse'
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Media
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - request_id
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
            retry_after:
              type: integer
              description: 'On a 429: seconds to wait, as in `Retry-After`.'
            daily_limit:
              type: integer
              description: 'On a 429 for a daily allowance: the allowance (it resets at midnight UTC).'
            max_streams:
              type: integer
              description: 'On a 429 from `GET /scans/{id}/events`: the streams an account may hold open at once.'
            max_open_scans:
              type: integer
              description: 'On a 429 from `POST /spaces/{id}/scans`: the scans an account may hold created and not started.'
          additionalProperties: true
  responses:
    ErrorResponse:
      description: Error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Too many requests. Retry after the number of seconds in `Retry-After`.
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: sc_live or sc_test