Beam AI Agent Context Files API

The Agent Context Files API from Beam AI — 3 operation(s) for agent context files.

Operations 3

POST /context/agent/{agentId}/file Upload Context File #
DELETE /context/agent/{agentId}/file/{fileKey} Delete Context File #

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/beam-ai:beam-ai-agent-context-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

beam-ai-agent-context-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Public Agent Context Files API
  description: Public endpoints to interact with agents and orchestrate tasks
  version: '1.0'
  contact: {}
servers: []
tags:
- name: Agent Context Files
paths:
  /context/agent/{agentId}/file:
    post:
      operationId: AgentContextFilesController_uploadFile
      summary: Upload Context File
      description: Upload context files for an agent.
      parameters:
      - name: agentId
        required: true
        in: path
        schema:
          type: string
      - name: uploadSource
        required: true
        in: query
        schema:
          type: string
      - name: taskId
        required: true
        in: query
        schema:
          type: string
      - name: current-workspace-id
        in: header
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Context file uploaded successfully
      tags:
      - Agent Context Files
      security:
      - bearer: []
      - x-api-key: []
  /context/agent/{agentId}/file/{fileId}/download:
    get:
      operationId: AgentContextFilesController_getFileDownloadLink
      summary: Download Context File
      description: Generate a download link for an agent context file.
      parameters:
      - name: agentId
        required: true
        in: path
        schema:
          type: string
      - name: fileId
        required: true
        in: path
        schema:
          type: string
      - name: current-workspace-id
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Download link generated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DownloadContextFileResponseDto'
      tags:
      - Agent Context Files
      security:
      - bearer: []
      - x-api-key: []
  /context/agent/{agentId}/file/{fileKey}:
    delete:
      operationId: AgentContextFilesController_deleteFile
      summary: Delete Context File
      description: Delete a context file for an agent by file key.
      parameters:
      - name: agentId
        required: true
        in: path
        description: The unique identifier of the agent
        schema:
          type: string
      - name: fileKey
        required: true
        in: path
        description: The unique key of the context file to delete
        schema:
          type: string
      - name: current-workspace-id
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Context file deleted successfully
      tags:
      - Agent Context Files
      security:
      - x-api-key: []
components:
  schemas:
    DownloadContextFileResponseDto:
      type: object
      properties:
        downloadUrl:
          type: string
      required:
      - downloadUrl
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key