Root (fka Slim.ai) API Keys API

The API Keys API from Root (fka Slim.ai) — 2 operation(s) for api keys.

Operations 5

GET /v3/api_keys List API keys
POST /v3/api_keys Create API key
GET /v3/api_keys/{api_key_id} Get API key
DELETE /v3/api_keys/{api_key_id} Delete API key
PATCH /v3/api_keys/{api_key_id} Patch API key

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/root-fka-slimai-api-keys-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

root-fka-slimai-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: This is the API documentation for Root.io.
  title: Root.io Accounts API Keys API
  termsOfService: https://www.root.io/terms-of-service
  contact: {}
  version: '1.0'
servers:
- url: https://api.root.io
tags:
- name: API Keys
paths:
  /v3/api_keys:
    get:
      security:
      - BasicAuth: []
      description: List API keys with cursor-based pagination and filtering
      tags:
      - API Keys
      summary: List API keys
      parameters:
      - description: After cursor for next page
        name: after
        in: query
        schema:
          type: string
      - description: Before cursor for previous page
        name: before
        in: query
        schema:
          type: string
      - description: Page size (max 1000)
        name: limit
        in: query
        schema:
          type: integer
          default: 100
      - description: Ordering (e.g., 'created_at:desc')
        name: order
        in: query
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - description: Filter by account ID
        name: account_id
        in: query
        schema:
          type: string
      - description: Filter by active status
        name: active
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAPIKeysPagedResponse'
    post:
      security:
      - BasicAuth: []
      description: Creates a new API key for the authenticated user
      tags:
      - API Keys
      summary: Create API key
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIKeyResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAPIKeyRequest'
        description: API key create request
        required: true
  /v3/api_keys/{api_key_id}:
    get:
      security:
      - BasicAuth: []
      description: Retrieves a specific API key by ID
      tags:
      - API Keys
      summary: Get API key
      parameters:
      - description: API Key ID
        name: api_key_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIKeyResponse'
    delete:
      security:
      - BasicAuth: []
      description: Delete an API key
      tags:
      - API Keys
      summary: Delete API key
      parameters:
      - description: API Key ID
        name: api_key_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIKeyResponse'
    patch:
      security:
      - BasicAuth: []
      description: Partially update an API key
      tags:
      - API Keys
      summary: Patch API key
      parameters:
      - description: API Key ID
        name: api_key_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIKeyResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchAPIKeyRequest'
        description: API key patch request
        required: true
components:
  schemas:
    CreateAPIKeyRequest:
      type: object
      properties:
        expires_at:
          type: string
        name:
          type: string
          maxLength: 100
        role:
          enum:
          - admin
          - member
          - readonly
          allOf:
          - $ref: '#/components/schemas/Role'
        type:
          enum:
          - user
          - service
          allOf:
          - $ref: '#/components/schemas/AccountType'
    OrganizationBrief:
      type: object
      properties:
        id:
          type: string
        kind:
          $ref: '#/components/schemas/OrganizationKind'
        name:
          type: string
    AccountBrief:
      type: object
      properties:
        email:
          type: string
        id:
          type: string
        name:
          type: string
        role:
          $ref: '#/components/schemas/Role'
    Role:
      type: string
      enum:
      - admin
      - member
      - readonly
      x-enum-varnames:
      - RoleAdmin
      - RoleMember
      - RoleReadonly
    ListAPIKeysPagedResponse:
      type: object
      properties:
        cursor:
          $ref: '#/components/schemas/Cursor'
        data:
          type: array
          items:
            $ref: '#/components/schemas/APIKeyResponse'
    Cursor:
      type: object
      properties:
        after:
          type: string
        before:
          type: string
        limit:
          type: integer
        total_count:
          description: TotalCount is the number of rows matching the list filters for endpoints that populate it (e.g. security findings list). Response-only.
          type: integer
    APIKeyCreatedBy:
      type: object
      properties:
        account_id:
          type: string
        email:
          type: string
        name:
          type: string
        role:
          $ref: '#/components/schemas/Role'
    PatchAPIKeyRequest:
      type: object
      required:
      - name
      properties:
        name:
          type: string
          maxLength: 100
          minLength: 1
    AccountType:
      type: string
      enum:
      - user
      - service
      x-enum-varnames:
      - AccountTypeUser
      - AccountTypeService
    OrganizationKind:
      type: string
      enum:
      - public
      - private
      x-enum-varnames:
      - OrganizationKindPublic
      - OrganizationKindPrivate
    APIKeyResponse:
      type: object
      properties:
        account:
          $ref: '#/components/schemas/AccountBrief'
        account_id:
          type: string
        active:
          type: boolean
        created_at:
          type: string
        created_by:
          $ref: '#/components/schemas/APIKeyCreatedBy'
        expires_at:
          type: string
        id:
          type: string
        key:
          type: string
        last_used_at:
          type: string
        name:
          type: string
        organization:
          $ref: '#/components/schemas/OrganizationBrief'
        organization_id:
          type: string
        role:
          $ref: '#/components/schemas/Role'
        type:
          $ref: '#/components/schemas/AccountType'
        updated_at:
          type: string
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic