Grapes Knowledge Base Datasets API

Import and export datasets

Operations 9

GET /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets Get datasets #
POST /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets Create dataset #
GET /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets/{id} Get dataset by id #
PUT /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets/{id} Update dataset #
DELETE /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets/{id} Delete dataset #
POST /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets/{id}/extract-data Extract dataset #
POST /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets/{id}/import-data Import dataset #
POST /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets/{id}/upload Upload dataset #
GET /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets/{id}/download Download dataset #

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/grapes-knowledge-base:grapes-knowledge-base-datasets-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

grapes-knowledge-base-datasets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Grapes Datasets API
  version: v1
security:
- Bearer: []
tags:
- name: Datasets
paths:
  /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets:
    get:
      tags:
      - Datasets
      operationId: GetDatasets
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: string
      - name: projId
        in: path
        required: true
        schema:
          type: string
      - name: grapeId
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DatasetDtoListItemResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetDtoListItemResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DatasetDtoListItemResponse'
      summary: Get datasets
      x-summary-source: derived
    post:
      tags:
      - Datasets
      operationId: CreateDataset
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: string
      - name: projId
        in: path
        required: true
        schema:
          type: string
      - name: grapeId
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDatasetRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CreateDatasetRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CreateDatasetRequest'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DatasetDtoItemResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetDtoItemResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DatasetDtoItemResponse'
        '400':
          description: Validation failed
      summary: Create dataset
      x-summary-source: derived
  /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets/{id}:
    get:
      tags:
      - Datasets
      operationId: GetDatasetById
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: string
      - name: projId
        in: path
        required: true
        schema:
          type: string
      - name: grapeId
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DatasetDtoItemResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetDtoItemResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DatasetDtoItemResponse'
        '404':
          description: Dataset not found
      summary: Get dataset by id
      x-summary-source: derived
    put:
      tags:
      - Datasets
      operationId: UpdateDataset
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: string
      - name: projId
        in: path
        required: true
        schema:
          type: string
      - name: grapeId
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateDatasetRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/UpdateDatasetRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateDatasetRequest'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DatasetDtoItemResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetDtoItemResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DatasetDtoItemResponse'
        '400':
          description: Validation failed
        '404':
          description: Dataset not found
      summary: Update dataset
      x-summary-source: derived
    delete:
      tags:
      - Datasets
      operationId: DeleteDataset
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: string
      - name: projId
        in: path
        required: true
        schema:
          type: string
      - name: grapeId
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      responses:
        '400':
          description: Validation failed
        '404':
          description: Dataset not found
      summary: Delete dataset
      x-summary-source: derived
  /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets/{id}/extract-data:
    post:
      tags:
      - Datasets
      operationId: ExtractDataset
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: string
      - name: projId
        in: path
        required: true
        schema:
          type: string
      - name: grapeId
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExtractDataRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ExtractDataRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ExtractDataRequest'
      responses:
        '202':
          description: Accepted
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/IActionResult'
            application/json:
              schema:
                $ref: '#/components/schemas/IActionResult'
            text/json:
              schema:
                $ref: '#/components/schemas/IActionResult'
        '400':
          description: Validation failed
        '404':
          description: Dataset not found
      summary: Extract dataset
      x-summary-source: derived
  /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets/{id}/import-data:
    post:
      tags:
      - Datasets
      operationId: ImportDataset
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: string
      - name: projId
        in: path
        required: true
        schema:
          type: string
      - name: grapeId
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImportDatasetRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ImportDatasetRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ImportDatasetRequest'
      responses:
        '202':
          description: Accepted
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/IActionResult'
            application/json:
              schema:
                $ref: '#/components/schemas/IActionResult'
            text/json:
              schema:
                $ref: '#/components/schemas/IActionResult'
        '400':
          description: Validation failed
        '404':
          description: Dataset not found
      summary: Import dataset
      x-summary-source: derived
  /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets/{id}/upload:
    post:
      tags:
      - Datasets
      operationId: UploadDataset
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: string
      - name: projId
        in: path
        required: true
        schema:
          type: string
      - name: grapeId
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      responses:
        '202':
          description: Accepted
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/IActionResult'
            application/json:
              schema:
                $ref: '#/components/schemas/IActionResult'
            text/json:
              schema:
                $ref: '#/components/schemas/IActionResult'
        '400':
          description: Validation failed
        '404':
          description: Dataset not found
        '415':
          description: Content-Type not supported
      summary: Upload dataset
      x-summary-source: derived
  /api/{version}/organizations/{orgId}/projects/{projId}/grapes/{grapeId}/datasets/{id}/download:
    get:
      tags:
      - Datasets
      operationId: DownloadDataset
      parameters:
      - name: orgId
        in: path
        required: true
        schema:
          type: string
      - name: projId
        in: path
        required: true
        schema:
          type: string
      - name: grapeId
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      responses:
        '404':
          description: Dataset not found
      summary: Download dataset
      x-summary-source: derived
components:
  schemas:
    DatasetStatusTypes:
      enum:
      - Empty
      - InProgress
      - Ready
      - Error
      type: string
    ImportDatasetRequest:
      type: object
      properties:
        targetEnvironmentId:
          type:
          - string
          - 'null'
      additionalProperties: false
    DatasetParameterValueDto:
      type: object
      properties:
        parmeterId:
          type:
          - string
          - 'null'
        value:
          type:
          - string
          - 'null'
      additionalProperties: false
    CreateDatasetRequest:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        parameters:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/DatasetParameterValueDto'
      additionalProperties: false
    DatasetDtoListItemResponse:
      type: object
      properties:
        items:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/DatasetDtoItemResponse'
        totalCount:
          type: integer
          format: int32
      additionalProperties: false
    DatasetDto:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/DatasetStatusTypes'
        latestExecutionDate:
          type:
          - string
          - 'null'
          format: date-time
        size:
          type:
          - integer
          - 'null'
          format: int64
        parameters:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/DatasetParameterValueDto'
      additionalProperties: false
    IActionResult:
      type: object
      additionalProperties: false
    HateoasLink:
      type: object
      properties:
        relation:
          type:
          - string
          - 'null'
        uri:
          type:
          - string
          - 'null'
        method:
          type:
          - string
          - 'null'
      additionalProperties: false
    UpdateDatasetRequest:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/DatasetStatusTypes'
        latestExecutionDate:
          type:
          - string
          - 'null'
          format: date-time
        size:
          type:
          - integer
          - 'null'
          format: int64
        parameters:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/DatasetParameterValueDto'
      additionalProperties: false
    ExtractDataRequest:
      type: object
      properties:
        environmentId:
          type:
          - string
          - 'null'
      additionalProperties: false
    DatasetDtoItemResponse:
      type: object
      properties:
        item:
          $ref: '#/components/schemas/DatasetDto'
        links:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/HateoasLink'
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: oauth2
      description: "JWT Authorization header using the Bearer scheme. \n\n Enter 'Bearer' [space] and then your token in the text input below.\n\nExample: \"Bearer 1safsfsdfdfd\""
x-provenance:
  method: harvested
  publisher: Grapes Knowledge Base
  source: https://api.data-grapes.com/swagger/v1/swagger.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)