Activeloop Credentials API

The credentials API from Activeloop — 3 operation(s) for credentials.

Operations 4

DELETE /api/users/me/tokens/{token_id} Delete User Api Token #
POST /api/users/me/tokens/short-term Generate Short Term Token #
POST /api/users/me/tokens Generate User Api Token #
GET /api/users/me/tokens Get User Api Tokens #

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/activeloop:activeloop-credentials-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

activeloop-credentials-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Credentials API
  version: 0.1.0
tags:
- name: Credentials
paths:
  /api/users/me/tokens/{token_id}:
    delete:
      tags:
      - Credentials
      summary: Delete User Api Token
      description: Deletes an api token for the user
      operationId: delete_user_api_token_api_users_me_tokens__token_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: token_id
        in: path
        required: true
        schema:
          type: string
          title: Token Id
      - name: hard_fail
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Hard Fail
      - name: require_profile
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Require Profile
      - name: Activeloop-Api-Version
        in: header
        required: false
        schema:
          $ref: '#/components/schemas/ApiVersion'
          title: Activeloop API Version
          description: Controls which version of the Activeloop API gets used to execute client Requests. Leaving this out will default to the oldest currently supported API behavior.<br>`2024-02-10` is equivalent to omitting this header entirely as it is the oldest version.
          default: '2024-02-10'
        description: Controls which version of the Activeloop API gets used to execute client Requests. Leaving this out will default to the oldest currently supported API behavior.<br>`2024-02-10` is equivalent to omitting this header entirely as it is the oldest version.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserApiTokenModel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/users/me/tokens/short-term:
    post:
      tags:
      - Credentials
      summary: Generate Short Term Token
      description: Generates a short-term ApiToken for the user. Allows applications to exchange long duration tokens for ephemeral tokens of short-duration
      operationId: generate_short_term_token_api_users_me_tokens_short_term_post
      security:
      - HTTPBearer: []
      parameters:
      - name: hard_fail
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Hard Fail
      - name: require_profile
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Require Profile
      - name: Activeloop-Api-Version
        in: header
        required: false
        schema:
          $ref: '#/components/schemas/ApiVersion'
          title: Activeloop API Version
          description: Controls which version of the Activeloop API gets used to execute client Requests. Leaving this out will default to the oldest currently supported API behavior.<br>`2024-02-10` is equivalent to omitting this header entirely as it is the oldest version.
          default: '2024-02-10'
        description: Controls which version of the Activeloop API gets used to execute client Requests. Leaving this out will default to the oldest currently supported API behavior.<br>`2024-02-10` is equivalent to omitting this header entirely as it is the oldest version.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserCreateShortTermTokenModel'
              default:
                duration: 600
                version: 4
                tenant: activeloop
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserShortTermApiTokenModel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/users/me/tokens:
    post:
      tags:
      - Credentials
      summary: Generate User Api Token
      description: Creates a new auth token for the user.
      operationId: generate_user_api_token_api_users_me_tokens_post
      security:
      - HTTPBearer: []
      parameters:
      - name: hard_fail
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Hard Fail
      - name: require_profile
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Require Profile
      - name: Activeloop-Api-Version
        in: header
        required: false
        schema:
          $ref: '#/components/schemas/ApiVersion'
          title: Activeloop API Version
          description: Controls which version of the Activeloop API gets used to execute client Requests. Leaving this out will default to the oldest currently supported API behavior.<br>`2024-02-10` is equivalent to omitting this header entirely as it is the oldest version.
          default: '2024-02-10'
        description: Controls which version of the Activeloop API gets used to execute client Requests. Leaving this out will default to the oldest currently supported API behavior.<br>`2024-02-10` is equivalent to omitting this header entirely as it is the oldest version.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserCreateTokenModel'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserApiTokenResponseModel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Credentials
      summary: Get User Api Tokens
      description: Get a list of api tokens for the user
      operationId: get_user_api_tokens_api_users_me_tokens_get
      security:
      - HTTPBearer: []
      parameters:
      - name: hard_fail
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Hard Fail
      - name: require_profile
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Require Profile
      - name: Activeloop-Api-Version
        in: header
        required: false
        schema:
          $ref: '#/components/schemas/ApiVersion'
          title: Activeloop API Version
          description: Controls which version of the Activeloop API gets used to execute client Requests. Leaving this out will default to the oldest currently supported API behavior.<br>`2024-02-10` is equivalent to omitting this header entirely as it is the oldest version.
          default: '2024-02-10'
        description: Controls which version of the Activeloop API gets used to execute client Requests. Leaving this out will default to the oldest currently supported API behavior.<br>`2024-02-10` is equivalent to omitting this header entirely as it is the oldest version.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserApiTokenResponseModel'
                title: Response Get User Api Tokens Api Users Me Tokens Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    UserShortTermApiTokenModel:
      properties:
        duration:
          type: integer
          title: Duration
        expiration:
          type: number
          title: Expiration
        token:
          type: string
          title: Token
        version:
          anyOf:
          - type: integer
          - type: 'null'
          title: Version
      type: object
      required:
      - duration
      - expiration
      - token
      title: UserShortTermApiTokenModel
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ApiVersion:
      type: string
      enum:
      - '2024-02-10'
      - '2024-10-01'
      title: ApiVersion
    UserApiTokenModel:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        duration:
          type: integer
          title: Duration
        expiration:
          type: number
          title: Expiration
        token:
          type: string
          title: Token
        organization_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Organization Id
        version:
          anyOf:
          - type: integer
          - type: 'null'
          title: Version
      type: object
      required:
      - name
      - duration
      - expiration
      - token
      title: UserApiTokenModel
    UserCreateShortTermTokenModel:
      properties:
        duration:
          type: integer
          maximum: 900.0
          title: Duration
          default: 600
        version:
          anyOf:
          - type: integer
          - type: 'null'
          title: Version
          default: 4
        tenant:
          anyOf:
          - $ref: '#/components/schemas/V4ApiTokenTenant'
          - type: 'null'
          default: activeloop
        tenant_signature:
          anyOf:
          - type: string
          - type: 'null'
          title: Tenant Signature
      type: object
      title: UserCreateShortTermTokenModel
    V4ApiTokenTenant:
      type: string
      enum:
      - activeloop
      - arcee
      title: V4ApiTokenTenant
    UserCreateTokenModel:
      properties:
        code:
          anyOf:
          - type: string
          - type: 'null'
          title: Code
          description: 'DEPRECATED: Was used to get access code to obtain Auth0 refresh token.'
        name:
          type: string
          title: Name
        duration:
          type: integer
          title: Duration
        organization_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Organization Id
        version:
          anyOf:
          - type: integer
          - type: 'null'
          title: Version
          description: 'DEPRECATED: Allways use version >=3. Kept 1 as default to correctly parse exsiting db items.'
          default: 1
      type: object
      required:
      - name
      - duration
      title: UserCreateTokenModel
    UserApiTokenResponseModel:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        duration:
          type: integer
          title: Duration
        expiration:
          type: number
          title: Expiration
        token:
          type: string
          title: Token
        organization_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Organization Id
        version:
          anyOf:
          - type: integer
          - type: 'null'
          title: Version
        expire_message:
          type: boolean
          title: Expire Message
        expire:
          type: boolean
          title: Expire
      type: string
      required:
      - name
      - duration
      - expiration
      - token
      title: UserApiTokenResponseModel
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-provenance:
  method: harvested
  publisher: Activeloop
  source: https://app.activeloop.ai/api/openapi.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)