Grapes Knowledge Base Grapes API
The Grapes API from Grapes Knowledge Base — 2 operation(s) for grapes.
The Grapes API from Grapes Knowledge Base — 2 operation(s) for grapes.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/grapes-knowledge-base:grapes-knowledge-base-grapes-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: Api Grapes API
version: v1
security:
- Bearer: []
tags:
- name: Grapes
paths:
/api/{version}/organizations/{orgId}/projects/{projId}/grapes:
get:
tags:
- Grapes
operationId: GetGrapes
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: projId
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/GrapeDtoListItemResponse'
application/json:
schema:
$ref: '#/components/schemas/GrapeDtoListItemResponse'
text/json:
schema:
$ref: '#/components/schemas/GrapeDtoListItemResponse'
summary: Get grapes
x-summary-source: derived
post:
tags:
- Grapes
operationId: CreateGrape
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: projId
in: path
required: true
schema:
type: string
- name: version
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateGrapeRequest'
text/json:
schema:
$ref: '#/components/schemas/CreateGrapeRequest'
application/*+json:
schema:
$ref: '#/components/schemas/CreateGrapeRequest'
responses:
'200':
description: OK
content:
text/plain:
schema:
$ref: '#/components/schemas/GrapeDtoItemResponse'
application/json:
schema:
$ref: '#/components/schemas/GrapeDtoItemResponse'
text/json:
schema:
$ref: '#/components/schemas/GrapeDtoItemResponse'
'400':
description: Validation failed
summary: Create grape
x-summary-source: derived
/api/{version}/organizations/{orgId}/projects/{projId}/grapes/{id}:
get:
tags:
- Grapes
operationId: GetGrapesById
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: projId
in: path
required: true
schema:
type: string
- name: Id
in: path
required: true
schema:
type: string
- name: includeDatabases
in: query
schema:
type: boolean
default: false
- name: version
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
content:
text/plain:
schema:
$ref: '#/components/schemas/GrapeDtoItemResponse'
application/json:
schema:
$ref: '#/components/schemas/GrapeDtoItemResponse'
text/json:
schema:
$ref: '#/components/schemas/GrapeDtoItemResponse'
summary: Get grapes by id
x-summary-source: derived
put:
tags:
- Grapes
operationId: UpdateGrape
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: projId
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/UpdateGrapeRequest'
text/json:
schema:
$ref: '#/components/schemas/UpdateGrapeRequest'
application/*+json:
schema:
$ref: '#/components/schemas/UpdateGrapeRequest'
responses:
'200':
description: OK
content:
text/plain:
schema:
$ref: '#/components/schemas/GrapeDtoItemResponse'
application/json:
schema:
$ref: '#/components/schemas/GrapeDtoItemResponse'
text/json:
schema:
$ref: '#/components/schemas/GrapeDtoItemResponse'
'400':
description: Validation failed
'404':
description: Grape not found
summary: Update grape
x-summary-source: derived
delete:
tags:
- Grapes
operationId: DeleteGrape
parameters:
- name: orgId
in: path
required: true
schema:
type: string
- name: projId
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: Grape not found
summary: Delete grape
x-summary-source: derived
components:
schemas:
SamplingModel:
type: object
properties:
take:
type:
- string
- 'null'
sort:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/SortDetailModel'
additionalProperties: false
TableMergeModes:
enum:
- Insert
- Merge
type: string
CreateGrapeDetailTableRef:
type: object
properties:
tableName:
type:
- string
- 'null'
databaseId:
type:
- string
- 'null'
filter:
$ref: '#/components/schemas/FilterRuleset'
sampling:
$ref: '#/components/schemas/SamplingModel'
tableStyle:
$ref: '#/components/schemas/TableStyle'
mergeOptions:
$ref: '#/components/schemas/GrapeMergeOptionsModel'
additionalProperties: false
RelationDto:
type: object
properties:
name:
type:
- string
- 'null'
fromTable:
type:
- string
- 'null'
toTable:
type:
- string
- 'null'
columnMappings:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/RelationColumnMappingDto'
additionalProperties: false
IFilterComponent:
type: object
properties:
filterType:
type:
- string
- 'null'
readOnly: true
additionalProperties: false
DatabaseDto:
type: object
properties:
id:
type:
- string
- 'null'
name:
type:
- string
- 'null'
type:
$ref: '#/components/schemas/DataBaseTypes'
environments:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/DatabaseEnvironmentDto'
additionalProperties: false
DatabaseEnvironmentDto:
type: object
properties:
environmentId:
type:
- string
- 'null'
infrastructureId:
type:
- string
- 'null'
additionalProperties: false
DatabaseSchemaDto:
type: object
properties:
database:
$ref: '#/components/schemas/DatabaseDto'
schema:
$ref: '#/components/schemas/SchemaDto'
additionalProperties: false
FilterLogicOperators:
enum:
- AND
- OR
type: string
UpdateGrapeRequest:
type: object
properties:
name:
type:
- string
- 'null'
details:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/UpdateGrapeDetailTableRef'
compositeRelations:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/CompositeRelationDto'
parameters:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/GrapeParameterDto'
additionalProperties: false
FilterRuleset:
type: object
properties:
filterType:
type:
- string
- 'null'
readOnly: true
condition:
$ref: '#/components/schemas/FilterLogicOperators'
rules:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/IFilterComponent'
additionalProperties: false
FieldDto:
type: object
properties:
name:
type:
- string
- 'null'
dataType:
type:
- string
- 'null'
innerDataType:
type:
- string
- 'null'
dataTypeGroup:
$ref: '#/components/schemas/DataTypeGroup'
nullable:
type: boolean
isAutoGenerated:
type: boolean
isComputed:
type: boolean
isPrimaryKey:
type: boolean
additionalProperties: false
SchemaDto:
type: object
properties:
tables:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/TableDto'
relations:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/RelationDto'
uniqueIndexes:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/UniqueIndexDto'
additionalProperties: false
HateoasLink:
type: object
properties:
relation:
type:
- string
- 'null'
uri:
type:
- string
- 'null'
method:
type:
- string
- 'null'
additionalProperties: false
UniqueIndexColumnDto:
type: object
properties:
ordinal:
type: integer
format: int32
name:
type:
- string
- 'null'
additionalProperties: false
GrapeMergeOptionsDto:
type: object
properties:
mergeMode:
$ref: '#/components/schemas/TableMergeModes'
basedOnFields:
type:
- array
- 'null'
items:
type: string
additionalProperties: false
RelationColumnMappingDto:
type: object
properties:
fromColumn:
type:
- string
- 'null'
toColumn:
type:
- string
- 'null'
additionalProperties: false
GrapeDto:
type: object
properties:
id:
type:
- string
- 'null'
name:
type:
- string
- 'null'
details:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/GrapeDetailDto'
databases:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/DatabaseSchemaDto'
compositeRelations:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/CompositeRelationDto'
parameters:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/GrapeParameterDto'
latestModifiedDate:
type:
- string
- 'null'
format: date-time
additionalProperties: false
GrapeParameterDto:
type: object
properties:
name:
type:
- string
- 'null'
dataType:
$ref: '#/components/schemas/DataTypeGroup'
defaultValue:
type:
- string
- 'null'
additionalProperties: false
TableStyle:
type: object
properties:
position:
$ref: '#/components/schemas/Point'
color:
type:
- string
- 'null'
additionalProperties: false
CompositeRelationDto:
type: object
properties:
name:
type:
- string
- 'null'
fromTable:
type:
- string
- 'null'
toTable:
type:
- string
- 'null'
columnMappings:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/RelationColumnMappingDto'
fromDatabase:
type:
- string
- 'null'
toDatabase:
type:
- string
- 'null'
additionalProperties: false
DataBaseTypes:
enum:
- SqlServer
- MySql
type: string
UpdateGrapeDetailTableRef:
type: object
properties:
tableName:
type:
- string
- 'null'
databaseId:
type:
- string
- 'null'
filter:
$ref: '#/components/schemas/FilterRuleset'
sampling:
$ref: '#/components/schemas/SamplingModel'
tableStyle:
$ref: '#/components/schemas/TableStyle'
mergeOptions:
$ref: '#/components/schemas/GrapeMergeOptionsModel'
additionalProperties: false
UniqueIndexDto:
type: object
properties:
table:
type:
- string
- 'null'
indexName:
type:
- string
- 'null'
columns:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/UniqueIndexColumnDto'
additionalProperties: false
GrapeDtoItemResponse:
type: object
properties:
item:
$ref: '#/components/schemas/GrapeDto'
links:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/HateoasLink'
additionalProperties: false
TableDto:
type: object
properties:
name:
type:
- string
- 'null'
fields:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/FieldDto'
additionalProperties: false
GrapeDtoListItemResponse:
type: object
properties:
items:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/GrapeDtoItemResponse'
totalCount:
type: integer
format: int32
additionalProperties: false
GrapeMergeOptionsModel:
type: object
properties:
mergeMode:
$ref: '#/components/schemas/TableMergeModes'
basedOnFields:
type:
- array
- 'null'
items:
type: string
additionalProperties: false
CreateGrapeRequest:
type: object
properties:
name:
type:
- string
- 'null'
details:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/CreateGrapeDetailTableRef'
compositeRelations:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/CompositeRelationDto'
parameters:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/GrapeParameterDto'
additionalProperties: false
DataTypeGroup:
enum:
- String
- Number
- Boolean
- Date
- Binary
- Unknown
type: string
Point:
type: object
properties:
isEmpty:
type: boolean
readOnly: true
x:
type: integer
format: int32
y:
type: integer
format: int32
additionalProperties: false
SortDetailModel:
type: object
properties:
order:
type: integer
format: int32
field:
type:
- string
- 'null'
direction:
type:
- string
- 'null'
additionalProperties: false
IAnonymiserComponent:
type: object
properties:
type:
type:
- string
- 'null'
readOnly: true
field:
type:
- string
- 'null'
additionalProperties: false
GrapeDetailDto:
type: object
properties:
tableName:
type:
- string
- 'null'
databaseId:
type:
- string
- 'null'
filter:
$ref: '#/components/schemas/FilterRuleset'
anonymisers:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/IAnonymiserComponent'
sampling:
$ref: '#/components/schemas/SamplingModel'
tableStyle:
$ref: '#/components/schemas/TableStyle'
mergeOptions:
$ref: '#/components/schemas/GrapeMergeOptionsDto'
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)