Bridge Town · Schema

PostApiModelsModelnameDataSourcesUploadSessionsRequest

FinanceArtificial IntelligenceFP&ACollaborationVersion ControlCompany

Properties

Name Type Description
source_name string Logical data-source name for query_data.
staged_upload_id string Preferred source: staged-upload UUID from POST /api/models/{model_name}/data-sources/upload-sessions. Upload the file with PUT to the returned upload_url before calling this tool. Sessions are authent
filename string Original .csv or .xlsx filename; required only for inline fallback.
file_content string Optional base64 fallback for a file no larger than 64 KiB decoded. Do not place larger file bodies in an MCP tool call; use staged_upload_id.
workspace_id string Workspace identifier.
View JSON Schema on GitHub

JSON Schema

bridgetown-builders-post-api-models-modelname-data-sources-upload-sessions-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bridgetown-builders/json-schema/bridgetown-builders-post-api-models-modelname-data-sources-upload-sessions-request-schema.json",
  "title": "PostApiModelsModelnameDataSourcesUploadSessionsRequest",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/bridgetown-builders-core-openapi-generated.yml#/components/schemas/PostApiModelsModelnameDataSourcesUploadSessionsRequest",
  "type": "object",
  "properties": {
    "source_name": {
      "type": "string",
      "description": "Logical data-source name for query_data."
    },
    "staged_upload_id": {
      "type": "string",
      "description": "Preferred source: staged-upload UUID from POST /api/models/{model_name}/data-sources/upload-sessions. Upload the file with PUT to the returned upload_url before calling this tool. Sessions are authenticated, model- and user-scoped, atomically consumed before processing, and expire in 24 hours. After any ingest failure, create a new staged upload instead of replaying this id."
    },
    "filename": {
      "type": "string",
      "description": "Original .csv or .xlsx filename; required only for inline fallback."
    },
    "file_content": {
      "type": "string",
      "description": "Optional base64 fallback for a file no larger than 64 KiB decoded. Do not place larger file bodies in an MCP tool call; use staged_upload_id."
    },
    "workspace_id": {
      "type": "string",
      "description": "Workspace identifier."
    }
  },
  "required": [
    "source_name"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/bridgetown-builders-post-api-models-modelname-data-sources-upload-sessions-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.