Grapes Knowledge Base Personal Access Tokens API

The Personal Access Tokens API from Grapes Knowledge Base — 2 operation(s) for personal access tokens.

Operations 3

POST /api/{version}/personal-access-tokens Create personal access token #
GET /api/{version}/personal-access-tokens Get api by version personal access tokens #
DELETE /api/{version}/personal-access-tokens/{id} Delete personal access token #

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-personal-access-tokens-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-personal-access-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Grapes Personal Access Tokens API
  version: v1
security:
- Bearer: []
tags:
- name: Personal Access Tokens
paths:
  /api/{version}/personal-access-tokens:
    post:
      tags:
      - Personal Access Tokens
      operationId: CreatePersonalAccessToken
      parameters:
      - name: version
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePersonalAccessTokenRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CreatePersonalAccessTokenRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CreatePersonalAccessTokenRequest'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PersonalAccessTokenDtoItemResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/PersonalAccessTokenDtoItemResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/PersonalAccessTokenDtoItemResponse'
        '400':
          description: Validation failed
      summary: Create personal access token
      x-summary-source: derived
    get:
      tags:
      - Personal Access Tokens
      parameters:
      - name: version
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PersonalAccessTokenInfoDtoListItemResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/PersonalAccessTokenInfoDtoListItemResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/PersonalAccessTokenInfoDtoListItemResponse'
      summary: Get api by version personal access tokens
      x-summary-source: derived
      operationId: getApiByVersionPersonalAccessTokens
      x-operation-id-source: derived
  /api/{version}/personal-access-tokens/{id}:
    delete:
      tags:
      - Personal Access Tokens
      operationId: DeletePersonalAccessToken
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Personal access token deleted successfully
        '400':
          description: Validation failed
      summary: Delete personal access token
      x-summary-source: derived
components:
  schemas:
    PersonalAccessTokenInfoDtoItemResponse:
      type: object
      properties:
        item:
          $ref: '#/components/schemas/PersonalAccessTokenInfoDto'
        links:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/HateoasLink'
      additionalProperties: false
    CreatePersonalAccessTokenRequest:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        organizationId:
          type:
          - string
          - 'null'
        customPrivileges:
          type:
          - array
          - 'null'
          items:
            type: string
      additionalProperties: false
    PersonalAccessTokenDtoItemResponse:
      type: object
      properties:
        item:
          $ref: '#/components/schemas/PersonalAccessTokenDto'
        links:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/HateoasLink'
      additionalProperties: false
    PersonalAccessTokenDto:
      type: object
      properties:
        plainTextToken:
          type:
          - string
          - 'null'
      additionalProperties: false
    PersonalAccessTokenStatusTypes:
      enum:
      - Active
      - Revoked
      type: string
    HateoasLink:
      type: object
      properties:
        relation:
          type:
          - string
          - 'null'
        uri:
          type:
          - string
          - 'null'
        method:
          type:
          - string
          - 'null'
      additionalProperties: false
    PersonalAccessTokenInfoDtoListItemResponse:
      type: object
      properties:
        items:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PersonalAccessTokenInfoDtoItemResponse'
        totalCount:
          type: integer
          format: int32
      additionalProperties: false
    PersonalAccessTokenInfoDto:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
        organizationId:
          type:
          - string
          - 'null'
        createdDate:
          type: string
          format: date-time
        status:
          $ref: '#/components/schemas/PersonalAccessTokenStatusTypes'
      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)