Terrain List Directory Example

BioinformaticsData ScienceLife SciencesFilesystemCloud ComputingOpen-Source

Terrain List Directory Example is an example object payload from Terrain Discovery Environment API, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://de.cyverse.org/terrain/secured/filesystem/directory?path=/iplant/home/myuser&limit=50&offset=0",
    "headers": {
      "Authorization": "Bearer <TERRAIN_JWT_TOKEN>"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "path": "/iplant/home/myuser",
      "date-created": "1640000000000",
      "date-modified": "1746000000000",
      "permission": "own",
      "folders": [
        {
          "id": "afc62f7c-abcd-1234-efgh-5678ijklmnop",
          "path": "/iplant/home/myuser/analyses",
          "label": "analyses",
          "date-created": "1640000000000",
          "date-modified": "1746000000000",
          "file-size": 0,
          "permission": "own",
          "file-type": null
        },
        {
          "id": "bde73a8d-wxyz-5678-abcd-1234efghijkl",
          "path": "/iplant/home/myuser/rawdata",
          "label": "rawdata",
          "date-created": "1643000000000",
          "date-modified": "1745000000000",
          "file-size": 0,
          "permission": "own",
          "file-type": null
        }
      ],
      "files": [
        {
          "id": "cef84b9e-1234-abcd-5678-efghijklmnop",
          "path": "/iplant/home/myuser/sample.fastq",
          "label": "sample.fastq",
          "date-created": "1745000000000",
          "date-modified": "1745000000000",
          "file-size": 52428800,
          "permission": "own",
          "file-type": "fastq"
        }
      ],
      "total": 3
    }
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example 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 example
curl "https://apis.io/api/v1/examples/terrain-list-directory-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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