Agrology Files API

The Files API from Agrology — 3 operation(s) for files.

Operations 3

GET /fileserver/site/{siteID} Get fileserver site by site id #
GET /fileserver/customer/{customerID} Get fileserver customer by customer id #
GET /fileserver/customer/{customerID}/shared Get fileserver customer by customer id shared #

Documentation

Specifications

Other Resources

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/agrology-files-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

agrology-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Agrology Public API v2 Files API
servers:
- url: https://api.agrology.ag/v2
tags:
- name: Files
paths:
  /fileserver/site/{siteID}:
    get:
      security:
      - publicApiAuthorizer: []
      parameters:
      - name: siteID
        in: path
        required: true
        schema:
          type: string
      - name: file
        in: query
        required: true
        schema:
          type: string
      - name: redirect
        in: query
        schema:
          type: string
      responses:
        '200':
          description: 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PreSignedURLResponse'
      tags:
      - Files
      summary: Get fileserver site by site id
      x-summary-source: derived
      operationId: getFileserverSiteBySiteID
      x-operation-id-source: derived
  /fileserver/customer/{customerID}:
    get:
      security:
      - publicApiAuthorizer: []
      parameters:
      - name: customerID
        in: path
        required: true
        schema:
          type: string
      - name: file
        in: query
        required: true
        schema:
          type: string
      - name: redirect
        in: query
        schema:
          type: string
      responses:
        '200':
          description: 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PreSignedURLResponse'
      tags:
      - Files
      summary: Get fileserver customer by customer id
      x-summary-source: derived
      operationId: getFileserverCustomerByCustomerID
      x-operation-id-source: derived
  /fileserver/customer/{customerID}/shared:
    get:
      security:
      - publicApiAuthorizer: []
      parameters:
      - name: customerID
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of Customer Files Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerFiles'
      tags:
      - Files
      summary: Get fileserver customer by customer id shared
      x-summary-source: derived
      operationId: getFileserverCustomerByCustomerIDShared
      x-operation-id-source: derived
components:
  schemas:
    PreSignedURLResponse:
      type: object
      required:
      - url
      - file
      properties:
        uploadUrl:
          type: string
          format: uri
          description: 'Presigned PUT URL for uploading the file to S3, including query parameters (e.g. X-Amz-Algorithm, X-Amz-Signature).

            '
          example: https://agdata-example-bucket-abcd1234.s3.us-east-1.amazonaws.com/uploads/customer/portal/1781702810/filename.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...
        url:
          type: string
          format: uri
          description: 'Canonical S3 object URL with optional query parameters for pre-signed GET

            '
          example: https://agdata-example-bucket-abcd1234.s3.us-east-1.amazonaws.com/uploads/customer/portal/1781702810/filename.csv
        file:
          type: string
          description: Base filename of the object key (final path segment).
          example: filename.csv
    CustomerFile:
      properties:
        customerID:
          type: string
        id:
          type: string
        description:
          type: string
        filename:
          type: string
        s3URL:
          type: string
    CustomerFiles:
      type: array
      items:
        $ref: '#/components/schemas/CustomerFile'
  securitySchemes:
    publicApiAuthorizer:
      type: http
      scheme: bearer
      bearerFormat: JWT